Google made a mistake with version 0.7.2 of the Gradle plugin:
Note: 0.7.2 requires Java7. This is a mistake. Use 0.7.3 instead.
Release 0.7.3 re-enables Java6 support. Declaring Gradle 0.7.3 in my build files does indeed resolve this for me.
No one is perfect 🙂
More Related Contents:
- Android Studio: Add jar as library?
- Java finished with non-zero exit value 2 – Android Gradle
- Android Studio suddenly cannot resolve symbols
- Android studio add external project to build.gradle
- How to configure gradle to work “offline” (using cached dependencies)
- Still getting warning : Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’
- What is Jetifier?
- Android Gradle Could not reserve enough space for object heap
- Using ViewPagerIndicator library with Android Studio and Gradle
- Is there any way to integrate Eclipse with Gradle in Android project?
- Duplicate files copied (Android Studio 0.4.0) [duplicate]
- BuildConfig.DEBUG always false when building library projects with gradle
- Gradle 7 and jitpack.io runs into error during publish
- Android Studio build fails with “Task ” not found in root project ‘MyProject’.”
- Android Studio: Resolving Duplicate Classes
- Execution failed for task ‘:app:transformClassesWithDexForDebug’ while implementing Google sign in for Android
- How to add -Xlint:unchecked to my Android Gradle based project?
- How to use the Renderscript Support Library with Gradle
- Gradle Duplicate Entry: java.util.zip.ZipException
- Gradle 0.9.+/0.9.2 error: Unable to load class ‘com.android.builder.testing.api.DeviceProvider’
- Error:Unable to resolve dependency for ‘:app@debugAndroidTest/compileClasspath’: Could not resolve junit:junit:4.12
- How to include a library module dependency in an Android Studio project?
- No resource found that matches the given name (at ‘dialogCornerRadius’ with value ‘?android:attr/dialogCornerRadius’)
- How to change the proguard mapping file name in gradle for Android project
- Android Studio – Error:Program type already present
- Message “error: resource android:attr/lStar not found”
- How to build a ‘release’ APK in Android Studio?
- Android Studio: how to generate signed APK using Gradle?
- How to add apache commons collections in Android Studio (Gradle)
- Force locale for Android flavor with resConfig