MTK8127编译sdk出错解决方法
1、按照源码中sdk目录下的howto_build_SDK.txt参考文档的编译方式
$ cd ~/my-android-git
$ . build/envsetup.sh
$ lunch sdk-eng
$ make sdk
结果,产生错误log信息如下:
#### make failed to build some targets (48 seconds) ####
2、根据一些参考资料,我解决以上相关问题采用以下步骤:
source build/envsetup
lunch em_t8370_emmc-user
source build/envsetup #需要重新source一次,我也不知道为什么,如果不重新再执行这句话,编译还是会产生像上面一样的问题。
make sdk
- device/mediatek/build/build/libs/custom.mk:159: PWD = /mnt/sdb1/yangyx/MT8127_M0_MP8_0407
- device/mediatek/build/build/libs/custom.mk:160: *** Can not find ProjectConfig.mk , MTK_PROJECT_CONFIGS = . Stop.
结果,产生的错误log信息如下:
- Package SDK: out/host/linux-x86/sdk/em_t8370_emmc/android-sdk_1476082019_linux-x86.zip
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libexif.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libext2_blkid.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libext2_com_err.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libext2_e2p.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libext2_profile.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libext2_quota.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libext2_uuid.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libext2fs.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libiprouteutil.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libnetlink.so
- SDK: warning: including GNU target out/target/product/em_t8370_emmc/system/lib/libnl.so
- development/build/sdk.atree:49: couldn't locate source file: bin/etc1tool
- development/build/sdk.atree:88: couldn't locate source file: bin/split-select
- development/build/sdk.atree:93: couldn't locate source file: bin/bcc_compat
- development/build/sdk.atree:186: couldn't locate source file: framework/layoutlib.jar
- development/build/sdk.atree:525: couldn't locate source file: framework/layoutlib-tests.jar
- development/build/sdk.atree:526: couldn't locate source file: system/app/EmulatorSmokeTests/EmulatorSmokeTests.apk
- make: *** [out/host/linux-x86/sdk/em_t8370_emmc/android-sdk_1476082019_linux-x86.zip] Error 44
3、注释以上sdk.atress 49 88 93 186 525 526 相关的脚本
编译成功,在相关目录下生成以下的文件:
Package SDK: out/host/darwin-x86/sdk/android-sdk_eng.<build-id>_mac-x86.zip
生成的android.jar是最新的:
/out/host/linux-x86/sdk/em_t8370_emmc/android-sdk_1476083189_linux-x86/platforms/android-6.0/android.jar
MTK8127编译sdk出错解决方法的更多相关文章
- 对于C++窗口编译一闪而过的解决方法 (DEV CPP下)
对于C++窗口编译一闪而过的解决方法 首先来看一个简单的程序(编译环境为 DEV C++.): #include <iostream> int main() { std:: ...
- make menuconfig出错解决方法
make menuconfig出错解决方法 2011-06-11 22:22:49 分类: 系统运维 错误现象: make menuconfig In file included from scri ...
- vs连接mysql出错解决方法
vs连接mysql出错解决方法 先按以下的步骤配置一下: **- (1)打开VC6.0 工具栏Tools菜单下的Options选项.在Directories的标签页中右边的"Show dir ...
- 内容分享-迅为IMX6开发板编译问题及解决方法
[经验分享]IMX6开发板编译问题及解决方法本文转自迅为IMX6开发板售后讨论群,分享给大家~ 物理主机 win10 64 位专业版.虚拟机 VM12 Pro.开发环境采用迅为提供的开发环境: Ubu ...
- $ sudo python -m pip install pylint 出错解决方法
问题:在unbuntu执行$ sudo python -m pip install pylint出错解决方法支行以下命令sudo pip install pylint==1.9.3这样roboware ...
- $ gulp watch 运行出错解决方法
$ gulp watch 运行出错解决方法 $ gulp watch 如果你出现了如下报错信息: gulp-notify: [Laravel Elixir] Browserify Fail ...
- egret编译速度慢解决方法
egret编译速度慢解决方法 直接用增量更新egret run -a 每次改完代码 保存都会自动编译
- 编译lua-5.3.5时出错解决方法
问题描述: 执行 make linux test 过程出现错误,错误信息如下: “ lua.c:82:31: fatal error: readline/readline.h: No such fil ...
- VS2012 中不能安装ARCGIS 10.0 SDK的解决方法
问题描述 在ARCGIS 安装SDK时 就会出错 原因是ARCGIS SDK 10.0只能在VS2010中安装,因为我本机是安的VS2012所以安装不成功. 解决方法 一,在注册表中HKE ...
随机推荐
- openSUSE虚拟机安装并连接Xshell
- js在光标处插入内容
//场景一 简易的页面可以这样写var range = window.getSelection().getRangeAt(0);range.insertNode(document.createText ...
- [POI 2007]ZAP-Queries
Description Byteasar the Cryptographer works on breaking the code of BSA (Byteotian Security Agency) ...
- [Codeforces 863D]Yet Another Array Queries Problem
Description You are given an array a of size n, and q queries to it. There are queries of two types: ...
- [SDOI2011]计算器
Description 你被要求设计一个计算器完成以下三项任务: 1.给定y,z,p,计算Y^Z Mod P 的值: 2.给定y,z,p,计算满足xy≡ Z ( mod P )的最小非负整数: 3.给 ...
- ●BOZJ 2229 [Zjoi2011]最小割
题链: http://www.lydsy.com/JudgeOnline/problem.php?id=2229 题解: 首先先去看看这个博客:http://blog.csdn.net/jyxjyx2 ...
- 【Miller-Rabin随机判素数算法】
实用性介绍: #include<bits/stdc++.h> #define go(i,a,b) for(int i=a;i<=b;i++) #define T 5 #define ...
- [APIO2013]
A.机器人 题目大意:给定一个n*m的地图,有一些障碍物和k个机器人,你每次可以选择一个机器人往任意一个方向推,遇到转向器会转向,两个编号相邻的机器人可以合并,求最少推多少次可以全部合并. $n,m\ ...
- 解决 APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tas
报错信息:APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! 在网上查了一下,大部分网友分析是c ...
- html下载excel模板
只需要href等于模板存放的路径即可 <a href="../../TempLate/Attitude.xlsx" class="easyui-linkbutton ...