繁体   English   中英

如何将android应用程序添加到android源代码中并进行编译

[英]How to add an android application into android source code and compile it

尝试在ERAGON820上将应用程序添加到android源代码中,使其成为预构建的应用程序。 但是在编译时低于错误

make[2]: Leaving directory `/home/administrator/ERAGON820_Android-MM-BSP_Relv2.0/source/LA.HB.1.3.2-16800-8x96.0_Relv2.0/out/target/product/msm8996/obj/KERNEL_OBJ'
make[1]: Leaving directory `/home/administrator/ERAGON820_Android-MM-BSP_Relv2.0/source/LA.HB.1.3.2-16800-8x96.0_Relv2.0/kernel'
mdpath=`find out/target/product/msm8996/system/lib/modules -type f -name modules.dep`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do mv $i out/target/product/msm8996/system/lib/modules/; done; fi
mdpath=`find out/target/product/msm8996/system/lib/modules -type f -name modules.dep`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

#### make failed to build some targets (03:16 (mm:ss)) ####
  • 检查以确保mo dules.dep.bin不为空。

  • 如果您正在使用Linux,请尝试重新安装linux-image-3.xx-x-generic,例如apt-get install --reinstall linux-image- uname -r或者您可以升级您的内核。 如果您无权访问您的网络,请尝试dpkg-reconfigure linux-image - $(uname -r)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM