Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.SecurityException: uid 10159 does not have android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION. #7

Open
Nemasio opened this issue Dec 29, 2020 · 2 comments

Comments

@Nemasio
Copy link

Nemasio commented Dec 29, 2020

Hello, i have this error ocurring:

java.lang.SecurityException: uid 10159 does not have android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION.

I allready added this to the androidManifest in the same place where you ask por internet permissions.

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>

I also allready did flutter clean, several times, and still have the same issue.
I have Flutter sdk 1.20.4

I add a partial loging:
I/RootBeer(24900): LOOKING FOR BINARY: /data/local/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /data/local/bin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /data/local/xbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /sbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /su/bin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/bin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/bin/.ext/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/bin/failsafe/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/sd/xbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/usr/we-need-root/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /system/xbin/su Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /cachesu Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /datasu Absent :( I/RootBeer(24900): LOOKING FOR BINARY: /devsu Absent :( E/MethodChannel#trust_fall(24900): Failed to handle method call E/MethodChannel#trust_fall(24900): java.lang.SecurityException: uid 10160 does not have android.permission.ACCESS_COARSE_LOCATION or android.permission.ACCESS_FINE_LOCATION.

Please Help, thnx !

@wisnuwiry
Copy link

Same issue, Please @anish-adm fix this issue. Thanks..

@ufukhawk
Copy link

ufukhawk commented Jun 8, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants