Grade Plugin 3-alpha1 outputFile causes error

后端 未结 2 864
感动是毒
感动是毒 2021-02-20 16:54

I\'m trying to update a project to Android Studio 3.

The following snippet is no longer accepted in a build.gradle file.

applicationVariants.all { varian         


        
2条回答
  •  不思量自难忘°
    2021-02-20 17:40

    If your failing plugin support explicitly setting file path, it might be a work around.

    I had problems with Fabrics crashlyticsUploadDistributionRelease task, giving me the same stack trace as above. I fixed it by explicitly setting the output file path property in app/build.gradle:

    ext.betaDistributionApkFilePath = "app/build/outputs/apk/release/app-release.apk"

提交回复
热议问题