android - 如何解决: Android ClassFormatError for RunConfiguration in Android Studio

标签 android android-studio execution run-configuration

感谢这里的一些帮助。

刚刚安装了Android Studio 1.5.1(使用1.2之后)。然后我创建了一个新项目来尝试并在事件日志中显示以下内容:

7:15:26 PM ClassFormatError: update failed for AnAction with ID=RunConfiguration: com/intellij/execution/ExecutionTargetManager

工具栏中没有“运行”图标:

Android Studio toolbar

即使我从工具栏中选择“运行”>“运行”,我也无法运行该应用程序(除了事件日志中显示错误消息之外,什么也没有发生。)

所以,真的很感谢一些帮助来解决这个问题。

谢谢

克莱夫

最佳答案

检查您使用的Java版本以及build.gradle中使用的编译版本

关于android - 如何解决: Android ClassFormatError for RunConfiguration in Android Studio,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34841340/

相关文章:

java - 有关 Android 定义和概念的帮助

android - FMX : How can I select a Fixed Font in Android

android - Admob 发送成人内容,如何禁用此功能?

android - 将 EditText 值从 Fragment 传递到 Activity

hardware - 机器周期、总线周期和执行周期的区别

Java 程序无法从命令提示符执行

c++ - 包括 <execution> 需要链接到 tbb 吗?

android - Espresso : How to select element on webview using text

android - 基于计数显示 ListView TextView 表现得很奇怪

android - Android Studio 3.1 中的 ADM 在哪里?