ysf
ysf
  • 发布:2015-03-30 15:22
  • 更新:2015-04-01 16:50
  • 阅读:3975

安装wgt文件失败[undefined]

分类:MUI

android:安装wgt文件失败[undefined]

ios:安装wgt文件失败[8]:版本不匹配

2015-03-30 15:22 负责人:无 分享
已邀请:
DCloud_App_Array

DCloud_App_Array

默认情况下安装wgt包时会进行版本校验的,即只能是高版本覆盖低版本(避免错误操作导致降级),如果确实需要降级,则可以通过force参数进行控制:

plus.runtime.install( wgtFilePath, {force:true}, function(){  
    console.log("安装wgt成功");  
}, function(){  
    console.log("安装wgt失败");  
});
  • 2***@qq.com

    安装wgt文件后 plus.runtime.restart();重启后还是原来的界面 xcode中读取路径为-- NSString* pWWWPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"Pandora/apps/H5EF3C469/www"];

    大佬什么原因啊???

    2018-05-22 15:12

该问题目前已经被锁定, 无法添加新回复