我试图以两种方式将 Facebook 预建到我的ROM中 Android.mk 文件如下。但Facebook直到不起作用......
my_archs:=arm arm64
my_src_arch :=$(call get-prebuilt-src-arch,$(my_archs))
LOCAL_PREBUILT_JNI_LIBS :=@lib/armeabi-v7a/*.so
LOCAL_MODULE_TARGET_ARCH :=arm
/ system / lib / 或 system / 3rdapp / Facebook / lib /
下没有任何.so lib日志告诉我们 dlopen失败:“/ data / data / com.facebook.katana / lib-main / libgnustl_shared.so”是32位而不是64位
my_archs:=arm arm64
my_src_arch :=$(call get-prebuilt-src-arch,$(my_archs))
LOCAL_PREBUILT_JNI_LIBS :=lib/armeabi-v7a/1.so lib/armeabi-v7a/2.so
LOCAL_MODULE_TARGET_ARCH :=arm
NativeLibraryHelper
导致PMS解析器失败
I NativeLibraryHelper:无法打开临时文件名:/system/3rdapp/Facebook/lib/arm/tmp.regBEn:只读文件系统 W PackageManager:无法扫描/ system / 3rdapp / Facebook:解压缩app的本机库时出错,errorCode = -18
在PackageManager.java中定义错误代码
/**
* Installation return code: this is passed to the
* {@link IPackageInstallObserver} if a secure container mount point
* couldn't be accessed on external media.
*
* @hide
*/
@SystemApi
public static final int INSTALL_FAILED_CONTAINER_ERROR = -18;
我已转储dumpsys package com.facebook.kanta
,显示Instruction Set: arm64
1,我怎样才能将Facebook预建到我的rom?这样的Facebook ..
2,为什么Facebook运行arm64?(LOCAL_MODULE_TARGET_ARCH不被使用?)