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<number>".
> Before android-m, I can make classes.jar with just "mm" on library folder.
> Thanks.
>
> 2016년 4월 19일 화요일 오후 12시 46분 45초 UTC+9, KYUNG HO KIM 님의 말:
>>
>> Hi,
>>
>> I used the *classes.jar* in intermediate folder for developing some 
>> applications on eclipse that including below static or shared java library. 
>> (eg. test, test2 lib)
>> The library used the android.mk, below.
>> But after I using android-M source, there's no classes.jar file in 
>> intermediate folder.
>>
>> How can I build the classes.jar as before?
>> Or how I can I build the jar file including class files when we build the 
>> static or shared java library on android build to use on eclipse or other 
>> java IDE??
>>
>>
>>
>> Android.mk
>> LOCAL_PATH:= $(call my-dir)
>>
>>
>> include $(CLEAR_VARS)
>> LOCAL_MODULE := test
>> LOCAL_MODULE_TAGS := optional
>> LOCAL_SRC_FILES := $(call all-java-files-under, src)
>> include $(BUILD_JAVA_LIBRARY) 
>>
>> include $(call all-makefiles-under,$(LOCAL_PATH))
>>
>> LOCAL_PATH:= $(call my-dir)
>>
>>
>> include $(CLEAR_VARS)
>> LOCAL_MODULE := test2
>> LOCAL_MODULE_TAGS := optional
>> LOCAL_SRC_FILES := $(call all-java-files-under, src)
>> include $(BUILD_STATIC_JAVA_LIBRARY) 
>>
>> include $(call all-makefiles-under,$(LOCAL_PATH))
>>
>>
>>
>> Thanks,
>> Casper
>>
>>
>>
>> [1/1] /home/vamsi/ctos/out/soong/.minibootstrap/minibp 
>> /home/vamsi/ctos/out/soong/.bootstrap/build.ninja
>> [55/56] glob prebuilts/ndk/stl.bp
>> [80/80] /home/vamsi/ctos/out/soong/.bootstrap/bin/soong_build 
>> /home/vamsi/ctos/out/soong/build.ninja
>> /home/vamsi/ctos/out/build-ctosp_hydrogen-cleanspec.ninja is missing, 
>> regenerating...
>> /home/vamsi/ctos/out/build-ctosp_hydrogen.ninja is missing, 
>> regenerating...
>> [535/951] including system/sepolicy/Android.mk ...
>> system/sepolicy/Android.mk:88: warning: Be careful when using the 
>> SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using 
>> it will not stop you from failing CTS.
>> [951/951] including vendor/xiaomi/msm8956-common/Android.mk ...
>> build/make/core/Makefile:28: warning: overriding commands for target 
>> `/home/vamsi/ctos/out/target/product/hydrogen/system/framework/qcrilhook.jar'
>> build/make/core/base_rules.mk:412: warning: ignoring old commands for 
>> target 
>> `/home/vamsi/ctos/out/target/product/hydrogen/system/framework/qcrilhook.jar'
>> [ 99% 5300/5301] glob 
>> vendor/qcom/opensource/interfaces/display/config/1.6/src
>> ninja: error: 
>> '/home/vamsi/ctos/out/target/common/obj/JAVA_LIBRARIES/sap-api-java-static_intermediates/classes-header.jar',
>>  
>> needed by 
>> '/home/vamsi/ctos/out/target/common/obj/APPS/Bluetooth_intermediates/classes-full-debug.jar',
>>  
>> missing and no known rule to make it
>> 12:22:20 ninja failed with: exit status 1
>>
>> #### failed to build some targets (02:13 (mm:ss)) ####
>>
>> having issue with 
missing sap-api-java-static_intermediates/classes-header.jar 

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