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 Tuesday, October 18, 2016 at 9:35:50 PM UTC+5:30, San Wu wrote:
>
> Hi all,
>
> I write some local modules in my local Android M and it's fine to add the 
> flags LOCAL_JACK_ENABLED=disabled. 
> But now, It is Failed in Android N.
> ==============
> However, I do some experiment at the N default projects (ex: Launcher3 at 
> packages/apps), the results are also failed.
>
> How can disable Jack compiler at Android N? Or is it the limitation in 
> currently !? (Do Anybody know the related annotations or news???)
>
> Many thanks for helps.  Cheers.
>

-- 
-- 
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.

Reply via email to