编译android7.0 sdk错误解决方法

编译时最后报错:

SDK: warning: including GNU target out/target/product/generic/system/lib/libext2fs.so

SDK: warning: including GNU target out/target/product/generic/system/lib/libiprouteutil.so
SDK: warning: including GNU target out/target/product/generic/system/lib/libmicrohttpd.so
SDK: warning: including GNU target out/target/product/generic/system/lib/libnetlink.so
SDK: warning: including GNU target out/target/product/generic/system/lib/libnl.so
SDK: warning: including GNU target out/target/product/generic/system/lib/libxmlrpc++.so
SDK: warning: including GNU target out/target/product/generic/system/xbin/fio
SDK: warning: including GNU target out/target/product/generic/system/xbin/mmc_utils
development/build/sdk.atree:49: couldn't locate source file: bin/etc1tool
development/build/sdk.atree:83: couldn't locate source file: bin/split-select
development/build/sdk.atree:88: couldn't locate source file: bin/bcc_compat
development/build/sdk.atree:203: couldn't locate source file: framework/layoutlib.jar
development/build/sdk.atree:588: couldn't locate source file: framework/layoutlib-tests.jar
development/build/sdk.atree:589: couldn't locate source file: system/app/EmulatorSmokeTests/EmulatorSmokeTests.apk
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1


注释以上development/build/sdk.atree 中的 49 83 88 203 586 589行的内容   再次make sdk
   编译成功,在相关目录下生成以下的文件:

Package SDK: out/host/linux-x86/sdk/aosp_arm/android-sdk_eng.builder_linux-x86.zip


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值