Skip to content Skip to sidebar Skip to footer

Which Deployed Jar Contains Android.os.systemclock?

I am trying to run a simple command line java application on dalvikvm using the these instructions. I am running as root so it is not a permissions issue. Here is the application c

Solution 1:

On my device (HTC One M8) android.os.SystemClock is in /system/framework/framework3.jar. I believe framework is separated into multiple jars because of the 65k method limit on classes.dex. android.os.SystemClock may be in a different jar on different android devices.

Steps I used to find where android.os.SystemClock was located:

adb pull /system/framework/<filename>.jar

I then decompiled classes.dex to a jar with DexToJar and viewed the packages inside the jar using JD-GUI (you could just open it as a ZIP file, jd-gui is not necessary and for windows only)

Post a Comment for "Which Deployed Jar Contains Android.os.systemclock?"