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

如何将android应用程序添加到android源代码中并进行编译,android,rom,custom-rom,Android,Rom,Custom Rom,尝试将应用程序添加到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 `

尝试将应用程序添加到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)) ####
  • 检查以确保‌​dules.dep.bin不为空

  • 如果您正在使用Linux,请尝试重新安装Linux-image-3.x.x-x-generic 类似apt get install——重新安装linux映像——
    uname-r
    或者你可以升级你的内核。 如果您无法访问网络,请尝试 dpkg重新配置linux映像-$(uname-r)

      • 检查以确保‌​dules.dep.bin不为空

      • 如果您正在使用Linux,请尝试重新安装Linux-image-3.x.x-x-generic 类似apt get install——重新安装linux映像——
        uname-r
        或者你可以升级你的内核。 如果您无法访问网络,请尝试 dpkg重新配置linux映像-$(uname-r)


      感谢您的回复。。。我们正在讨论android定制,我在android Source中找不到modules.dep.bin。谢谢您的回复。。。我们正在讨论android定制,我在android源代码中找不到modules.dep.bin