Dan*_*ico 10 android crashlytics-android
我使用classpath'io.fabric.tools:gradle:1.+'并在我用于fabric插件的模块中有一个fabric.properties.
当我跑步时,gradlew crashlyticsUploadDistributionProdStaging我得到:
`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
Run Code Online (Sandbox Code Playgroud)
为什么?
Dan*_*ico 21
在我fabric.properties使用正确的数据更新并拆分命令后,它工作正常:
gradlew assembleProdStaging
gradlew crashlyticsUploadDistributionProdStaging
Run Code Online (Sandbox Code Playgroud)
没有它,错误仍然出现.
有同样的问题。
在gradle中设置清单清单路径可以解决此问题:
crashlytics {
manifestPath = "$buildDir/PATH_TO_YOUR_MANIFEST/AndroidManifest.xml"
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6281 次 |
| 最近记录: |