Update
After a long time, It turned out that it must have anything to do with proguard. I can´t really say what exactly the error causes, but I tried a little bit and that´s what I noticed (that´s in my case with Eclipse IDE):
- I have to close every tab from the project I want to sign
- I have to clean the project and after cleaning, do nothing but export the apk
- Making a small change in manifest, save it and undo the change (and save)
- If there is any class in manifest named with
"YourClass"
or".YourClass"
, change it to"com.yourpackage.yourClass"
That are the four points I have done and then it worked. This looks suspicious, but I think there is a problem with obfuscating. Because without doing these points, I can simply compile my apk and install it from eclipse. For me, there is no obvious reason for this behavior.
Also the package name does work without a change if I only install it from eclipse.
I hope these points can help somebody.