WXSample icon indicating copy to clipboard operation
WXSample copied to clipboard

java.lang.ClassNotFoundException: com.taobao.weex.devtools.debug.DebugServerProxy

Open AllenVork opened this issue 7 years ago • 2 comments

你的项目没有问题,然后我新建一个项目,加入如下代码:

 InitConfig config = new InitConfig.Builder()
                .setImgAdapter(new WeexImageAdapter()) 
                .build();

WXSDKEngine.initialize(this, config);

就出现上面这个问题是怎么回事?

AllenVork avatar Mar 22 '17 07:03 AllenVork

还有,你的项目中为什么 assets 中放的是 .we 文件也没有问题,官网上让我们安装工具将 .we 文件转化为 .js 文件后再放入 assets 中来引用啊

AllenVork avatar Mar 22 '17 07:03 AllenVork

缺少包 compile 'com.taobao.android:weex_inspector:0.8.0.0' 加入这个就不会有问题了。。

alitong avatar Aug 30 '17 07:08 alitong