Hi,

It seems that you cannot use this option with Android 7.1.1. I receive an 
error 'ninja: error: unknown target 'javac-check-services''. Moreover, I do 
not see such a target in Android.mk file for services. Could you please 
explain in details how to generate jar files (with java compiled classes 
inside)?

On Friday, January 13, 2017 at 10:29:43 PM UTC+3, John Kelley wrote:
>
> 'm' is a command that becomes available to you once you source 
> build/envsetup.sh in your shell and lunch has been run to specify your 
> target. Additional commands are show by running the 'hmm' command
>
> On Thursday, January 12, 2017 at 7:39:23 AM UTC-8, 李大明 wrote:
>>
>> Hi, 
>>
>>    I am not sure how to use 'm -j java-check'. Could you specify more 
>> details?
>>
>> Dan Willemsen於 2017年1月7日星期六 UTC+8上午2時43分12秒寫道:
>>>
>>> Jack is required in N. You can *also* build most modules with javac 
>>> using the 'm -j javac-check' command (or javac-check-$(LOCAL_MODULE)), but 
>>> that is just for analyzer usage, not for installation onto the device.
>>>
>>> - Dan
>>>
>>> On Fri, Jan 6, 2017 at 9:13 AM Pankaj Kumar <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Did you get any solution to disable the jack ?
>>>>
>>>>
>>>> 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.
>>>>
>>>

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