我在 Visual Studio 2015 中升级到最新版本的 Xamarin。然后我编译了我的 Android 项目并遇到了这个错误:
cannot access android.app.Activity bad class file: [DRIVE]:[android-sdk-folder]\platforms\android-24\android.jar(android/app/Activity.class) class file has wrong version 52.0, should be 50.0 Please remove or make sure it appears in the correct subdirectory of the classpath. extends android.app.Activity
在互联网上搜索我只找到与 Java 和不同版本的 Java 编译器、Eclipse 等相关的提示。与 Xamarin 无关。
知道哪里出了问题吗?
最佳答案
关于java - Xamarin 升级导致 "class file has wrong version 52.0, should be 50.0"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38011359/