Reputation: 24068
In my android project manifest, Android Studio gives an inspection error in a android:uses-permission
element. But app successfully compiles.
What is the meaning of this inspection? How can I correct it?
Upvotes: 13
Views: 6634
Reputation: 245
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
This also works
Upvotes: 1
Reputation: 1173
You can see the error based on first three lines. Delete android: part from line. Write:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
instead of:
<android:uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Upvotes: 30