本文共 1429 字,大约阅读时间需要 4 分钟。
将Android应用作为系统内置遇到一些问题:
......No private recovery resources for TARGET_DEVICE sabresd_6dqmake: Entering directory `/home/myzr/myandroid'Import includes file: out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/shutdown_intermediates/import_includestarget thumb C: shutdown <= /home/myzr/myandroid/packages/apps/Shutdown/jni/shutdown.ctarget SharedLib: shutdown (out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/shutdown_intermediates/LINKED/shutdown.so)target Symbolic: shutdown (out/target/product/sabresd_6dq/symbols/system/lib/shutdown.so)Export includes file: /home/myzr/myandroid/packages/apps/Shutdown/jni/Android.mk -- out/target/product/sabresd_6dq/obj/SHARED_LIBRARIES/shutdown_intermediates/export_includestarget Strip: shutdown (out/target/product/sabresd_6dq/obj/lib/shutdown.so)Install: out/target/product/sabresd_6dq/system/lib/shutdown.somake: Leaving directory `/home/myzr/myandroid'
$ $NDK/ndk-build Android NDK: WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 8 in ./AndroidManifest.xml [armeabi] Compile thumb : shutdown <= shutdown.c[armeabi] SharedLibrary : libshutdown.so[armeabi] Install : libshutdown.so => libs/armeabi/libshutdown.so
root@android:/ # mv /system/lib/shutdown.so /system/lib/libshutdown.so
转载地址:http://pbcja.baihongyu.com/