Question

I have seen some similar questions about this issue but no one leads to a solution. Resources are duplicated when apk is build, the apk is twice the size it should be. The apk installs and runs fine anyway.

But, what can I do about this? I using the latest ADT (Android Developer Tools). When I open the apk with winrar, I see the following duplicates (also there are duplicates in the root/res folder):

Here some directory contents in the apk: enter image description here

Was it helpful?

Solution

There is nothing wrong with your apk. It sometimes happens when something gets messed up in eclipse. I am exactly not sure what got up messed in your case. You can do following things to fix it:

  1. Copy your res folder somewhere outside your project.
  2. Then delete your res folder along with all the files inside it from eclipse.
  3. Then recreate res folder in eclipse and add the files from eclipse.

probably it should work.

OTHER TIPS

i have some solutions for you:

  1. reintall eclipse.
  2. verify your folder under eclipse
  3. Copy your res folder somewhere outside your project.

good luck ;)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top