Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics could not find the manifest with fabric.properties

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?

like image 554
Daniel Gomez Rico Avatar asked Feb 12 '16 20:02

Daniel Gomez Rico


2 Answers

Had the same problem.

Setting mansifest path in gradle solves the issue:

crashlytics {
    manifestPath = "$buildDir/PATH_TO_YOUR_MANIFEST/AndroidManifest.xml"
}
like image 125
user917938 Avatar answered Oct 14 '22 13:10

user917938


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.

like image 33
Daniel Gomez Rico Avatar answered Oct 14 '22 14:10

Daniel Gomez Rico