现有一应用安装在手持机上,应用有检查更新版本的功能,
新版本的包已下载好,但是触发不了安装,有没有大佬知道的,求指导,感谢!!!
下载并安装代码:
uni.downloadFile({
url: this.versionInfo.DownloadUrl,
success: data => {
if (data.statusCode === 200) {
plus.runtime.install(data.tempFilePath, {
force: true
}, (res) => {
plus.runtime.restart();
}, (err) => {
console.log('失败' + JSON.stringify(err));
});
}
}
})
求知路上 (作者)
上面两个条件都具备了,但还是不能安装。targetSdkVersion 改成24/26/28也没有用,安卓版本8.1。看这手持机好像是定制化的,里面一堆谷歌的应用。装了个豌豆荚,在豌豆荚里下载了应用也被禁止安装,一头雾水。求破解之法!
2020-12-22 11:00
深海智行
回复 求知路上: 寄给我,可以有偿帮你研究一下能否破解
2020-12-22 14:39