VirtualAPK
VirtualAPK copied to clipboard
A powerful and lightweight plugin framework for Android
没有方法卸载插件,也不能覆盖安装
已经按照wiki的插件开发指南,把宿主和插件中公用的部分抽出来发布到本地的maven私服 然后在宿主和插件中都依赖了相同的版本,但是在gradlew clean assemblePlugin后,插件的apk中依然有这部分代码,并没有剔除掉 使用gradle tools版本 3.0.1、2.3.2 宿主的build.gradle ``` apply plugin: 'com.didi.virtualapk.host' dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' implementation 'cn.monph.app:public-resource:0.0.2' implementation 'com.didi.virtualapk:core:0.9.6' }...
插件开发过程中,都是单独作为apk运行调试。 调试好了再作为插件在宿主里运行。 怎么在运行时插件自己知道自己是自己在单独运行,还是作为插件在宿主里运行?
I get an compile error ```> Task :app:compileDebugJavaWithJavac FAILED [INFO][VAHostPlugin] Used compileClasspath: debug FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'. > java.lang.NoSuchMethodException:...
组件查找优化,更正了上次的逻辑错误,看下还有没问题
使用DIDI的动态加载框架的应用,在新版本的GOOGLE play 里面,play protect 报this app is fake,请问有碰到类似的问题吗,怎么破!~
我试过minifyEnabled 跟 multidex 都会出现其他问题