android / car-samples

Multiple samples showing best practices for car app development on both Android Auto and Android Automotive OS.
Apache License 2.0
358 stars 166 forks source link

Places needs Permission. No way to grant them #18

Open PatrickMi opened 3 years ago

PatrickMi commented 3 years ago

Hello, when I try to start the Android Auto places example App I get the error that my App does not have the needed permission but I also haven't found a way to grant those permissions. Can anybody help me? Here are two Screenshots of the Error I get. The needed permission is Android.permission.ACCESS_FINE_LOCATION:

Bildschirmfoto 2021-07-16 um 14 47 58 Bildschirmfoto 2021-07-16 um 14 48 07

Thanks in advance if you can help me :)

Feelynx commented 3 years ago

@PatrickMi Same problem here. I solved the issue granting the geolocalization permissions mobile app side.

The android.permission.ACCESS_FINE_LOCATION in manifest is compatible with all SDK versions but became dangerous permission in Android M and requires user to manually grant it. Hope to be useful!

Have a good day!