question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AndroidManifest.xml:17: error: No resource identifier found for attribute 'isSplitRequired' in package 'android'

See original GitHub issue

Information

  1. Apktool Version (apktool -version) - ver 2.4.0
  2. Operating System (Mac, Linux, Windows) - Win10
  3. APK From? (Playstore, ROM, Other) - Playstore

Stacktrace/Logcat

None

Include stacktrace here

None

Steps to Reproduce

  1. apktool

apktool d will be success, but apktool b will show the problem, easy to reproduce.

Frameworks

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

APK

If this APK can be freely shared, please upload/attach a link to it.

https://www.lanzous.com/i54do4f

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything? yes

  2. If you are trying to install a modified apk, did you resign it? apktool b not successful.

  3. Are you using the latest apktool version? Not tried 2.4.1 yet.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
zlrabcommented, Oct 11, 2019

Facing the same issue,

  • the build provided by @denysvitali did not work,
  • tried deleting the framework file too.

edit:1 attached error, rebuild 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

  1. delete the following node properties on the Application:
android:isSplitRequired="true"
android:extractNativeLibs="false" 
//Optional
android:networkSecurityConfig="@xml/network_security_config"
  1. 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"/>
  1. Use apktool2.4.0 to build the project and install it successfully
7reactions
iBotPeachescommented, Jul 30, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

No resource identifier found for attribute '...' in package 'com ...
I've imported a project from Eclipse to Android studio. It utilizes a custom view: xmlns ...
Read more >
Apktool.jar common errors and solutions - XDA Forums
No resource identifier found for attribute 'isSplitRequired' in package 'android' Split APK is not supported yet.
Read more >
No resource identifier found for attribute ****** when wrapping ...
We tried to use managed-app-utility.jar from the MAM SDK to wrap our Android app, but it gives us the following errors:.
Read more >
iBotPeaches/Apktool - Gitter
AndroidManifest.xml:43: error: No resource identifier found for attribute 'requestLegacyExternalStorage' in package 'android'.
Read more >
No resource identifier found for attribute 'TextView' in package ...
It is a short .xml file this error comes up in so here it is: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found