question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not compatible with AGP 3.6.0+ - com.android.build.gradle.tasks.PackageAndroidArtifact.getOutputDirectory()Ljava/io/File;

See original GitHub issue

@benjamin-bader

Error:

$ 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

2reactions
benjamin-badercommented, Nov 10, 2019

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

0reactions
jaredsburrowscommented, Nov 10, 2019

Awesome. Thank you!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found