1、Android sdk全编译正常通过,现在需要单独编译setting,出现错误
我的编译方法是
首先 source build/envsetup.sh
其次 mmm ./packages/apps/Settings/
然后就出现如下错误
PRODUCT_COPY_FILES device/rockchip/common/fstab.rk30board.bootmode.unknown:root/fstab.rk30board.bootmode.unknown ignored.
PRODUCT_COPY_FILES device/rockchip/common/fstab.rk30board.bootmode.emmc:root/fstab.rk30board.bootmode.emmc ignored.
PRODUCT_COPY_FILES vendor/rockchip/common/nand/modules/arm/rk30xxnand_ko.ko.3.10.0:root/rk30xxnand_ko.ko.3.10.0 ignored.
make: Entering directory `/home/robot/android5.1'
target Java: Settings (out/target/common/obj/APPS/Settings_intermediates/classes)
/bin/bash: javac: command not found
make: *** [out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: Leaving directory `/home/robot/android5.1'
#### make failed to build some targets (1 seconds) ####
郁闷了,度娘也暂时找不到解决方法
后面请教大神,达到回复是尝试下 不用source build/envsetup.sh ,改用 . build.sh
然后 运行 mmm ./packages/apps/Settings/ 发现突然成功了。
s_MY my_MM nb_NO ne_NP nl_BE nl_NL pl_PL pt_BR pt_PT rm_CH ro_RO ru_RU si_LK sk_SK sl_SI sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
Install: out/target/product/rk3288_box/system/priv-app/Settings/Settings.apk
make: Leaving directory `/home/robot/android5.1'
#### make completed successfully (01:50 (mm:ss)) ####
这里特别说明下由此前使用了source build/envsetup.sh ,现在修改为. build.sh 需要把 secureCRT或者其他ssh连接方式关闭重新连接。要不然错误一直没解决。
我的编译方法是
首先 source build/envsetup.sh
其次 mmm ./packages/apps/Settings/
然后就出现如下错误
PRODUCT_COPY_FILES device/rockchip/common/fstab.rk30board.bootmode.unknown:root/fstab.rk30board.bootmode.unknown ignored.
PRODUCT_COPY_FILES device/rockchip/common/fstab.rk30board.bootmode.emmc:root/fstab.rk30board.bootmode.emmc ignored.
PRODUCT_COPY_FILES vendor/rockchip/common/nand/modules/arm/rk30xxnand_ko.ko.3.10.0:root/rk30xxnand_ko.ko.3.10.0 ignored.
make: Entering directory `/home/robot/android5.1'
target Java: Settings (out/target/common/obj/APPS/Settings_intermediates/classes)
/bin/bash: javac: command not found
make: *** [out/target/common/obj/APPS/Settings_intermediates/classes-full-debug.jar] Error 41
make: Leaving directory `/home/robot/android5.1'
#### make failed to build some targets (1 seconds) ####
郁闷了,度娘也暂时找不到解决方法
后面请教大神,达到回复是尝试下 不用source build/envsetup.sh ,改用 . build.sh
然后 运行 mmm ./packages/apps/Settings/ 发现突然成功了。
s_MY my_MM nb_NO ne_NP nl_BE nl_NL pl_PL pt_BR pt_PT rm_CH ro_RO ru_RU si_LK sk_SK sl_SI sr_RS sv_SE sw_TZ ta_IN te_IN th_TH tl_PH tr_TR uk_UA ur_PK uz_UZ vi_VN zh_CN zh_HK zh_TW zu_ZA
Install: out/target/product/rk3288_box/system/priv-app/Settings/Settings.apk
make: Leaving directory `/home/robot/android5.1'
#### make completed successfully (01:50 (mm:ss)) ####
这里特别说明下由此前使用了source build/envsetup.sh ,现在修改为. build.sh 需要把 secureCRT或者其他ssh连接方式关闭重新连接。要不然错误一直没解决。