Hi,
I am trying to run mobile app in android real device. I have connected the device through USB Debugging. When I run "adb devices" from command prompt device is display as attached devices. My phone's android version is 4.2.2. When i run the test as testng test nothing happens.
Please help me. Thank you in advance.
These are my appium logs.
error: Failed to start an Appium session, err was: Error: Permission to start activity denied.
info: [debug] Error: Permission to start activity denied.
at [object Object]. (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:1151:19)
at [object Object]. (C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\lib\adb.js:180:9)
at ChildProcess.exithandler (child_process.js:742:7)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1016:16)
at Process.ChildProcess.handle.onexit (childprocess.js:1088:5)
info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Permission to start activity denied.)","origValue":"Permission to start activity denied."},"sessionId":null}
info: <-- POST /wd/hub/session 500 16823.068 ms - 194