1

我有一个 Android 应用程序,当我编译和运行时工作正常。作为 CI 流程的一部分,我们使用 HockeyApp 让我们的测试人员下载该应用程序。

当应用程序被 HockeyApp 下载并直接启动时,应用程序的行为与我编译和运行它时不同。

如果我只是从 HockeyApp 下载并安装,而不是直接启动它(例如 HockeyApp 会询问我们是否要启动它),我单击 DONE 然后手动启动它,应用程序运行正常。

我不知道从哪里开始调试此类问题......以及为什么如果我们使用 HockeyApp 启动它会导致不同的行为。也许这不是一个真正的问题,因为当我们从 GooglePlay 安装并启动它时,它不应该有问题......但我不完全确定。

任何指南我应该如何开始调试问题?

p/s:只是补充一点,不同的行为是,设置值(在 TABBAR 上选择的 TAB)不会保持不变。当我们进入后台并返回时,它会重置为初始值。即使“不保持活动”处于关闭状态,也会发生这种情况。注意:在正常行为中,该值是持久的,并使用 SavedInstanceState 正确存储它,即即使我们有 DON"T KEEP ACTIVITY,它仍然没有任何问题。

4

1 回答 1

0

I'm the developer of the HockeyApp app for Android. Can you post screenshots on how the app behaves differently when you launch it after installed through HockeyApp than through your IDE? This was not really clear to me from your post.

Feel free to open a support request, where you can also post screenshots explaining the issue. I will make sure to handle this directly.

Some background: HockeyApp only downloads the APK. Once the download is completed, the APK is handed over to the Android package manager, which is taking care of installation and launching the app. This is the only way how non-system apps can install APKs on Android.

于 2016-03-01T07:52:35.373 回答