Open jianfeng0706 opened 5 years ago
你好,使用了github的sample Demo运行,按照流程操作,改了一些内容, 第1处改动:tinkerOldApkPath = "${bakPath}/app-debug-0424-15-02-56.apk"------>tinkerOldApkPath = "${bakPath}/app-debug-0606-11-15-03.apk" 第二处改动:TinkerInstaller.onReceiveUpgradePatch(getApplicationContext(), Environment.getExternalStorageDirectory().getAbsolutePath() + "/patch_signed_7zip.apk");------>TinkerInstaller.onReceiveUpgradePatch(getApplicationContext(), "/sdcard" + "/patch_signed_7zip.apk"); 点击LOAD PATCH按钮日志提示:I/Tinker.SamplePatchListener: receive a patch file: /sdcard/patch_signed_7zip.apk, file size:3603 W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/tinker.sample.android/tinker/patch.info (No such file or director 查看应用读写权限已经打开了,但就是运行不成功
也遇到这个问题了,关注下
你好,使用了github的sample Demo运行,按照流程操作,改了一些内容, 第1处改动:tinkerOldApkPath = "${bakPath}/app-debug-0424-15-02-56.apk"------>tinkerOldApkPath = "${bakPath}/app-debug-0606-11-15-03.apk" 第二处改动:TinkerInstaller.onReceiveUpgradePatch(getApplicationContext(), Environment.getExternalStorageDirectory().getAbsolutePath() + "/patch_signed_7zip.apk");------>TinkerInstaller.onReceiveUpgradePatch(getApplicationContext(), "/sdcard" + "/patch_signed_7zip.apk"); 点击LOAD PATCH按钮日志提示:I/Tinker.SamplePatchListener: receive a patch file: /sdcard/patch_signed_7zip.apk, file size:3603 W/Tinker.PatchInfo: read property failed, e:java.io.FileNotFoundException: /data/user/0/tinker.sample.android/tinker/patch.info (No such file or director 查看应用读写权限已经打开了,但就是运行不成功