android-pluginmgr
android-pluginmgr copied to clipboard
apk plug apkplug apk load
插件和主程序似乎不能同时调用自定义的相同包名的类,不然就报错
Dev
``` androidx.plmgrdemo E/AndroidRuntime: FATAL EXCEPTION: main Process: androidx.plmgrdemo, PID: 17286 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{androidx.plmgrdemo/androidx.pluginmgr.DynamicActivity}: java.lang.ClassNotFoundException: Didn't find class "cn.qqtheme.demo.activity.WelcomeActivity" on path: DexPathList[[zip file "/data/data/androidx.plmgrdemo/app_plugins-opt/Demo 3.0.0-dev.apk"],nativeLibraryDirectories=[/data/data/androidx.plmgrdemo/app_plugins-opt/Demo 3.0.0-dev.apk-dir/lib, /vendor/lib64, /system/lib64]]...
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.plugindemo/com.example.plugindemo.DetailActivity}; have you declared this activity in your AndroidManifest.xml? at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1526) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1386) at android.app.Activity.startActivityForResult(Activity.java:3190) at com.example.plugindemo.MainActivity.onClick(MainActivity.java:47) at android.view.View.performClick(View.java:3511) at android.view.View$PerformClick.run(View.java:14105) at android.os.Handler.handleCallback(Handler.java:605)...
plugin Acitivty call setTheme() or styles.xml @style/activityAnimation animate not working~