i want to get source code from apk and use this solution Android: Getting source code from an APK file
i try to dex file to jar and i used dex2jar; but cmd cannot recognize this command.
dex2jar classes.dex
"dex2jar is not recognized as an internal or external command"
is dex2jar deprecated?
what can i use to convert dex to jar?
How To Decompiling Or Editing Android's APK
step 1 : first apk file rename and last .zip to create zip file.
step 2 : then open *.zip file and classes.dex copy to dex2jar-0.0.9.9 folder.
step 3 : then folder on shift+right aerow and click open command window here.\
step 4 : then write on cmd in dex2jar classes.dex and enter press.
I found this from freeyourandroid.com thought i would share it.
(ADK 21, NDK r8d, Eclipse Juno)
[I've built several Android apps so decent experience using ADK/NDK etc]
Eclipse project setup
- AppProject (android, java, no jni)
- LibProject (android, java, Yes jni)
Previously, all of it was in one project - builds fine, runs fine, and native debugging worked great.
Then I split off the "reusable" portion to make a library of common code to use with
I am building an android application that references an external library.
The problem is that library uses java.beans.PropertyDescriptor and this causes Dalvik exception at runtime.
How can I solve this problem ? I found on another forum that it was possible to manipulate bytecode to load classes that are not known from Dalvik.
Any suggestions ?
Thanks
An & IcedRobot& project aims to develop a version of Android that will be beyond the reach of Oracle's lawsuit against Google regarding use of the Dalvik Virtual Machine. By adopting the OpenJDK implementation of Java, the project will further separate Dalvik from Android and create an Android variant that will be suitable for running on desktop PCs....
hi,
i actually just questioned myself and did some tests how various dalvik vm heapsizes and growthlimits perform on our device.
Most roms are on 128m heapsize, isnt this a bit too much?
which values are you using?
what do you think are the best values for our 512mb RAM?
OdexMe is an application that should work on any ROM with init.d support and busybox in /system/xbin.
"Odex Me" by Paulobrien! Here's the link to the original thread, all credit goes to him!
I am debugging an application with target android-17 (min version android-11).
The emulator I use has android 4.0.4, which is android-14 or android-15.
When I trace into android source methods, the debugger takes me to the android-17 source which is not the same as android-14 source code, so I end up following wrong code.