ACDD
Introduction: Android 插件框架,基于 OSGI,非代理方式,组件需要在宿主中声明
Tags:
插件化-热修复-热加载-动态部署-动态加载-ACDD ,Android Component Dynamic Deployment Framework(Android Plugin Framework)
如果有更好的想法(或者 bug fix)可以发起 pull-request
The MIT License (MIT) Copyright (c) 2015 Bunny Blue,achellies
README-中文
use patched aapt to build Dynamic Module,it's different with some plugin frameworks which implement through proxy,any question open a issue
Simple Project& Build System(aapt and ...) has Moved to https://github.com/bunnyblue/ACDDExtension
Contributors
plugin start
download aapt from repo,and you should use build-tool version 23.x.x, write your plugin as normal app, ant build with hacked aapt.
plugin resource notice
android {//you need use buildToolsVersion 23.x gradle plugin 1.3.+
compileSdkVersion 23
buildToolsVersion "23.0.2"
productFlavors {
acdd {
aaptOptions.additionalParameters '--ACDD-resoure-id', '0x5e', '--ACDD-shared-resources', rootProject.file("public.xml").getAbsolutePath()
}
normal {
}
}
}
Sample & Art
Sample Apk,you can download from here
License
The MIT License (MIT) Copyright (c) 2015 Bunny Blue,achellies
Feature @ Wiki
Android Support
Android version | Status |
---|---|
Android 7.0 | tested |
Android 6.0 | tested |
Android 5.0 | tested |
Android 4.0 | tested |
Android 3.x | unsupported |
Android 2.x | tested |