Hi,
I’m running Junit script selenium/eclipse IDE as below:
File appDir = new File("D:\\Automation");
File app = new File(appDir, "calculator.apk");
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
capabilities.setCapability("deviceName", "emulator-5554");
capabilities.setCapability("platformVersion", "6.0");
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("app", app.getAbsolutePath());
capabilities.setCapability("appPackage", "net.tecnotopia.SimpleCalculator");
capabilities.setCapability("appActivity", ".SimpleCalculatorActivity");
System.out.println("Launching is Starting...");
driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);
System.out.println("Launching is Done...");
Thread.sleep(10000);
But its throwing the below error:
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c ““C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s emulator-5554 install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk””
I tried to run on command prompt,
adb.exe -s emulator-5554 install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk”
but a popup error message displays as: adb.exe has stopped working.
=================================================
The configuration details on my laptop are as below:
JDK 8 (1.8.0.91)
Android SDK: android-sdk_r24.4.1-windows
Appium: 1.4.16.1
Appium Client: java-client-4.0.0
Selenium: 2.53.0
Eclipse: Mars2
ARM Emulator
=================================================
Selenium/Junit log displays as below:
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c ““C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe” -s emulator-5554 install “C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk””
) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 66.49 seconds
Build info: version: ‘2.53.0’, revision: ‘35ae25b’, time: ‘2016-03-15 16:57:40’
System info: host: ‘HCHLH1215LP0699’, ip: ‘192.168.105.33’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_91’
Driver info: io.appium.java_client.android.AndroidDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:51)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:47)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:114)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:132)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:97)
at com.appium.Exercise_01.setUp(Exercise_01.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
java.lang.NullPointerException
at com.appium.Exercise_01.tearDown(Exercise_01.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
==============================================================
Appium log displays as below:
--------- beginning of system
06-10 10:39:03.424 720 720 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=292.0, y[0]=482.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=80167906, downTime=8158786, deviceId=0, source=0x1002 }
06-10 10:39:03.426 720 720 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=292.0, y[0]=482.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=80167906, downTime=8158786, deviceId=0, source=0x1002 }
06-10 10:39:03.427 720 720 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=292.0, y[0]=482.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=80167906, downTime=8158786, deviceId=0, source=0x1002 }
06-10 10:39:03.880 295 405 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher3/.Launcher (has extras)} from uid 1000 on display 0
--------- beginning of main
06-10 10:39:04.152 55 55 D gralloc : Registering a buffer in the process that created it. This may cause memory ordering problems.
06-10 10:39:04.154 55 55 E libEGL : called unimplemented OpenGL ES API
06-10 10:39:04.155 55 55 E SurfaceFlinger: glCheckFramebufferStatusOES error 0
06-10 10:39:04.156 55 55 E SurfaceFlinger: got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
06-10 10:39:04.318 295 324 W art : Long monitor contention event with owner method=android.graphics.Bitmap com.android.server.wm.WindowManagerService.screenshotApplicationsInner(android.os.IBinder, int, int, int, boolean) from WindowManagerService.java:6213 waiters=0 for 214ms
06-10 10:39:04.521 720 720 W ViewRootImpl: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=292.0, y[0]=482.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=80167906, downTime=8158786, deviceId=0, source=0x1002 }
06-10 10:39:04.579 295 415 W art : Long monitor contention event with owner method=int com.android.server.am.ActivityStackSupervisor.startActivityMayWait(android.app.IApplicationThread, int, java.lang.String, android.content.Intent, java.lang.String, android.service.voice.IVoiceInteractionSession, com.android.internal.app.IVoiceInteractor, android.os.IBinder, java.lang.String, int, int, android.app.ProfilerInfo, android.app.IActivityManager$WaitResult, android.content.res.Configuration, android.os.Bundle, boolean, int, android.app.IActivityContainer, com.android.server.am.TaskRecord) from ActivityStackSupervisor.java:946 waiters=0 for 654ms
06-10 10:39:04.878 634 634 I Choreographer: Skipped 130 frames! The application may be doing too much work on its main thread.
06-10 10:39:04.915 295 316 W art : Long monitor contention event with owner method=int com.android.server.am.ActivityStackSupervisor.startActivityMayWait(android.app.IApplicationThread, int, java.lang.String, android.content.Intent, java.lang.String, android.service.voice.IVoiceInteractionSession, com.android.internal.app.IVoiceInteractor, android.os.IBinder, java.lang.String, int, int, android.app.ProfilerInfo, android.app.IActivityManager$WaitResult, android.content.res.Configuration, android.os.Bundle, boolean, int, android.app.IActivityContainer, com.android.server.am.TaskRecord) from ActivityStackSupervisor.java:946 waiters=2 for 450ms
06-10 10:39:05.070 295 308 W art : Long monitor contention event with owner method=void com.android.server.wm.WindowAnimator$1.doFrame(long) from WindowAnimator.java:121 waiters=0 for 269ms
06-10 10:39:05.578 634 634 I Choreographer: Skipped 59 frames! The application may be doing too much work on its main thread.
06-10 10:39:06.709 720 740 W art : Suspending all threads took: 29.855ms
06-10 10:39:07.052 720 740 I art : Background sticky concurrent mark sweep GC freed 14777(743KB) AllocSpace objects, 0(0B) LOS objects, 7% free, 16MB/17MB, paused 95.060ms total 921.973ms
06-10 10:39:07.119 295 306 I art : Background partial concurrent mark sweep GC freed 10197(786KB) AllocSpace objects, 28(560KB) LOS objects, 33% free, 5MB/8MB, paused 6.250ms total 2.892s
06-10 10:39:07.217 634 634 I Choreographer: Skipped 161 frames! The application may be doing too much work on its main thread.
06-10 10:39:07.838 295 405 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher3/.Launcher (has extras)} from uid 1000 on display 0
06-10 10:39:08.235 634 634 I Choreographer: Skipped 45 frames! The application may be doing too much work on its main thread.
06-10 10:39:08.322 720 720 I Choreographer: Skipped 312 frames! The application may be doing too much work on its main thread.
06-10 10:39:08.814 634 634 I Choreographer: Skipped 58 frames! The application may be doing too much work on its main thread.
06-10 10:39:08.930 295 324 W art : Long monitor contention event with owner method=int com.android.server.wm.WindowManagerService.relayoutWindow(com.android.server.wm.Session, android.view.IWindow, int, android.view.WindowManager$LayoutParams, int, int, int, int, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.content.res.Configuration, android.view.Surface) from WindowManagerService.java:3097 waiters=0 for 406ms
06-10 10:39:09.281 634 634 I Choreographer: Skipped 46 frames! The application may be doing too much work on its main thread.
06-10 10:39:09.364 295 314 I UsageStatsService: User[0] Rolling over usage stats
06-10 10:39:09.367 295 314 I UsageStatsService: User[0] Flushing usage stats to disk
06-10 10:39:09.585 295 633 W art : Long monitor contention event with owner method=void com.android.server.wm.WindowAnimator$1.doFrame(long) from WindowAnimator.java:121 waiters=0 for 119ms
06-10 10:39:09.980 295 324 I Choreographer: Skipped 51 frames! The application may be doing too much work on its main thread.
06-10 10:39:10.014 295 633 W art : Long monitor contention event with owner method=void com.android.server.wm.WindowManagerService$H.handleMessage(android.os.Message) from WindowManagerService.java:7990 waiters=0 for 392ms
06-10 10:39:10.129 295 825 W art : Long monitor contention event with owner method=void com.android.server.wm.WindowManagerService$H.handleMessage(android.os.Message) from WindowManagerService.java:7990 waiters=1 for 212ms
06-10 10:39:10.240 720 720 I Choreographer: Skipped 193 frames! The application may be doing too much work on its main thread.
06-10 10:39:10.585 295 324 I Choreographer: Skipped 31 frames! The application may be doing too much work on its main thread.
06-10 10:39:10.961 295 324 I Choreographer: Skipped 35 frames! The application may be doing too much work on its main thread.
06-10 10:39:12.365 720 720 I Choreographer: Skipped 213 frames! The application may be doing too much work on its main thread.
06-10 10:39:13.415 720 720 I Choreographer: Skipped 73 frames! The application may be doing too much work on its main thread.
06-10 10:39:14.609 295 315 W ActivityManager: Activity stop timeout for ActivityRecord{c4be1b1 u0 net.tecnotopia.SimpleCalculator/.MainActivity t4}
06-10 10:39:15.089 634 645 I art : Background partial concurrent mark sweep GC freed 30361(1733KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 3MB/5MB, paused 16.801ms total 3.570s
06-10 10:39:15.540 634 634 W art : Long monitor contention event with owner method=boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) from MessageQueue.java:541 waiters=0 for 123ms
06-10 10:39:15.636 295 415 I ActivityManager: Activity reported stop, but no longer stopping: ActivityRecord{c4be1b1 u0 net.tecnotopia.SimpleCalculator/.MainActivity t4}
06-10 10:39:17.264 295 314 I UsageStatsService: User[0] Rollover scheduled @ 2016-06-11 05:30:00(1465603200000)
06-10 10:39:17.280 295 314 I UsageStatsService: User[0] Flushing usage stats to disk
06-10 10:39:17.536 295 314 I UsageStatsService: User[0] Rolling over usage stats complete. Took 8179 milliseconds
06-10 10:39:38.079 24344 24344 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
06-10 10:39:38.160 24344 24344 D AndroidRuntime: CheckJNI is ON
06-10 10:39:39.184 24344 24344 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
06-10 10:39:39.265 24344 24344 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
06-10 10:39:39.708 24344 24344 E memtrack: Couldn’t load memtrack module (No such file or directory)
06-10 10:39:39.712 24344 24344 E android.os.Debug: failed to load memtrack module: -2
06-10 10:39:39.748 24344 24344 I Radio-JNI: register_android_hardware_Radio DONE
06-10 10:39:40.060 24344 24344 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
06-10 10:39:40.406 24344 24344 I art : System.exit called, status: 0
06-10 10:39:40.406 24344 24344 I AndroidRuntime: VM exiting with result code 0.
06-10 10:39:48.042 24374 24374 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
06-10 10:39:48.160 24374 24374 D AndroidRuntime: CheckJNI is ON
06-10 10:39:49.030 24374 24374 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
06-10 10:39:49.119 24374 24374 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
06-10 10:39:49.600 24374 24374 E memtrack: Couldn’t load memtrack module (No such file or directory)
06-10 10:39:49.600 24374 24374 E android.os.Debug: failed to load memtrack module: -2
06-10 10:39:49.641 24374 24374 I Radio-JNI: register_android_hardware_Radio DONE
06-10 10:39:50.111 24374 24374 D AndroidRuntime: Calling main entry com.android.commands.am.Am
06-10 10:39:50.214 295 307 I ActivityManager: Force stopping net.tecnotopia.SimpleCalculator appid=10053 user=0: from pid 24374
06-10 10:39:50.222 295 307 I ActivityManager: Killing 1090:net.tecnotopia.SimpleCalculator/u0a53 (adj 7): stop net.tecnotopia.SimpleCalculator
06-10 10:39:50.504 295 307 E libprocessgroup: failed to kill 1 processes for processgroup 1090
06-10 10:39:50.522 295 307 W ActivityManager: Force removing ActivityRecord{c4be1b1 u0 net.tecnotopia.SimpleCalculator/.MainActivity t4}: app died, no saved state
06-10 10:39:50.918 295 316 W art : Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.forceStopPackage(java.lang.String, int) from ActivityManagerService.java:5254 waiters=0 for 672ms
06-10 10:39:50.921 24374 24374 D AndroidRuntime: Shutting down VM
06-10 10:39:51.022 295 317 W art : Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.forceStopPackage(java.lang.String, int) from ActivityManagerService.java:5254 waiters=1 for 562ms
06-10 10:39:58.479 24406 24406 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
06-10 10:39:58.539 24406 24406 D AndroidRuntime: CheckJNI is ON
06-10 10:39:59.424 24406 24406 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
06-10 10:39:59.598 24406 24406 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
06-10 10:40:01.321 24406 24406 E memtrack: Couldn’t load memtrack module (No such file or directory)
06-10 10:40:01.321 24406 24406 E android.os.Debug: failed to load memtrack module: -2
06-10 10:40:01.440 24406 24406 I Radio-JNI: register_android_hardware_Radio DONE
06-10 10:40:02.418 720 720 I Choreographer: Skipped 78 frames! The application may be doing too much work on its main thread.
06-10 10:40:02.613 24406 24406 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
06-10 10:40:02.747 295 633 I ActivityManager: Force stopping net.tecnotopia.SimpleCalculator appid=10053 user=0: clear data
06-10 10:40:02.946 295 315 I ActivityManager: Start proc 24435:com.android.documentsui/u0a26 for broadcast com.android.documentsui/.PackageReceiver
06-10 10:40:03.023 24435 24435 I art : Late-enabling JIT
06-10 10:40:03.203 24435 24435 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
06-10 10:40:04.132 295 332 W MountService: No primary storage defined yet; hacking together a stub
06-10 10:40:04.620 295 332 W MountService: No primary storage defined yet; hacking together a stub
06-10 10:40:04.950 295 332 W MountService: No primary storage defined yet; hacking together a stub
06-10 10:40:04.957 295 332 W MountService: No primary storage defined yet; hacking together a stub
06-10 10:40:05.003 24435 24435 W System : ClassLoader referenced unknown path: /system/app/DocumentsUI/lib/arm
06-10 10:40:05.088 24406 24406 I art : System.exit called, status: 0
06-10 10:40:05.089 24406 24406 I AndroidRuntime: VM exiting with result code 0.
06-10 10:40:06.967 295 308 I ActivityManager: Killing 671:android.process.acore/u0a2 (adj 15): empty for 79917s
06-10 10:40:07.292 295 308 E libprocessgroup: failed to kill 1 processes for processgroup 671
06-10 10:40:11.041 295 306 I art : Background sticky concurrent mark sweep GC freed 10213(1328KB) AllocSpace objects, 55(1100KB) LOS objects, 32% free, 5MB/8MB, paused 20.469ms total 254.847ms
06-10 10:40:12.233 24464 24464 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
06-10 10:40:12.333 24464 24464 D AndroidRuntime: CheckJNI is ON
06-10 10:40:13.228 24464 24464 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
06-10 10:40:13.430 24464 24464 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
06-10 10:40:14.166 24464 24464 E memtrack: Couldn’t load memtrack module (No such file or directory)
06-10 10:40:14.167 24464 24464 E android.os.Debug: failed to load memtrack module: -2
06-10 10:40:14.233 24464 24464 I Radio-JNI: register_android_hardware_Radio DONE
06-10 10:40:14.642 24464 24464 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
06-10 10:40:14.851 295 332 I ActivityManager: Start proc 24490:com.android.defcontainer/u0a3 for service com.android.defcontainer/.DefaultContainerService
06-10 10:40:14.997 24490 24490 I art : Late-enabling JIT
06-10 10:40:15.189 24490 24490 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
06-10 10:40:16.819 295 815 I ActivityManager: Start proc 24511:com.android.externalstorage/u0a6 for content provider com.android.externalstorage/.ExternalStorageProvider
06-10 10:40:16.845 24511 24511 I art : Late-enabling JIT
06-10 10:40:16.931 24511 24511 I art : JIT created with code_cache_capacity=2MB compile_threshold=1000
06-10 10:40:17.226 295 307 I ActivityManager: Killing 1032:com.android.exchange/u0a29 (adj 13): empty for 79925s
06-10 10:40:17.408 24511 24511 W System : ClassLoader referenced unknown path: /system/priv-app/ExternalStorageProvider/lib/arm
06-10 10:40:17.493 24511 24511 D ExternalStorage: After updating volumes, found 0 active roots
06-10 10:40:17.634 24490 24505 D DefContainer: Copying /data/local/tmp/settings_apk-debug.apk to base.apk
06-10 10:40:17.815 295 332 I PackageParser: io.appium.settings: compat added android.permission.WRITE_EXTERNAL_STORAGE
06-10 10:40:19.836 24435 24457 D Documents: Update found 5 roots in 13610ms
06-10 10:40:19.970 24435 24525 D Documents: Update found 5 roots in 2399ms
06-10 10:40:20.380 71 71 I SELinux : SELinux: Loaded file_contexts contexts from /file_contexts.
06-10 10:40:20.402 295 332 I PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/vmdl887801602.tmp/base.apk pkg=io.appium.settings isa=arm vmSafeMode=false debuggable=true oatDir = /data/app/vmdl887801602.tmp/oat
06-10 10:40:22.022 24533 24533 W dex2oat : Unknown instruction set features for ARM CPU variant (generic) using conservative defaults
06-10 10:40:22.055 24533 24533 I dex2oat : /system/bin/dex2oat --debuggable
06-10 10:40:22.094 24435 24446 W art : Suspending all threads took: 391.827ms
06-10 10:40:24.178 24511 24520 W art : Long monitor contention event with owner method=void java.lang.ref.ReferenceQueue.enqueue(java.lang.ref.Reference) from ReferenceQueue.java:4294967295 waiters=1 for 1.321s
06-10 10:40:24.206 24533 24533 I dex2oat : dex2oat took 2.200s (threads: 1) arena alloc=7KB java alloc=38KB native alloc=802KB free=477KB
06-10 10:40:24.325 295 332 W PackageManager: Attempt to re-install io.appium.settings without first uninstalling.
06-10 10:40:24.351 295 332 I art : Starting a blocking GC Explicit
06-10 10:40:24.572 295 332 I art : Explicit concurrent mark sweep GC freed 7609(576KB) AllocSpace objects, 12(240KB) LOS objects, 33% free, 5MB/8MB, paused 5.880ms total 215.138ms
06-10 10:40:24.787 24464 24464 I art : System.exit called, status: 1
06-10 10:40:24.788 24464 24464 I AndroidRuntime: VM exiting with result code 1.
06-10 10:40:28.379 295 633 I ActivityManager: Killing 1014:com.android.email/u0a27 (adj 13): empty for 79936s
06-10 10:40:28.646 295 633 E libprocessgroup: failed to kill 1 processes for processgroup 1014
06-10 10:41:00.980 720 720 I Choreographer: Skipped 30 frames! The application may be doing too much work on its main thread.
06-10 10:41:31.967 295 306 I art : Background sticky concurrent mark sweep GC freed 7600(1280KB) AllocSpace objects, 60(1200KB) LOS objects, 32% free, 5MB/8MB, paused 16.557ms total 157.765ms
===========================================================
Thanks in advance for providing any solution in this regard.
Shiv