[android-building] Re: How to build intermediate classes.jar

2022-01-19 Thread Vaibhav S
Perfect answer!! For someone who's working with Android.bp files. Use *make javac-check-MODULE_NAME *to generate the classes.jar. And if you wanna use it in the Android.bp file, write a *java_import* module. Eg. java_import { name: "*random_jar_name*", jars: ["libs/classes.jar"], *//

[android-building] Re: How to build intermediate classes.jar

2019-02-11 Thread Vamsee Krishnaa
On Thursday, April 21, 2016 at 8:18:03 AM UTC+5:30, KYUNG HO KIM wrote: > > I'v found out that classes.jar has been made after build all android with > "make -j". > Before android-m, I can make classes.jar with just "mm" on library folder. > Thanks. > > 2016년 4월 19일 화요일 오후 12시 46분 45초 UTC+9,

[android-building] Re: How to build intermediate classes.jar

2017-08-14 Thread 杜宏羽
Thank you, I have solved the problem.but how can i get release version class.jar file? 在 2017年1月26日星期四 UTC+8上午12:58:12,Deepak Garg写道: > > in Android M, you can achieve that by using LOCAL_JACK_ENABLED = disabled > variable in your makefile. > > In Android N it is more tricky...it is broken and

[android-building] Re: How to build intermediate classes.jar

2017-01-25 Thread Deepak Garg
in Android M, you can achieve that by using LOCAL_JACK_ENABLED = disabled variable in your makefile. In Android N it is more tricky...it is broken and the solution to this is yet to come in AOSP mainline of Android N. Solution is available in master. Checked in 7.1.1 Android N. You need to

[android-building] Re: How to build intermediate classes.jar

2016-12-01 Thread pingkai pang
Hi Jiyong, Same issue. My I ask how we can build our own static library and share with others? In Android N, only generate .jack file, not classes.jar? On Tuesday, September 20, 2016 at 7:26:35 AM UTC-7, Jiyong Park wrote: > > From Android-M, the default compiler for java source code is