Crashlytics could not find the manifest with fabric.properties

半世苍凉 提交于 2019-11-30 06:46:56

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!