From: http://blog.csdn.net/weixin_39186226/article/details/73322308

这个问题在以前导出时并没有遇到 ,考虑到刚升级了build-tool,于是去SDK里搜索,果然发现了dx.jar在Android\sdk\build-tools\26.0.0\lib中


解决方法:
(1)打开Android Studio中的SDK Manager


(2)在SDK Tools的标签下勾选Show Package Details


(3)选择上一版本的build-tools进行下载,这里选的25.0.3
(4)用上版本build-tools/lib的dx.jar 替换26.0.0里的dx.jar (请备份好原来的!!)
(5)重新编译项目,不报错了!
不过这里只是解决办法,能不替换最好,但我目前并没有发现。

更多相关文章

  1. Android(安卓)中不同的系统版本隐藏和显示systemui方法
  2. android源码下载-Windwos下使用清华镜像
  3. 最新历史版本 :Android(安卓)Bluetooth
  4. Android系统版本及其屏幕适配
  5. android 上传json串时,json key 被替换为 a b c 的问题
  6. 关于android.support.v4.app.Fragment与android.app.Fragment的
  7. android studio中xml文件报错: URI is not registered的解决办法
  8. Mac OS X下编译Android源码
  9. Android(安卓)—— Studio导入Eclipse项目方法以及出现的问题

随机推荐

  1. sad
  2. Android存在“后门”?收集用户信息以推广
  3. Android Vertical TextView 文字竖排
  4. Choreographer 翩翩起舞
  5. android listview 相关
  6. Android android下的短信发送器
  7. Android 开机画面
  8. android监听软键盘退格(删除)事件
  9. Android 图片倒影和setXfermode
  10. Android中TextView跑马灯没效果解决