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.

Resource entry already has bag item (double entity)

See original GitHub issue

Information

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

Stacktrace/Logcat

W: E:\ANDROID-G\AndroidDEV\AdvancedApkTool\3-Out\framework-res.apk\res\values\styles.xml:2452: error: Resource entry Theme.DeviceDefault already has bag item dropdownListPreferredItemHeight. W: E:\ANDROID-G\AndroidDEV\AdvancedApkTool\3-Out\framework-res.apk\res\values\styles.xml:2451: Originally defined here.


### Steps to Reproduce
1. apktool if framework-res.apk
2. apktool d framework-res.apk
3. apktool b framework-res

### Questions to ask before submission
1. Have you tried `apktool d`, `apktool b` without changing anything?
2. If you are trying to install a modified apk, did you resign it?
3. Are you using the latest apktool version?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ingbrzycommented, Oct 29, 2018

just delete doubles…

1reaction
FriendlyNeighborhoodShanecommented, Jan 20, 2022

Have experienced the same thing happening while recompiling Phonesky/PlayStore from here, making no changes.

--use-aapt2 fixes the issue but then I face a different problem, resource android:color/[...] is private. I suspect that one may be fixed by https://github.com/iBotPeaches/Apktool/pull/2650.

apktool 2.6.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - Resource entry already has bag item (double entity) -
Coming soon: A brand new website interface for an even better experience!
Read more >
How to resolve Resource entry already defined - Stack Overflow
I am using aosp and after running the command: make 2>&1 | tee build-log.txt. I am getting lots of errors, such as:
Read more >
Spring Batch - Reference Documentation
Now that v5 has Java 17 as a baseline, we have improved records support in Spring Batch by leveraging the Record API in...
Read more >
USP General Chapter <800> Hazardous Drugs – Handling in ...
An entity must maintain a list of HDs, which must include any items on the current NIOSH list that the entity han- dles....
Read more >
State Operations Manual Appendix A - Survey Protocol ... - CMS
For example, if the hospital has swing-beds, a PPS excluded ... consume several man hours of allocated survey time and resources that are...
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