For some reason, running gradle in daemon mode causes a null console object. If you specify the appropriate command line flag,
./gradlew assembleRelease --no-daemon
it’ll work.
More Related Contents:
- variantOutput.getPackageApplication() is obsolete
- Android Studio: Add jar as library?
- What’s the difference between implementation, api and compile in Gradle?
- How to manually include external aar package using Gradle for Android
- Is it possible to declare a variable in Gradle usable in Java?
- Why are there two build.gradle files in an Android Studio project?
- How/when to generate Gradle wrapper files?
- Error:Conflict with dependency ‘com.google.code.findbugs:jsr305’
- How to get current flavor in gradle
- Gradle DSL method not found: ‘runProguard’
- Peer not authenticated while importing Gradle project in eclipse
- Autoincrement VersionCode with gradle extra properties
- Android Studio Gradle issue upgrading to version 0.5.0 – Gradle Migrating From 0.8 to 0.9 – Also Android Studio upgrade to 0.8.1
- Android Studio: Plugin with id ‘android-library’ not found
- Android Studio: Resolving Duplicate Classes
- Conflict with dependency ‘com.android.support:support-annotations’. Resolved versions for app (23.1.0) and test app (23.0.1) differ
- How to download javadocs and sources for jar using Gradle 2.0?
- How do I read properties defined in local.properties in build.gradle
- Extract common methods from Gradle build script
- How to include a library module dependency in an Android Studio project?
- Add resources and config files to your JAR using Gradle
- Error:Execution failed for task ‘:app:packageRelease’. > Unable to compute hash of /../AndroidStudioProjects/../classes.jar
- Copy existing project with a new name in Android Studio
- Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-all.zip’
- How to use JUnit 5 with Gradle?
- How to run copy task with android studio into assets folder
- How to exclude res folder from gradle build flavours?
- In Gradle, is there a better way to get Environment Variables?
- Could not find property ‘outputFile’ on com.android.build.gradle.internal.api.ApplicationVariantImpl
- Gradle task should not execute automatically