android插件化内置

1.主APP设置  build:gradle设置 classpath 'com.qihoo360.replugin:replugin-host-gradle:2.2.1'

android插件化内置

2主app 相关配置  配置build  application

android插件化内置

android插件化内置

3.作为插件的App配置  配置差劲名 配置build

android插件化内置

 android插件化内置

android插件化内置

4.将插件打包成apk改为jar 放入主app assets/plugins 

android插件化内置

5.调用插件内activity 

android插件化内置

一个简单的插件化Demo完成.