-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"[ADB] Incorrect package and activity. Retrying." after using runAppInBackground() #8423
Comments
There is a known bug there, which was fixed in Appium 1.6.5-beta |
And how i can get this version? I cant find any version for Appium Desktop or windows :( |
It's only available via npm:
|
Is there a plan to merge this into Appium Desktop? |
I tried it now with 1.6.5-beta, got the same issue... Do you have a link to the existing issue? I dont think this is corrected yet. |
Ok, randomly on my seccond attempt it worked -.- |
I'm using 1.6.5 stable ver , but getting the same result as described. The app goes to background and then return , but the next step fails on :
Any Ideas ? |
I am facing issue(Incorrect Package and Activity), with Appium Version 1.6.5, 1.6.6beta4 and 1.7.1 and Android version 6.0 - 8.0.1. |
As BankUserJay commented, I have the same issue with appium version 1.7.1. The unusual thing is that I can see the app launched and the first activity there but appium does not recognize it. Any other solution please? |
I am/was also seeing this error with v1.7.1.. restarting device did help and now I am not seeing this error anymore (for now) |
I havent had this error since then. Im using appium 1.7.1. |
Having the same issue Please help I have tried Appium 1.6.4 , 1.6.5, 1.7.1, 1.7.2 no luck |
Appium Error: Console: I have tried with 1.3, 1.6.2, 1.6.5 beta version, having the same error. Please suggest me on this |
@irfanpace |
Hi Guys, I facing below issue with App Package and Main Activity "Found package: 'com.google.android.packageinstaller' and fully qualified activity name : 'com.android.packageinstaller.permission.ui.GrantPermissionsActivity' Appium: 1.6.1 and higher versions displaying above error Below Code is not working Please help me regarding this issue. |
@nagarjunay |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The problem
For a specific test case i have to close and reopen the app in the same activity without resetting anything. The command driver.runAppInBackground(5) works well and the right screen appears after 5 seconds. But afterwarts the appium server says that the package and activity are incorrect
[ADB] Incorrect package and activity. Retrying. [ADB] Getting focused package and activity [ADB] Getting connected devices... [ADB] 1 device(s) connected.
Environment
Details
I tryed to close the Application with the home button then open the application with the application icon on the screen or with driver.startActivity(). Both ways results on the homescreen of the application and not on that one i was before.
The text was updated successfully, but these errors were encountered: