weex_sdk从0.18.0升级到0.20.0.1,开启debug模式程序崩溃,像是so文件引发 #1913
Comments
weex_sdk0.20.0.1,相同配置下,app的gradle配置为 |
请提供你的weex toolkit中weex debuger的版本号 |
@fanlvwen you'd better using |
1.我这个是多页面应用,调试的是整个文件夹,需要类似'weex debugx src -e index.vue'这样的命令,weex debug没有这个命令,只有weex debug src,这个命令打开的debug,比如说index.js超级大,而且index.vue中稍微改一个字,热更新都需要1分钟左右才在chrome上刷新页面 |
@fanlvwen I will check the compilation problem, and I also suggest you using As a temporary solution, you can also using The built-in compile module on |
|
新建项目,直接npm run build:prod,没问题 |
@fanlvwen You can filter out some files that are temporarily unavailable,see config file on |
是这样的,本身我已经有一个线上项目,而且是多页面的(加上子组件估计100+vue文件),按照你说的weex create一个新项目, 然后,把线上项目的src整个拷过来。这是前提。
|
To fix this, we need to improve the compiler efficiency of the |
不好意思不太明白,src里所有的文件肯定都是要编译的啊 |
@fanlvwen the files you develop now should be one or more than one, but should not be all of the files on |
It seems this issue is resolved, I will just close it. Feel free to reopen it if you have other questions. |
1.js打包后在项目中运行没问题,旧版与新版皆正常
2.开启debug
String host = "192.168.2.236"; WEEXURL = "http://192.168.2.236:8088/weex/"; WXEnvironment.sDebugServerConnectable = true; WXEnvironment.sRemoteDebugMode = true; WXEnvironment.sRemoteDebugProxyUrl = "ws://" + host + ":8088/debugProxy/native/";
0.18.0正常:
gradle配置为:
compile 'com.taobao.android:weex_inspector:0.13.4' compile 'com.squareup.okhttp3:okhttp:3.4.1' compile 'com.squareup.okhttp3:okhttp-ws:3.4.1'
0.20.0.1崩溃:
gradle配置为:
compile 'com.taobao.android.weex_inspection:urlconnection_interceptor:1.0.0' compile 'com.taobao.android:weex_inspector:0.18.10' compile 'com.squareup.okhttp:okhttp:2.3.0' compile 'com.squareup.okhttp:okhttp-ws:2.3.0' compile 'com.squareup.okio:okio:1.0.1'
机型:华为
系统:8.0.0
The text was updated successfully, but these errors were encountered: