且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

不能从最终类继承

更新时间:2023-11-19 17:34:58

这似乎是 android studio 中的一个 bug,不是特定的,但与

It seems a bug in android studio not specific but related to

Cannot inherit from final Class

如果它也解决了您的问题,请尝试在下面报告的错误中评论 #9.

Try comment #9 in below reported bug if it solves yours problem as well.

现在断开链接

https://code.google.com/p/android/issues/detail?id=63953

#comment9 是

关闭 Android Studio,备份并从您的 Studio 安装目录中删除所有这些文件,然后重新启动它,可能对您有帮助

Close Android Studio, take a backup and delete all these files from your studio setup directory and start it again, might be it can help you

android-studio/plugins/android/lib/builder-0.6.1.jar
android-studio/plugins/android/lib/builder-model-0.6.1.jar
android-studio/plugins/gradle/lib/gradle-base-services-1.8.jar
android-studio/plugins/gradle/lib/gradle-build-setup-1.8.jar
android-studio/plugins/gradle/lib/gradle-core-1.8.jar
android-studio/plugins/gradle/lib/gradle-messaging-1.8.jar
android-studio/plugins/gradle/lib/gradle-native-1.8.jar
android-studio/plugins/gradle/lib/gradle-plugins-1.8.jar
android-studio/plugins/gradle/lib/gradle-tooling-api-1.8.jar
android-studio/plugins/gradle/lib/gradle-wrapper-1.8.jar
android-studio/plugins/gradle/lib/guava-11.0.2.jar