cancel
Showing results for 
Search instead for 
Did you mean: 

Keep Getting error called android.permission.Read_phone_state.

UltimaVYT
Explorer

Screenshot (2).pngIF ANYONE KNOWS A FIX COMMENT ON THIS POST

11 REPLIES 11

Thanks for the reply, but this didn't help, unfortunately. I have no manifests in the project, everything is generated. No `jar` or `aar` files introduce any user permission. It seems that permissions are introduced while generating APK from gradle.
Anyway, your previous post is a good enough workaround, I just wanted to see if it is possible to skip this manual work of removing user permissions from gradle proj.
Tnx for your time!

nalex66
MVP
MVP

I was getting this error while trying to push an update to my demo. What worked for me was to edit the manifest file that the Meta tool generates (in Assets/Plugins/Android/AndroidManifest.xml), and add the following line:

<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" /> as the last line before </manifest>.