A abarnett Member Licensed User Longtime User Jul 31, 2019 #1 I have 2 almost identical android programs. 1 compiles fine but the other now does not. The error is src\b4a\iTrack\main.java:7466: error: package com.google.android.gms.maps does not exist mostCurrent._gextrad.SetTrafficEnabled((com.google.android.gms.maps.GoogleMap)(mostCurrent._gmapd.getObject()),anywheresoftware.b4a.keywords.Common.False); I added the barcode camera code(https://www.b4x.com/android/forum/threads/barcode-reader-based-on-google-play-services-vision.89705/) into this program and since then it will not compile. I have now taken this code out but still not compiling. I have cleaned project but still no luck. Any ideas where I should look.
I have 2 almost identical android programs. 1 compiles fine but the other now does not. The error is src\b4a\iTrack\main.java:7466: error: package com.google.android.gms.maps does not exist mostCurrent._gextrad.SetTrafficEnabled((com.google.android.gms.maps.GoogleMap)(mostCurrent._gmapd.getObject()),anywheresoftware.b4a.keywords.Common.False); I added the barcode camera code(https://www.b4x.com/android/forum/threads/barcode-reader-based-on-google-play-services-vision.89705/) into this program and since then it will not compile. I have now taken this code out but still not compiling. I have cleaned project but still no luck. Any ideas where I should look.
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2019 #2 Follow the tutorial and make sure that everything is set: https://www.b4x.com/android/forum/threads/google-maps.63930/#content Upvote 0
Follow the tutorial and make sure that everything is set: https://www.b4x.com/android/forum/threads/google-maps.63930/#content
A abarnett Member Licensed User Longtime User Jul 31, 2019 #3 I have found that if I remove the RuntimePermissions (Version 1.10) from the program that does not compile then it is fine !! Upvote 0
I have found that if I remove the RuntimePermissions (Version 1.10) from the program that does not compile then it is fine !!
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2019 #4 Make sure that this line is included: Code: Copy #AdditionalJar: com.google.android.gms:play-services-maps Upvote 0
Make sure that this line is included: Code: Copy #AdditionalJar: com.google.android.gms:play-services-maps
A abarnett Member Licensed User Longtime User Jul 31, 2019 #5 Thanks. Found problem I had the #AdditionalJar commented out because I had this line in which works but obviously not with other library functions. '#AdditionalRes: C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms I have removed this specific line and added the #AdditionalJar line. This program now compiles fine even with the RuntimePermissions Library included Thank you Erel Upvote 0
Thanks. Found problem I had the #AdditionalJar commented out because I had this line in which works but obviously not with other library functions. '#AdditionalRes: C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms I have removed this specific line and added the #AdditionalJar line. This program now compiles fine even with the RuntimePermissions Library included Thank you Erel