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
"Error:Appium Settings app is not running after 30000ms" while running emulator in headless in Android version 13 and 14 #20074
Comments
It looks like the emulator startup performs too slow. Try to preboot it before the test starts or get a faster machine |
But i am already using the below capabilities And according to appium logs , device is getting recognized [ADB] Getting connected devices |
@mykola-mokhnach One more info , it sometimes run fine . When i hit adb logcat simultaneously and sometimes even on hitting adb logcat it gives same above mentioned issue. But adb logcat just log the messages. It should not have any impact over the issue. |
closing as third party issue, which is related to the host machine slowness |
Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
I want to run the emultaor in headless , on Android 10 it is running fine but in Android 13 and 14 i am getting the issue as
“Error: Appium Settings app is not running after 30000ms” while everything is running fine when i am not using headless mode.
Due to which app is not launching
Expected Behavior
Want app to launch without getting the below error
“Error: Appium Settings app is not running after 30000ms”
Minimal Reproducible Example
I am using Android Studio to create emulator and i am using below code to run in headless. I am getting this issue with Android version 13 and 14 on Android 10 it is running fine
UiAutomator2Options options=new UiAutomator2Options();
options.setAutomationName(property.returnProperty("automationName"));
options.setPlatformName(Platform.ANDROID.name());
options.setPlatformVersion(platformVersion);
options.setAppPackage(property.returnProperty("appPackage"));
options.setAppActivity(property.returnProperty("appActivity"));
options.noReset();
options.autoGrantPermissions();
options.setNewCommandTimeout(Duration.ofSeconds(120));
options.setIsHeadless(true);
options.setAvdArgs("-no-window");
options.setAvdArgs("-no-skin");
options.setAvdArgs("-no-audio");
options.setAvdArgs("--log-level debug");
options.setAvdLaunchTimeout(Duration.ofMillis(120000));
options.setAvdReadyTimeout(Duration.ofMillis(120000));
options.setCapability("avd",emulatorName());
options.setCapability("ignoreHiddenApiPolicyError",true);
options.setCapability("avdArgs","-netfast -no-boot-anim");
Environment
appium --version
):node --version
):npm
version (output ofnpm --version
):Link to Appium Logs
https://gist.github.com/SanskarTx/35324127d0da5fe59a048fa72159c321
Further Information
No response
The text was updated successfully, but these errors were encountered: