-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apk存在多个架构so库时存在时,需要分开拷贝 #45
Comments
其实我没明白,这个具体错误在哪里?目前只是拷贝对应平台的so库到目标目录下。 |
请先忽略上面那个issue 这几天发现几个问题: 2,注册静态服务crash 3,之前提出的so库问题
..... 4,issue3延伸出来的问题,plugin会处理mips和x86的so库吗? 5,还有之前提到的一个issue,加载的apk有很大几率startactivity失败,一直停留在“加载中”这个启动界面上,被加载的apk中oncreate方法没被调用 |
fixed |
如果apk里面存在多个架构so库,IPluginManagerImpl里copyNativeLibs方法没有拷贝到对应文件夹下,会出现segment fault问题
for (String soName : soList.keySet()) {
Log.e(TAG, "==========so name=" + soName);
Set soPaths = soList.get(soName);
String soPath = findSoPath(soPaths);
//----分平台架构文件夹拷贝
String tmpSoPath = soPath;
tmpSoPath = tmpSoPath.replace("lib/","");
tmpSoPath = tmpSoPath.substring(0,tmpSoPath.indexOf('/'));
String tmpLibRootFolder = nativeLibraryDir + File.separator +tmpSoPath;
......
.....
.....
The text was updated successfully, but these errors were encountered: