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



尝试将应用程序添加到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.x.x-x-generic 诸如APT-GET安装 - Reinstall Linux-image- uname -r 或者您可以升级内核。 如果您无法访问网络,请尝试 dpkg-reconfigure linux-image-$(uname -r(

最新更新