Answered

Appium Error "Incorrect package and activity. Retrying"

Everytime I try to run the Mobile_load_app command in subject 7 it throws an error as shown below multiple times and closes the application after launching it successfully: 

Getting focused package and activity
[ADB] Running 'C:\Users\rnandy002\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window displays'
[ADB] Found package: 'com.google.android.apps.authenticator2' and fully qualified activity name : 'com.google.android.apps.authenticator.howitworks.HowItWorksActivity'
[ADB] Incorrect package and activity. Retrying.
0
3 comments
Avatar
Joseph Hamdan

Hi Raunak,

In the App Source Type under Mobile_Load_App command, what is your selection? 

If it's URL, could you please send us the URL of the app, and if it's File, could you please send us the file? 

Note: If it's a file, please reply to this response via email so that you are able to attach it.

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Raunak,

What's the current version of Appium that you have? You will see the version when staring Appium in CMD as below.

If it's not 1.17.1, could you please update it using command:

npm install -g appium@1.17.1

Regards,

Subject7 Team

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Raunak,

Could you please let us know if you have an update on the last comment we added?

Regards,

Subject7 Team

0
Comment actions Permalink

Please sign in to leave a comment.