lnln1111 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

problem with new android plugin #328

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
there is problem with new android plugin. if you build your project in eclipse 
that has newest android plugin (v18), and then if you try it with apktool, it 
crashes

What steps will reproduce the problem?
1. deploy your application
2. decompile it with apktool
3. try to compile again and it crashes

you should try it with v18 android plugin.

after my tries, I found the causes. 

causes is about annotation. eclipse adds some annotation class in apk even I 
dont create any new annotation. and if you try to compile again with that 
annonation classes, compiling crashes. 
for workaround, you can delete "smali\android\annotation" folder and you can 
compile again.

Original issue reported on code.google.com by adem...@gmail.com on 15 May 2012 at 8:45

GoogleCodeExporter commented 9 years ago
Is this a problem if you use smali/backsmali v1.4.0?

Original comment by connor.tumbleson on 16 Nov 2012 at 1:11

GoogleCodeExporter commented 9 years ago
no i didnt try it. but now, I m using obfuscation. so , tool (proguard) removes 
annotation library. so it doesnt make problem to me

Original comment by adem...@gmail.com on 16 Nov 2012 at 1:19

GoogleCodeExporter commented 9 years ago
Sounds good. I'm gonna close this then, since I still have about 300 reports to 
go through.

Original comment by connor.tumbleson on 17 Nov 2012 at 6:15