문제

When I write in command line javap -s java.awt.Label, I succesfully get signatures for Label. Now I want to get signatures for Android Activity class. But if I write javap -s android.app.activity it results in ERROR: Could not find android.app.activity.

What am I doing wrong? Should I change something in PATH env var or whatever?

도움이 되었습니까?

해결책

Go to your apps directory and

javap -s -classpath bin/classes com.example.myActivity

Edit

for Android core classes add bootclasspath

javap -s -bootclasspath /opt/android-sdk/platforms/android-8/android.jar -classpath bin/classes android.app.Activity
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top