Android Question Error when I use RuntimePermissions

DactilPlus

Member
Licensed User
Longtime User
I have a app, running one year ago, but now I put targetSDKversion to 26.

Now I need get permision for location (access_fine_location) with RuntimePermissions, but when I use this library it gives me this error with a lot of gmaps functions.
objects Latlng, camperaposition ...


B4X:
B4A Versión: 8.30
Parseando código.    (0.16s)
Compilando código    (0.33s)
Compilado código de diseños    (0.01s)
Organizando librerías.    (0.00s)
Generando el fichero R.    (0.64s)
Compilando el código del motor de depuración.    (3.49s)
Compilando el código Java generado.    Error
B4A line: 1842
points_gr.Add(aaa_gr)
javac 1.8.0_73
src\teamTrackplus\app\main.java:14596: error: cannot access LatLng
_points_gr.Add((Object)(_aaa_gr.getObject()));
                                         ^
  class file for com.google.android.gms.maps.model.LatLng not found

See the images please.
 

Attachments

  • 2018-08-06_1311.png
    2018-08-06_1311.png
    33.6 KB · Views: 265
  • 2018-08-06_1309.png
    2018-08-06_1309.png
    78.3 KB · Views: 257
  • 2018-08-06_1308.png
    2018-08-06_1308.png
    147.9 KB · Views: 265
  • 2018-08-06_1307.png
    2018-08-06_1307.png
    16.9 KB · Views: 285
  • 2018-08-06_1314.png
    2018-08-06_1314.png
    34.6 KB · Views: 255

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

DactilPlus

Member
Licensed User
Longtime User
I also tried. But it gives me Error.
 

Attachments

  • 2018-08-06_1332.png
    2018-08-06_1332.png
    45.4 KB · Views: 253
  • 2018-08-06_1333_001.png
    2018-08-06_1333_001.png
    10.1 KB · Views: 259
  • 2018-08-06_1333.png
    2018-08-06_1333.png
    62 KB · Views: 265
  • 2018-08-06_1334.png
    2018-08-06_1334.png
    52.1 KB · Views: 269
Upvote 0

DactilPlus

Member
Licensed User
Longtime User
I did and it dont works.

Where can be the error ?
 

Attachments

  • 2018-08-07_0943.png
    2018-08-07_0943.png
    9.2 KB · Views: 263
  • 2018-08-07_0942_001.png
    2018-08-07_0942_001.png
    43 KB · Views: 271
  • 2018-08-07_0942.png
    2018-08-07_0942.png
    57.1 KB · Views: 269
  • 2018-08-07_0941.png
    2018-08-07_0941.png
    45.6 KB · Views: 263
  • 2018-08-07_0943_001.png
    2018-08-07_0943_001.png
    26.7 KB · Views: 266
Upvote 0

DactilPlus

Member
Licensed User
Longtime User
probably in the fact that you are reusing an old sdk installation.
See my answer in Post #2
Hi DonMafred, I updated all I saw. But I didnt update the SDK, you was right. Now the project based on Google Maps tutorial works. I will tray in the real proyect.

Thanks a lot.
 
Upvote 0
Top