1

I am having a react-native app with the bundle com.name.dev.app. I added Fabric/Crashlytics to both iOS and Android and use Fabric Crashlytics Beta for internal distribution. I see both Apps in the Fabric dashboard and when building a release build I can see the crashes in the respective apps's dashboard. This worked for about 7 days.

Now, when trying to upload an APK to Beta via the Android Studio Fabric Plugin or via our Fastlane CI Pipeline, I am getting an error saying:

WARN - Crashlytics had a problem uploading the distribution. Project applicationname is inactive
Exception in thread "main" com.crashlytics.tools.android.exception.PluginException: Distribution upload failed.
    at com.crashlytics.tools.android.DeveloperTools.processProperties(DeveloperTools.java:667)
    at com.crashlytics.tools.android.DeveloperTools.processArgsInternal(DeveloperTools.java:348)
    at com.crashlytics.tools.android.DeveloperTools.main(DeveloperTools.java:273)
Caused by: com.crashlytics.tools.android.exception.DistributionException: Crashlytics halted compilation because it had a problem uploading the distribution.Project applicationname is inactive
    at com.crashlytics.tools.android.DistributionTasks.uploadDistribution(DistributionTasks.java:91)
    at com.crashlytics.tools.android.DeveloperTools.processProperties(DeveloperTools.java:665)
    ... 2 more

I removed the Android app from Fabric and tried to recreate it. That failed, so I had to reach out to Crashlytics via Twitter and someone was so kind and manually re-activated the app again for Android. Crash collection still works on both platform and uploading new IPA files to the iOS is flawless. But I cannot upload an APK to the Android app.

I am a bit clueless. The project ist kind of active as it receives crashes but doesn't allow me to add APK to Beta.

4

2 回答 2

1

谢谢。如果您收到此“非活动”错误,您需要联系 support[at]fabric.io 并提供您的软件包名称或捆绑包 ID。我们需要手动激活我们这边的应用程序。

于 2018-07-30T17:02:47.707 回答
0

由于 Crashlytics/Fabric 的大力支持,它现在正在运行。所以解决方案如下。首先,支持必须手动启用该项目。最好的联系方式是通过电子邮件或推特。完成此操作后,我必须在我的 Android 应用程序 build.gradle 上注释掉/删除以下行:

crashlytics {
    enableNdk true
    // manifestPath 'src/main/AndroidManifest.xml'**
}

显然,Crashlytics 无法自行找到 AndroidManifest 并正确解析它,因此您的 App 最终会出现在 Fabric Dashboard 中的正确 App 中。

于 2018-08-03T19:18:31.510 回答