简体   繁体   中英

Compile Java API package source code in Android API Level 22 Lollipop into class byte code files?

How do I compile Java API packages (eg Java.lang) source code in Android API Level 22 (Lollipop) into class byte code? Thank you!

UPDATE: Adding more info. Sorry the question was poorly formatted earlier. I am working on a hardware platform for IoT and need the Java packages into a different platform and need class files in the process.

It sounds like you are trying to compile the "luni" folder in the Android src. You can run javac with the proper classpath against all the java files in that folder. That should work.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM