aidream
aidream
谢谢反馈 刚休假回来 有空看下 2015-05-08 15:55 GMT+08:00 gzu-liyujiang [email protected]: > 插件和主程序似乎不能同时调用自定义的相同包名的类,不然就报错 > > — > Reply to this email directly or view it on GitHub > https://github.com/houkx/android-pluginmgr/issues/13.
很明显是权限的问题,是这样的,在插件中获取到的包名是实际的包名而不是宿主的包名,但系统的权限检查会按照包名来查询,已知问题,我有空修复下 2015-04-25 15:23 GMT+08:00 denny37 [email protected]: > W/System.err( 6489): java.lang.RuntimeException: Unable to start activity > ComponentInfo{androidx.plmgrdemo/androidx.pluginmgr.PluginActivity}: > java.lang.SecurityException: Permission Denial: getIntentSender() from > pid=6489, uid=10135, (need uid=-1) is not allowed...
你测的这个分支里面PluginPackageManager 可能还没启用