Crashlytics could not find the manifest with the tag. The properties

I use the classpath 'io.fabric.tools: gradle: 1. +' and have the fabric.properties property inside the module that I use for the 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?

+6
source share
2 answers

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

 gradlew assembleProdStaging gradlew crashlyticsUploadDistributionProdStaging 

Without this, an error still appears.

+21
source

Had the same problem.

Setting manifest path in gradle solves the problem:

 crashlytics { manifestPath = "$buildDir/PATH_TO_YOUR_MANIFEST/AndroidManifest.xml" } 
+2
source

Source: https://habr.com/ru/post/1242908/


All Articles