簡體   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