Reputation: 21
Error:
Execution failed for task ':app:crashlyticsUploadDistributionPreviewRelease'. getMainOutputFile is no longer supported. Use getOutputFileName if you need to determine the file name of the output.
When I call crashlyticsUploadDistributionRelease
, the gradle console display these message to me,
I tried the latest fabric plugin(io.fabric.tools:gradle:1.22.1
), I assume that fabric gradle plugin
didn't support the latest android-gradle-plugin-3.0-x
.
Here is more info about new gradle-plugin-variant-api, may be it it would help
Upvotes: 2
Views: 875
Reputation: 16249
Mike from Fabric here.
Edit Update to version 1.24.1 of the Fabric Gradle plugin for compatibility with Gradle 3.0.+.
Original Yes, the Alpha versions of Android Studio and Gradle contain breaking changes and potentially bugs. We will be on the lookout for changes to Gradle and Android Studio to see if additional changes are needed on our end or if they are resolved by those tools.
If you need to continue to use Fabric, using a more stable version of Android Studio and Gradle is recommended.
Upvotes: 2