apktool -version) -None
Include stacktrace here
None
apktoolapktool d will be success, but apktoolb will show the problem, easy to reproduce.
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
None
If this APK can be freely shared, please upload/attach a link to it.
https://www.lanzous.com/i54do4f
apktool d, apktool b without changing anything?If you are trying to install a modified apk, did you resign it?
apktool b not successful.
Are you using the latest apktool version?
Not tried 2.4.1 yet.
Already fixed here: https://github.com/iBotPeaches/Apktool/commit/c2065995ed5d4e1b69b701c27a0f02f49e528d7b
Will be in 2.4.1
Nice work, expecting 2.4.1
I can confirm that the issue was fixed with c206599.
Attached you can find a build using the latest commit till now (683fef3) if you can't wait for a release.
apktool-cli.tar.gz
@iBotPeaches Travis CI doesn't store any artifacts for this project: is it possible to change that? It will be nice to have the latest build available on Travis (which could be in turn used for android-apktool or android-apktool-git)
Hey @denysvitali and @iBotPeaches
I used the jar file you had included in the above comment because of the isSplitRequired error while recompiling the APK.
Unfortunately, I am getting the same error. Can you please let me know what to do?

@ifengchao did 2.4.1 work for you?
@gameFace22 Can you delete the framework file and try again?
rm /Users/nshaanth/Library/apktool/framework/1.apk
Hello, i'm getting the same error..
Facing the same issue,
edit:1
attached error,

edit:2
FIX:
remove all instance of "split" from androidManifest, then try building with 2.4.0.
_Personally this worked for me:_
go to this commit id c206599
download the android-framework.jar file & then do
apktool_2.4.0.jar if android-framework.jar
then try building with 2.4.0.
(use the framework file from latest build tools imo)
edit:3
as pointed out by @zlrab, is not installing,
remove all instance of "split" from androidManifest, then try building with 2.4.0.
Facing the same issue,
- the build provided by @denysvitali did not work,
- tried deleting the framework file too.
edit:1
attached error,
edit:2
FIX:
remove all instance of "split" from androidManifest, then try building with 2.4.0.(or)
go to this commit id c206599 download the android-framework.jar file & then do
apktool_2.4.0.jar if android-framework.jar
Your two solutions can make apktool2.4.0 build successfully,
remove isSplitRequired attr
apktool_2.4.0.jar if android-framework.jar
but the generated apk can't be installed on your phone.error:Failure [INSTALL_FAILED_INVALID_APK]
@Gopinath001 The problem is solved,Detailed plan:
Edit AndroidManifest.xml
android:isSplitRequired="true"
android:extractNativeLibs="false"
//Optional
android:networkSecurityConfig="@xml/network_security_config"
<meta-data android:name="com.android.vending.splits.required" android:value="true"/>
new:
<meta-data android:name="com.android.vending.splits.required" android:value="base"/>
When can we expect 2.4.1 to be released?
Facing the same issue,
- the build provided by @denysvitali did not work,
- tried deleting the framework file too.
edit:1
attached error,
edit:2
FIX:
remove all instance of "split" from androidManifest, then try building with 2.4.0.
(or)
go to this commit id c206599 download the android-framework.jar file & then do
apktool_2.4.0.jar if android-framework.jarYour two solutions can make apktool2.4.0 build successfully,
remove isSplitRequired attr apktool_2.4.0.jar if android-framework.jarbut the generated apk can't be installed on your phone.error:
Failure [INSTALL_FAILED_INVALID_APK]@Gopinath001 The problem is solved,Detailed plan:
Edit AndroidManifest.xml
- delete the following node properties on the Application:
android:isSplitRequired="true" android:extractNativeLibs="false" //Optional android:networkSecurityConfig="@xml/network_security_config"
- Edit as follows,ture modified to base
old:<meta-data android:name="com.android.vending.splits.required" android:value="true"/>new:
<meta-data android:name="com.android.vending.splits.required" android:value="base"/>
- Use apktool2.4.0 to build the project and install it successfully
Thanks, you solved my problem!
I use apktool 2.4.1 but are still faced with this problem, and I tried you method, it worked!
Most helpful comment
Your two solutions can make apktool2.4.0 build successfully,
but the generated apk can't be installed on your phone.error:
Failure [INSTALL_FAILED_INVALID_APK]@Gopinath001 The problem is solved,Detailed plan:
Edit AndroidManifest.xml
old:
new: