aitsuki / hotfix Goto Github PK
View Code? Open in Web Editor NEWAndroid热补丁修复框架,自动生成带签名的补丁包
Android热补丁修复框架,自动生成带签名的补丁包
AndroidStudio 2.1.1
Gradle Version 2.10
Android Plugin Version 2.1.0
项目中如果有使用AIDL方式的进程间通信的功能会报错,编译项目时没有混淆,没有自动打包,使用的是这个阶段的方式:Android热补丁动态修复技术(三)—— 使用Javassist注入字节码,完成热补丁框架雏形(可使用) ,打印信息如下:
================injectClass!==========com.test.myapplication.ITestAidlInterface$Stub$Proxy
================injectClass!==========com.test.myapplication.ITestAidlInterface$Stub
================injectClass!==========com.test.myapplication.ITestAidlInterface
Error:Execution failed for task ':TestDemo:transformClassesWithPreDexForDebug'.
0
其中ITestAidlInterface 是AIDL自动生成的class,Stub 和Proxy 是 ITestAidlInterface 的内部类
都运行不起来,求教。
FAILURE: Build failed with an exception.
A problem occurred starting process 'command 'dx.bat''
build.gradle配置
通过命令 gradle assembleRelease打包无法签名, 通过gradle assembleDebug打debug可以正确签名
signingConfigs {
release {
storeFile file('test_key_store.jks')
storePassword '123123'
keyAlias 'test'
keyPassword '123123'
}
debug {
storeFile file('test_key_store.jks')
storePassword '123123'
keyAlias 'test'
keyPassword '123123'
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.