I am running Android Studio 1.3.2 on a Macbook with Yosemite. When I try to generate Javadoc for my project I get a lot of errors starting with the few lines below. I tried adding the command line arguments: -bootclasspath /Users/marcusreynolds/android-sdks/platforms/android-22 but this didn't help. I have the same version of Android Studio running on Windows 7 and the Javadoc generation works fine. Any idea of what the problem is? Thanks!
/Users/marcusreynolds/android-sdks/sources/android-22/java/lang/Class.java:36: error: cannot find symbol import dalvik.system.VMStack;
^
symbol: class VMStack location: package dalvik.system
/Users/marcusreynolds/android-sdks/sources/android-22/java/lang/Class.java:59: error: package libcore.reflect does not exist import libcore.reflect.AnnotationAccess;
^
/Users/marcusreynolds/android-sdks/sources/android-22/java/lang/Class.java:60: error: package libcore.reflect does not exist import libcore.reflect.GenericSignatureParser;
^
/Users/marcusreynolds/android-sdks/sources/android-22/java/lang/Class.java:61: error: package libcore.reflect does not exist import libcore.reflect.InternalNames;
It's look like you have problem with Android sdk. Do you sure that you install Android Studio and android-sdk correctly and do you use Mac version of both? If yes, try to reinstall Android Studio and android-sdk again, may be it's help you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.