Android Studio2.2导入工程出现UnsupportedMethodException
2016-10-10 10:33
260 查看
最近升级到Android Studio2.2,导入工程后,发现报入后报以下错误,
Unsupported method: AndroidProject.getPluginGeneration().
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.
解决方案:
Android Studio 检查Instant Run是否可用时会出现这个问题,禁用Instant Run可以解决这个问题。
File -> Settings -> Build, Execution, Deployment -> Instant Run.
Unsupported method: AndroidProject.getPluginGeneration().
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.
解决方案:
Android Studio 检查Instant Run是否可用时会出现这个问题,禁用Instant Run可以解决这个问题。
File -> Settings -> Build, Execution, Deployment -> Instant Run.
相关文章推荐
- Android Studio2.2导入工程出现UnsupportedMethodException
- studio运行出现UnsupportedMethodException
- 解决:AndroidStudio导入第三方工程出现Error:Attribute application@icon value=(@mipmap/ic_launcher)
- 使用android studio导入工程,编译出现问题
- Android Studio2.2新版本导入工程出现UnsupportedMethodException异常
- Android运行项目出现UnsupportedMethodException
- Android Studio导入项目出现UnsupportedMethodException
- smssdk导入AndroidStudio出现 com.android.dex.DexException: Multiple dex files define 解决方法
- 关于android导入工程时出现的@Override错误问题的解决<转>
- Eclipse导入Android工程,出现default与Displaying的问题解决
- IDEA 13 编译android工程出现java.nio.BufferOverflowException的解决
- 关于android导入工程时出现的@Override错误问题的解决
- Eclipse导入Android工程出现Project has no default.properties file! Edit the project properties to set one.的解决方法
- android 导入工程出现很多错误 cannot be resolved
- Android 导入工程出现 unable to get system library for the project
- 关于Eclipse导入Android工程出现couldn't write file:*********/.classpath的问题
- Android导入工程出现 Project has no default.properties file! Edit the project
- android导入工程出现红色感叹号
- android导入工程出现红色感叹号运行提示错误
- 导入android工程后出现The resource is not on the build path of a java project