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

Android N 使用getLaunchIntentForPackage 返回intent为空 #315

Open
MirrorAzureZhang opened this issue Feb 23, 2017 · 7 comments
Open

Comments

@MirrorAzureZhang
Copy link

启动程序后,使用PluginManager.getInstance().installPackage() 对插件进行了安装. 之后使用getLaunchIntentForPackage()准备打开插件时,return intent是null.
上面的操作在android N以下都是正常的, 只会在android N上出现.

@MirrorAzureZhang MirrorAzureZhang changed the title Android N 使用getLaunchIntentForPackage 为空 Android N 使用getLaunchIntentForPackage 返回intent为空 Feb 23, 2017
@cmzy
Copy link
Member

cmzy commented Mar 8, 2017

用的dp的最新版本么?貌似我已经改了啊。

@nearspears
Copy link

到底有没有解决?我也碰到同样的问题,求解

@xinyer
Copy link

xinyer commented Mar 21, 2017

遇到同样的问题,最新master分支版本

@cmzy
Copy link
Member

cmzy commented Mar 23, 2017

我看下。

@xinyer
Copy link

xinyer commented Mar 24, 2017

非常奇怪的问题,我做了几个插件,都可以在DroidPlugin的demo正常安装和打开。但是在我自己的host程序中不可以打开,报空指针的错误。Android 7.0。

@MrHuJianQiang
Copy link

@MirrorAzureZhang @xinyer @cmzy 我在Android 5.1.1 MIUI8 也返回null,使用的是demo的TestPlugin,直接启动未安装的插件时,getLaunchIntentForPackage("xx")返回null,插件apk放在sdcard目录下,manifestmerger.enabled=true设置的是true

@xingege662
Copy link

我的只在华为的手机上遇到了这个问题

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

6 participants