libcore has some makefile, such as JavaLibrary.mk\NativeCode.mk.
LOCAL_MODULE=libjavacore
make libjavacore -j4 但是还有问题,最终生成的.so是什么呢?
最后找到,当修改libcore native code的时候需要build libnativehelper, libnativehelper 在dalvik/libnativehelper中。
out/target/product/myproduct_hi/system/lib/libnativehelper.so
本文深入探讨了Android系统中libcore和libnativehelper的makefile配置及其构建流程,详细解释了如何通过修改libcorenativecode来触发buildlibnativehelper的过程,并最终生成了system/lib/libnativehelper.so文件。
1296

被折叠的 条评论
为什么被折叠?



