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: 200
  • 2018-08-06_1309.png
    2018-08-06_1309.png
    78.3 KB · Views: 193
  • 2018-08-06_1308.png
    2018-08-06_1308.png
    147.9 KB · Views: 200
  • 2018-08-06_1307.png
    2018-08-06_1307.png
    16.9 KB · Views: 216
  • 2018-08-06_1314.png
    2018-08-06_1314.png
    34.6 KB · Views: 193

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: 194
  • 2018-08-06_1333.png
    2018-08-06_1333.png
    62 KB · Views: 207
  • 2018-08-06_1333_001.png
    2018-08-06_1333_001.png
    10.1 KB · Views: 201
  • 2018-08-06_1334.png
    2018-08-06_1334.png
    52.1 KB · Views: 204
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: 203
  • 2018-08-07_0942_001.png
    2018-08-07_0942_001.png
    43 KB · Views: 213
  • 2018-08-07_0942.png
    2018-08-07_0942.png
    57.1 KB · Views: 202
  • 2018-08-07_0941.png
    2018-08-07_0941.png
    45.6 KB · Views: 208
  • 2018-08-07_0943_001.png
    2018-08-07_0943_001.png
    26.7 KB · Views: 205
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