I am developing an android application Api level 8.
Now I would like to know about where is the actual jar (not the 'android.jar' Api jar included in the project) file that contains the execution body, i.e The implementation jar file of 'android.jar.
I searched a lot through the android sdk installation directory but no such jar file was found. Does any jar file exist for this purpose? If not, then how does the android virtual device execute the source code?
Thanks.
you can find the platforms android.jar file here, ..\android-sdk-windows\platforms\android-15
.
The platforms jar is different from the emulators jar as the later contains the hidden & internal API as well.
If you want the implementation class files, you will have to pull the jar file from the emulator of that platform.
In higher API levels you might also have to de-compile dex or odex files to class files.
More information here.
I hope this will help..
The jar files and the class files are never needed .Your code when converted to apk is not converted into different classes and jars but apks.If open you see apk file (they are just zip files) you will see no jars and classes .they are converted to dex files. Remember Android does not uses JVM but uses DVM thats optimized of Moblie use.(If i have understood what you want)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With