R RVP Active Member Licensed User Longtime User Jul 27, 2016 #1 I have been reading threads for a couple of hours now, and am not getting this correct. I am trying to use the FusedLocationProvider Library (V1.31) and I get an error when I try to compile Code: Copy Copying libraries resources Error Could not find file 'C:\Program Files (x86)\Anywhere Software\Basic4android\libraries\google-play-services.jar'. I have installed Google Repository 31 and Android Support Repository 35 I have the following in my Manifest Code: Copy '************ Google Play Services Base ************ AddApplicationText( <activity android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:exported="false"/> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> ) '************ Google Play Services Base (end) ************ And the following in my Main Code: Copy #AdditionalJar: com.google.android.gms:play-services-location #ExcludeClasses: .games, .drive, .ads, .fitness, .wearable, .measurement, .cast, .auth, .nearby #ExcludeClasses: .tagmanager, .analytics, .wallet, .plus, .vision, .gcm, .maps, .panorama I cannot find the referenced google-play-services.jar anywhere in the android folder and as I understand it, it should not be required with 6.0 in any case. What am I missing?
I have been reading threads for a couple of hours now, and am not getting this correct. I am trying to use the FusedLocationProvider Library (V1.31) and I get an error when I try to compile Code: Copy Copying libraries resources Error Could not find file 'C:\Program Files (x86)\Anywhere Software\Basic4android\libraries\google-play-services.jar'. I have installed Google Repository 31 and Android Support Repository 35 I have the following in my Manifest Code: Copy '************ Google Play Services Base ************ AddApplicationText( <activity android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:exported="false"/> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> ) '************ Google Play Services Base (end) ************ And the following in my Main Code: Copy #AdditionalJar: com.google.android.gms:play-services-location #ExcludeClasses: .games, .drive, .ads, .fitness, .wearable, .measurement, .cast, .auth, .nearby #ExcludeClasses: .tagmanager, .analytics, .wallet, .plus, .vision, .gcm, .maps, .panorama I cannot find the referenced google-play-services.jar anywhere in the android folder and as I understand it, it should not be required with 6.0 in any case. What am I missing?
DonManfred Expert Licensed User Longtime User Jul 27, 2016 #2 RVP said: What am I missing? Click to expand... i think you forget to install the two repositories in sdk manager (see b4a 6 setup guide)? Additional you can remove the exludeclasses as the maven repos are splitted already. Erel said: It is recommended to switch from referencing the complete google play services to referencing the required features. Overall it is simpler as the #AdditionalRes and #ExcludeClasses are no longer required. Click to expand... Upvote 0
RVP said: What am I missing? Click to expand... i think you forget to install the two repositories in sdk manager (see b4a 6 setup guide)? Additional you can remove the exludeclasses as the maven repos are splitted already. Erel said: It is recommended to switch from referencing the complete google play services to referencing the required features. Overall it is simpler as the #AdditionalRes and #ExcludeClasses are no longer required. Click to expand...
DonManfred Expert Licensed User Longtime User Jul 27, 2016 #4 RVP said: FusedLocationProvider Library Click to expand... You have seen this post? https://www.b4x.com/android/forum/threads/fusedlocationprovider.50614/page-8#post-437145 Upvote 0
RVP said: FusedLocationProvider Library Click to expand... You have seen this post? https://www.b4x.com/android/forum/threads/fusedlocationprovider.50614/page-8#post-437145
R RVP Active Member Licensed User Longtime User Jul 27, 2016 #5 Well I had downloaded the new library, but I forgot to remove it from my project and add it back in. It is working now. Thanks Upvote 0
Well I had downloaded the new library, but I forgot to remove it from my project and add it back in. It is working now. Thanks