Appium只是闪烁白屏,并且不打开应用程序

发布于 2025-02-12 00:15:08 字数 531 浏览 1 评论 0原文

我面临一个奇怪的问题,Appium只是闪烁着白屏,并且不会打开应用程序,如果我在模拟器中手动打开应用程序,则可以使用。这个问题突然发生了。

我对这个问题的观察。 (不知道如何解决此问题)

  • 它仅针对诸如
  • appium日志中的telegram之类的应用程序发生,我看不到apppackage和activy(即使我已经设置了功能)
  • 在日志中,我看到了这个msg“ [uiautomator2]'app'app'也不是设置了“ AppPackage”。 我尝试过的“
  • 在我看到的日志中” [AndroidDreviver]没有发送的应用程序,而不是解析软件包 /活动”

解决方案:

  1. 更新了App
  2. apppackage和Activity正确的活动,
  3. app cache / Remand ot
  4. 请尝试清除App的缓存 /重新安装在实际设备中的

ocked nock任何帮助都非常感谢

原木太长,无法附加在这里

I am facing a strange issue, appium just flashes white Screen and does not open the app and if i keep the app open manually in the emulator it works. This issue just happen all of sudden.

My Observations on this issue. ( Not aware how to resolve this )

  • it happens only for few apps like Telegram
  • in the appium logs i dont see appPackage and Activity ( even though i have set capabilities)
  • in the logs i see this msg "[UiAutomator2] Neither 'app' nor 'appPackage' was set. Starting UiAutomator2 without the target application
    "
  • in the logs i see " [AndroidDriver] No app sent in, not parsing package/activity "

Solutions I tried:

  1. updated the app
  2. appPackage and Activity is correct
  3. tried clearing the cache of the app / reinstalled it
  4. tried in real device still no luck

Any help is much appreciated

Logs are too lengthy to attach here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逆蝶 2025-02-19 00:15:08

它解决了,这是一个愚蠢的错误,我给了一个不同的属性,在所需的上限我使用了其他属性名称(基本上是我存储AppPackage和Activity名称以及使用它的地方的地方,我使用它的地方是不同的)

its resolved, It was a silly mistake, i had given a different property and in the desired caps i used a different property name (basically the place where i am storing the appPackage and Activity name and where i am using it was different )

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文