Skip to content

Instantly share code, notes, and snippets.

@QGB
Created May 24, 2019 09:31
Show Gist options
  • Save QGB/3486052bf8df4d10597a470ff6ce2653 to your computer and use it in GitHub Desktop.
Save QGB/3486052bf8df4d10597a470ff6ce2653 to your computer and use it in GitHub Desktop.
[BaseDriver] Event 'newSessionStarted' logged at 1558689893456 (17:24:53 GMT+0800 (中国标准时间))
[MJSONWP] Encountered internal error running command: Error: Command 'java' not found. Is it installed?
[MJSONWP] at ChildProcess.proc.on.err (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\teen_process\lib\exec.js:39:14)
[MJSONWP] at ChildProcess.emit (events.js:182:13)
[MJSONWP] at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
[MJSONWP] at onErrorNT (internal/child_process.js:406:16)
[MJSONWP] at process._tickCallback (internal/process/next_tick.js:63:19)
@QGB
Copy link
Author

QGB commented May 25, 2019

找不到java 原因 环境变量Path 中没有

An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.termux' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Activity name '.TermuxActivity' used to start the app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment