Android Studio - 布局文件预览异常Unable to locate mode 0
来源:互联网 发布:淘宝上点麻辣烫的退款 编辑:程序博客网 时间:2024/09/21 09:25
最近使用android studio2.2创建项目时发现布局文件 无法预览,出现
Exception raised during rendering: Unable to locate mode 0
在Stack Overflow上看到有人跟我遇到同样的问题,他的问题在这Android Studio - Exception raised during rendering: Unable to locate mode 0
出现此问题的原因是我使用的构建工具的版本是25.0.0,将其改为24.2.1就可以了。
以下是那个人的解决办法
its because of the version of your build tool : 25.0.0 go to gralde.build and change it to 24.1.1and let it download this version of build tool : 24.2.1then change these codes :compile 'com.android.support:appcompat-v7:25.0.0'compile 'com.android.support:design:25.0.0'to :compile 'com.android.support:appcompat-v7:24.2.1'compile 'com.android.support:design:24.2.1'then sync once ! Booom its correct now :-)
0 0
- Android Studio - 布局文件预览异常Unable to locate mode 0
- xml布局预览出现Exception raised during rendering: Unable to locate mode 0
- Android Studio 之 unable to locate adb
- Android studio -- Throwable: Unable to locate adb within SDK
- Android studio错误:IllegalArgumentException: Unable to locate adb
- android studio点击运行按钮出现:Unable to locate adb
- Android studio运行出现错误:IllegalArgumentException: Unable to locate adb
- Android studio中提示 unable to locate adb的解决方法
- android studio 预览布局文件错误
- Android studio 不能预览布局文件
- Unable to locate package android-tools-adb
- 解决android studio的IllegalArgumentException: Unable to locate adb的问题
- android studio点击运行按钮出现:Unable to locate adb 错误
- Android Studio 无法在可视化页面预览布局文件
- android studio 无法在可视化页面预览布局文件
- android studio 无法在可视化页面预览布局文件
- 关于Android Studio无法预览布局文件的问题
- Android studio design界面的布局文件无法预览
- linux命令学习-文件目录之cat命令
- Android屏幕适配总结(二)
- docker使用笔记
- java 函数、构造函数、重载、类的命名
- Jquery offset方法 位置bug
- Android Studio - 布局文件预览异常Unable to locate mode 0
- HashTable、HashSet和Dictionary的区别
- 8大排序算法
- main方法可以被设定为private么?
- shiro基础配置说明
- bzoj 4144 [AMPPZ2014]Petrol 最短路+最小生成树+倍增
- Linux下的lds链接脚本基础
- ActiveMQ消息队列
- linux命令学习-文件目录之nl命令