kuter007 / android-apktool

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

compilation error: java class with '.' #683

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to decode an apk, classes like a.2.smali are created.
When trying to decode on debug mode with -d flag, the created .java classes are 
a.2.java. Inside the java file the class is declared like "class a.2".
This class name is not legeal in my javac so i can't compile and run in debug 
mode. 
What steps will reproduce the problem?
1.apktool d -d some.apk
2.create and build project

What is the expected output? What do you see instead?
many compilation errers

What version of the product are you using? On what operating system?
Windows
Apktool v2.0.0-Beta9
Android Studio Beta 0.8.9
compiler - javac with jdk 1.7

Please provide any additional information below.

Original issue reported on code.google.com by netspark...@gmail.com on 29 Sep 2014 at 8:24

GoogleCodeExporter commented 9 years ago
This is improper usage. javac is never used in debug mode. Please read 
SmaliDebugging carefully. 

Original comment by connor.tumbleson on 30 Sep 2014 at 9:56