After lot of investigation i could make it working. Checked in 7.1.1 Android N.
You need to make use of javac-check target. This has been implemented for this purpose. make javac-check-$(LOCAL_MODULE) So, if your module name is "ABCD" make javac-check-ABCD This generates a classes-full-debug.jar, in the common\obj\JAVA_LIBRARIES\ABCD_intermediates. This is the jar which you can use in your Studio environment. Most important, this solution is not yet visible in any of the tags on Android N branch. It is part of the master hence you need to add this solution to your branch manually. https://android.googlesource.com/platform/build/+/32bd0adf9c5dcd1560d77bdb886c7acc78496657 On Wednesday, January 4, 2017 at 10:36:04 AM UTC+5:30, 李大明 wrote: > > > Is it possible to disable JackServer in Android N? I have tried > several ways but still have no luck. > > We want to use static source analyzer to analyze several modules we > created, it need "javac" in its build log so we just want to disable > JackServer. > > In Android.mk, specify LOCAL_JACK_ENABLED := disabled and mm this module > cause build fail. > Put DEFAULT_JACK_ENABLED:= false in BoardConfig.mk also build fails. > > Is this any way to disable Jack-server in Android N? > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
