Appium只是闪烁白屏,并且不打开应用程序
我面临一个奇怪的问题,Appium只是闪烁着白屏,并且不会打开应用程序,如果我在模拟器中手动打开应用程序,则可以使用。这个问题突然发生了。
我对这个问题的观察。 (不知道如何解决此问题)
- 它仅针对诸如
- appium日志中的telegram之类的应用程序发生,我看不到apppackage和activy(即使我已经设置了功能)
- 在日志中,我看到了这个msg“ [uiautomator2]'app'app'也不是设置了“ AppPackage”。 我尝试过的“
- 在我看到的日志中” [AndroidDreviver]没有发送的应用程序,而不是解析软件包 /活动”
解决方案:
- 更新了App
- apppackage和Activity正确的活动,
- app cache / Remand ot
- 请尝试清除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:
- updated the app
- appPackage and Activity is correct
- tried clearing the cache of the app / reinstalled it
- tried in real device still no luck
Any help is much appreciated
Logs are too lengthy to attach here
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它解决了,这是一个愚蠢的错误,我给了一个不同的属性,在所需的上限我使用了其他属性名称(基本上是我存储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 )