Reputation: 3
In the desktop it runs normally with the license key. After run ./gradlew androidInstall when I open the app (in my LG G4) it crashes!!
I await for your replay,
Eder Maciel Martelo
Upvotes: 0
Views: 395
Reputation: 45476
Based on your stacktrace:
Not granting permission android.permission.MANAGE_DOCUMENTS
reveals that you are not assigning the required permissions on your AndroidManifest.xml
file.
By default, the plugin creates a manifest with this permissions:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
In case you require additional permissions or you want to remove them if they are not necessary, you just need to edit the file /src/android/AndroidManifest.xml
, and modify it accordingly:
...
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS"/>
Finally, save, and deploy again.
Upvotes: 1