[]dcc服务端应该配置怎么样的环境才能让手机客户端更新资源时能够正确的访问到

已邀请:

cuixueying

赞同来自:

请描述下你的具体操作步骤吧,我们看下哪个步骤出了问题!

nie341

赞同来自:

新建一个UI示例项目,D:/work/native_test
 
用命令 layadcc D:/work/native_test/bin 打包
然后构建eclipse项目,打出apk包作为基础包
构建的时候配置 URL路径是本地路径
http://10.0.0.114:8900/bin/index.html
 
 
然后我在view里面隐藏了两个button,作为改变
用命令 layadcc D:/work/native_test/bin 打包
 
运行之前的基础apk,然后还是显示旧的view(也就是那两个button依然可见)
 
另外 还经常出现
05-10 18:07:04.156: I/LayaBox(8836): Downloaded http://10.0.0.114:8900/bin/upd ... 91%40 s=0 l=0
05-10 18:07:04.176: I/LayaBox(8836):  onerror UnknownError
05-10 18:07:04.196: I/LayaBox(8836):  xhr.GET url=http://10.0.0.114:8900/bin/index.html
05-10 18:07:04.236: I/LayaBox(8836): Download [  ]:http://10.0.0.114:8900/bin/index.html
05-10 18:07:12.244: E/LayaBox(8836): download error: timeout, dt=8,opttimeout=1798
05-10 18:07:12.244: I/LayaBox(8836): Downloaded http://10.0.0.114:8900/bin/index.html@ s=0 l=0
05-10 18:07:12.254: I/LayaBox(8836):  xhr.GET url=http://10.0.0.114:8900/bin/index.html
05-10 18:07:12.254: I/LayaBox(8836): Download [  ]:http://10.0.0.114:8900/bin/index.html
05-10 18:07:20.252: E/LayaBox(8836): download error: timeout, dt=8,opttimeout=1798
05-10 18:07:20.252: I/LayaBox(8836): Downloaded http://10.0.0.114:8900/bin/index.html@ s=0 l=0
05-10 18:07:20.272: I/LayaBox(8836):  xhr.GET url=http://10.0.0.114:8900/bin/index.html
这样的错误
 
 

要回复问题请先

商务合作
商务合作