DroidPluginTeam / DroidPlugin

A plugin framework on android,Run any third-party apk without installation, modification or repackage
http://droidpluginteam.github.io/DroidPlugin/
GNU Lesser General Public License v3.0
6.88k stars 2.53k forks source link

测试Demo,安装在vivo手机上,安装完插件app,卡住不动 #430

Closed Sum-sdl closed 6 years ago

Sum-sdl commented 6 years ago

测试Demo,安装在vivo手机上,安装完插件app,卡在加载界面不跳转是怎么回事?

Sum-sdl commented 6 years ago

03-05 16:49:06.618 13240-13240/com.example.TestPlugin I/HookedMethodHandler: doHookInner method(android.content.pm.IPackageManager.queryIntentActivities) cost 9 ms 03-05 16:49:06.624 13240-13240/com.example.TestPlugin I/DroidPlugin: start com.kane.librarytest@Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.kane.librarytest cmp=com.kane.librarytest/com.kane.worldcup.ui.activity.SplashActivity } 03-05 16:49:06.634 13240-13240/com.example.TestPlugin W/System: ClassLoader referenced unknown path: 03-05 16:49:06.637 13240-13240/com.example.TestPlugin D/ApplicationLoaders: ignored Vulkan layer search path /data/user/0/com.example.TestPlugin/Plugin/com.kane.librarytest/lib for namespace 0x7fac35b160 03-05 16:49:06.642 13240-13240/com.example.TestPlugin I/IPackageManagerHookHandle: getPackageInfo(com.example.TestPlugin) fail,pkginfo is null 03-05 16:49:06.687 13240-13240/com.example.TestPlugin I/HookedMethodHandler: doHookInner method(android.app.IActivityManager.startActivity) cost 62 ms 03-05 16:49:06.766 13240-13266/com.example.TestPlugin D/OpenGLRenderer: endAllActiveAnimators on 0x7f88171c00 (RippleDrawable) with handle 0x7f8813fca0

到这就一直卡着了

Sum-sdl commented 6 years ago

ndk { //选择要添加的对应cpu类型的.so库。 abiFilters 'armeabi'

    }

问题是插件包的so的兼容问题