0
我想查看哪个库使用play-services。gradlew app:依赖关系不起作用
我在我的Android Studio终端中命令gradlew app:dependencies
。它抛出这个:
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Projects\project\android\app\build.gradle' line: 18
* What went wrong:
A problem occurred evaluating project ':app'.
> java.lang.UnsupportedClassVersionError: com/android/build/gradle/AppPlugin : Unsupported major.minor version 52.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
我的应用程序gradle这个第18行是:apply plugin: 'com.android.application'
任何想法?与Java
[This](http://stackoverflow.com/questions/22489398/unsupported-major-minor-version-52-0)是完全相同的症状。 – azizbekian
显示你的'build.gradle' –
确保你使用的是最新的gradle插件。 –