Point of reference:
I added play-services 4.2.42 to my library dependencies, added a similar
line into AndroidManifest.xml referencing
@integer/google_play_services_version. 1 point to note, ignore any error
intellij gives about not being able to find the value, aar/apklib resources
and intellij do not play nicely at the moment
My build log:
Notice the interesting lines:
[info] downloading
file:/C:/Users/pfnguyen/android-sdk-windows/extras/google/m2repository/com/google/android/gms/play-services/4.2.42/play-services-4.2.42.aar
...
[info] [SUCCESSFUL ]
com.google.android.gms#play-services;4.2.42!play-services.aar (30ms)
[info] Done updating.
[info] Unpacking aar: play-services-4.2.42.aar to
com.google.android.gms-play-services-4.2.42
> compile
[info] Updating {file:/C:/Users/pfnguyen/src/keepshare/}keepshare...
[info] Resolving keepassdroid#keepassdroid;0.1-SNAPSHOT ...
[info] Resolving org.scala-lang#scala-library;2.9.2 ...
[info] Resolving
com.google.apis#google-api-services-drive;v2-rev96-1.16.0-rc ...
[info] Resolving com.google.api-client#google-api-client-android;1.16.0-rc
...
[info] Resolving com.google.api-client#google-api-client;1.16.0-rc ...
[info] Resolving com.google.http-client#google-http-client;1.16.0-rc ...
[info] Resolving com.google.http-client#google-http-client-gson;1.16.0-rc
...
[info] Resolving
com.google.http-client#google-http-client-android;1.16.0-rc ...
[info] Resolving com.google.oauth-client#google-oauth-client;1.16.0-rc ...
[info] Resolving com.google.code.findbugs#jsr305;2.0.1 ...
[info] Resolving com.google.code.gson#gson;2.2.4 ...
[info] Resolving com.android.support#support-v4;18.0.0 ...
[info] Resolving com.google.android.gms#play-services;4.2.42 ...
[info] Resolving com.android.support#support-v4;19.0.1 ...
[info] downloading
file:/C:/Users/pfnguyen/android-sdk-windows/extras/google/m2repository/com/google/android/gms/play-services/4.2.42/play-services-4.2.42.aar
...
[info] [SUCCESSFUL ]
com.google.android.gms#play-services;4.2.42!play-services.aar (30ms)
[info] Done updating.
[info] Unpacking aar: play-services-4.2.42.aar to
com.google.android.gms-play-services-4.2.42
[info] Generating R.java
[info] Collecting resources
[info] Performing full resource merge
[info] Generating R.java
[info] Rebuilding all classes because R.java has changed
[info] Regenerating TR.scala because R.java has changed
[warn] toggle_button was reassigned: android.widget.ToggleButton =>
android.widget.Switch
[warn] entry_url was reassigned: android.widget.EditText =>
com.keepassdroid.view.TextViewSelect => android.widget.TextView
[warn] entry_user_name was reassigned: android.widget.EditText =>
com.keepassdroid.view.TextViewSelect => android.widget.TextView
[warn] entry_password was reassigned: android.widget.EditText =>
com.keepassdroid.view.TextViewSelect => android.widget.TextView
[warn] icon was reassigned: android.widget.ImageView =>
android.widget.LinearLayout
[warn] entry_comment was reassigned: android.widget.EditText =>
com.keepassdroid.view.TextViewSelect => android.widget.TextView
[warn] group_name was reassigned: android.widget.EditText =>
android.widget.TextView
[warn] file_filename was reassigned: android.widget.TextView =>
android.widget.EditText
[warn] entry_scroll was reassigned: com.keepassdroid.view.NoFocusScrollView
=> android.widget.ScrollView => android.widget.ScrollView
[warn] entry_title was reassigned: android.widget.EditText =>
android.widget.TextView => android.widget.TextView
[warn] title was reassigned: android.widget.EditText =>
android.widget.TextView => android.widget.TextView
[warn] value was reassigned: android.widget.EditText =>
com.keepassdroid.view.TextViewSelect => android.widget.TextView
[info] Compiling 14 Scala sources and 5 Java sources to
C:\Users\pfnguyen\src\keepshare\target\android-bin\classes...
[warn] there were 2 deprecation warnings; re-run with -deprecation for
details
[warn] one warning found
[success] Total time: 19 s, completed Mar 7, 2014 1:20:21 PM
--
You received this message because you are subscribed to the Google Groups
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.