Not compatible with AGP 3.6.0+ - com.android.build.gradle.tasks.PackageAndroidArtifact.getOutputDirectory()Ljava/io/File;
See original GitHub issueError:
$ gradlew assembleDebug
FAILURE: Build failed with an exception.
* What went wrong:
com.android.build.gradle.tasks.PackageAndroidArtifact.getOutputDirectory()Ljava/io/File;
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 6s
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7
Top Results From Across the Web
gradle - Unable to find method PackageAndroidArtifact ...
1, I'm getting the below error: Unable to find method ''java.io.File com.android.build.gradle.tasks.PackageAndroidArtifact.getOutputDirectory()' ...
Read more >Android Gradle plugin release notes - Android Developers
The Android Studio build system is based on Gradle, and the Android Gradle plugin adds several features that are specific to building Android...
Read more >Tasks fail in a project using version 4.0.0 of the Android ...
After upgrading to AGP 4.0.0, our clear OkReplayTapes task is failing with a NoClassDefFoundError. It looks like ConnectedDeviceProvider was ...
Read more >Compatibility Matrix - Gradle User Manual
Gradle plugins written in Groovy must use Groovy 3.x for compatibility with Gradle and Groovy DSL build scripts. Android. Gradle is tested with...
Read more >Android SDK not working with Gradle 3.6 - Mobile
hutchison3g.planet3.debug E/com.newrelic.android: Failed to detect New Relic instrumentation. Something likely went wrong during your build ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I just released version 1.0.0 (only four years later, ha), which includes support for AGP 3.6.
Awesome. Thank you!