WXSample
WXSample copied to clipboard
java.lang.ClassNotFoundException: com.taobao.weex.devtools.debug.DebugServerProxy
你的项目没有问题,然后我新建一个项目,加入如下代码:
InitConfig config = new InitConfig.Builder()
.setImgAdapter(new WeexImageAdapter())
.build();
WXSDKEngine.initialize(this, config);
就出现上面这个问题是怎么回事?
还有,你的项目中为什么 assets 中放的是 .we 文件也没有问题,官网上让我们安装工具将 .we 文件转化为 .js 文件后再放入 assets 中来引用啊
缺少包 compile 'com.taobao.android:weex_inspector:0.8.0.0' 加入这个就不会有问题了。。