10

Im using classpath 'io.fabric.tools:gradle:1.+' and have a fabric.properties inside the module that I use for the fabric plugin.

When I run gradlew crashlyticsUploadDistributionProdStaging I get:

`Crashlytics could not find the manifest`
com.crashlytics.tools.android.project.ManifestData$ManifestIOException: Crashlytics could not find the manifest. Not found at .../app/build/intermediates/manifests/full/prod/staging/AndroidManifest.xml

Why?

Daniel Gomez Rico
  • 15,026
  • 20
  • 92
  • 162

2 Answers2

21

It worked after I updated the fabric.properties with the right data and split the commannds:

gradlew assembleProdStaging 
gradlew crashlyticsUploadDistributionProdStaging 

Without that the error still appear.

Daniel Gomez Rico
  • 15,026
  • 20
  • 92
  • 162
6

Had the same problem.

Setting mansifest path in gradle solves the issue:

crashlytics {
    manifestPath = "$buildDir/PATH_TO_YOUR_MANIFEST/AndroidManifest.xml"
}
user917938
  • 313
  • 3
  • 9