We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能够生成patch.jar,但是把patch.jar导入真机的内置存储卡后,重启app,修改不生效 为什么会出现这种现象
String path = Environment.getExternalStorageDirectory()+"/patch.jar"; //从指定目录加载补丁 RocooFix.applyPatch(this,path);
android { compileSdkVersion 24 buildToolsVersion "24.0.1"
defaultConfig { applicationId "com.study.testrocoofix" minSdkVersion 15 targetSdkVersion 24 versionCode 2 versionName "1.0" } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } rocoo_fix { includePackage = ['com/study/testrocoofix'] excludeClass = ['RocooApplication.class','HotFixManger.class'] preVersionPath = '1'//注意:此项属性只在需要制作补丁的时候才需开启!!如果不需要制作补丁则需要去掉此项 enable = true//注意:关掉此项会无法生成Hash.txt文件 scanref = true; }
}
The text was updated successfully, but these errors were encountered:
你加读取存储的权限了么
Sorry, something went wrong.
问一下 这个问题解决了吗?也遇到同样的问题
No branches or pull requests
能够生成patch.jar,但是把patch.jar导入真机的内置存储卡后,重启app,修改不生效
为什么会出现这种现象
String path = Environment.getExternalStorageDirectory()+"/patch.jar";
//从指定目录加载补丁
RocooFix.applyPatch(this,path);
android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
}
The text was updated successfully, but these errors were encountered: