UnsupportedMethodException

张行之 2016-04-19 09:31:18
Unsupported method: InstantRun.getRestartDexFile().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.


...全文
3109 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
张行之 2016-04-19
  • 打赏
  • 举报
回复
之前android stuido是1.5的,后来更新到2.0-beta7版本,使用的gradle是com.android.tools.build:gradle:2.0.0,所以一运行就报错,后面将gradle版本改为com.android.tools.build:gradle:2.0.0-beta7,就好了
ganshenml 2016-04-19
  • 打赏
  • 举报
回复
gradle版本不支持这个方法,要么升级要么忽视这个异常
张行之 2016-04-19
  • 打赏
  • 举报
回复
那位大神能帮忙看下啊

80,348

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧