Skip to content
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 安装完毕, 打开不了 #93

Open
elileo1 opened this issue Dec 3, 2020 · 4 comments
Open

独立apk 安装完毕, 打开不了 #93

elileo1 opened this issue Dec 3, 2020 · 4 comments

Comments

@elileo1
Copy link

elileo1 commented Dec 3, 2020

你好, 请问下,
使用方式
if(PluginManager.isInstalled("xxxx")){
Intent launchIntent = getPackageManager().getLaunchIntentForPackage("xxxxx");
startActivity(launchIntent);
}else{
ToastUtils.showShort(this, "插件安装中...");
PluginManager.installPlugin("/sdcard/xxxx.apk");
ToastUtils.showShort(this, "插件安装完毕...");
}

[PluginDescriptor.matchPlugin() line 553]
>>>[暂时不考虑不同的插件中配置了相同类全名的组件的问题, 先到先得

宿主app 是一个demo, 然后加载一个app(独立apk)

@elileo1
Copy link
Author

elileo1 commented Dec 3, 2020

调试了下, 插件目标intent 匹配成功了, 但就是没跳转

@Kola-Chao
Copy link

调试了下, 插件目标intent 匹配成功了, 但就是没跳转

我遇到了和你一样的问题,你之前是怎么解决的啊

@LiJinJinJIn
Copy link

请问解决了吗

@limpoxe
Copy link
Owner

limpoxe commented May 25, 2022

这个要看日志了。
需要说明的是,这个框架不是用来做沙盒运行任意三方app的,readme里面有说明,如果想做类似平行空间的产品,这个框架不合适。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants