Appium driver blocks app opening

I have an issue with mobile testing.

When I use this command

Mobile.startApplication(appPath, false)
=> My app is installed, start and restart again in loop

When I used
MyshellCmd.runCmd('taskkill /F /IM node.exe') Mobile.startExistingApplication(appId)
=> My app is opened but I can interract with it

At this step, when I used
AppiumServiceBuilder serviceBuilder1 = new AppiumServiceBuilder() serviceBuilder1.usingPort(port) server1 = AppiumDriverLocalService.buildService(serviceBuilder1) server1.start() DesiredCapabilities capabilities = new DesiredCapabilities() AppiumDriverManager.createMobileDriver(MobileDriverType.ANDROID_DRIVER, capabilities,server1.getUrl())
My app starts and restarts in loop

My logs are attached
appium.log (11.2 KB) execution0.log (517.6 KB)
appium.log (36.2 KB)
I tried many configuration but without success.

Could you help me ?
Thanks a lot

Hi @b.henry1,

Could you share more details about this case. You can interract with it that means you can or cannot do simulate actions on this app?

Btw, I saw you are using Appium v1.8.1, you can try to update Appium to the latest version.