twitter-fabric - Fabric gradle插件与AS3.0集成(android-gradle-plugin-3.0)

标签 twitter-fabric gradle-plugin google-fabric android-studio-3.0 fabric-beta

错误:

Execution failed for task ':app:crashlyticsUploadDistributionPreviewRelease'. getMainOutputFile is no longer supported. Use getOutputFileName if you need to determine the file name of the output.

当我调用crashlyticsUploadDistributionRelease时,gradle控制台向我显示这些消息,

我尝试了最新的fabric插件(io.fabric.tools:gradle:1.22.1),我假设fabric gradle插件不支持最新的android-gradle-plugin-3.0-x

以下是有关新 gradle-plugin-variant-api 的更多信息,也许会有帮助

最佳答案

来自 Fabric 的 Mike。

编辑 更新至 Fabric Gradle plugin 版本 1.24.1与 Gradle 3.0.+ 兼容。

原创 是的,Android Studio 和 Gradle 的 Alpha 版本包含重大更改和潜在的错误。我们将关注 Gradle 和 Android Studio 的更改,看看我们是否需要进行其他更改,或者这些工具是否可以解决这些更改。

如果需要继续使用Fabric,建议使用更稳定版本的Android Studio和Gradle。

关于twitter-fabric - Fabric gradle插件与AS3.0集成(android-gradle-plugin-3.0),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44432755/

相关文章:

android - Gradle 同步失败 : 'com.android.build.gradle.BasePlugin' does not implement the Plugin interface

spring-boot - Gradle 与 Spring Boot 应用程序的多项目依赖关系

GIT 分支后 iOS Fabric 编译失败

android - E/FirebaseCrashlytics : Failed to retrieve settings from https://firebase-settings. crashlytics.com/spi/v2/platforms/android/gmp/XXXX/settings

ios - xcode 10b6 fabric 缺少或格式不正确的配置文件

ios - 哪里可以下载twitterkit框架

ios - fabric.io 即使在上传后也缺少 dSYM

android - Fabric maven repo 导致 gradle 构建缓慢

ios - 从 Twitter.sharedInstance() Swift 3 iOS 10 获取错误

gradle - 如何使用 Jmeter gradle 插件自定义 Jmeter 启动