Skip to content

Commit

Permalink
fix: android 14 file management permissions null error
Browse files Browse the repository at this point in the history
  • Loading branch information
wwxiaoqi committed Feb 8, 2024
1 parent dd60aca commit 274c031
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions apktool/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.a4455jkjh.apktool">

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="32"
tools:ignore="ScopedStorage" />
<!-- File management permissions -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />

<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<!-- Read the applied list permission -->
<uses-permission android:name="com.android.permission.GET_INSTALLED_APPS" />
<!-- Install application permissions -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />

<application
android:name=".ApktoolApplication"
Expand Down

0 comments on commit 274c031

Please sign in to comment.