问题
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?
回答1:
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.
回答2:
Had the same problem.
Setting mansifest path in gradle solves the issue:
crashlytics {
manifestPath = "$buildDir/PATH_TO_YOUR_MANIFEST/AndroidManifest.xml"
}
来源:https://stackoverflow.com/questions/35371480/crashlytics-could-not-find-the-manifest-with-fabric-properties