简体   繁体   中英

Trying to start appium server from the command line but keep getting this error

C:\Users\13024\PycharmProjects\UltraShop_Clean
Encountered internal error running command: Error: Could not sign with default certificate. Original error Command 'C:\Program Files\Java\jdk1.8.0_251\bin\bin\java.exe' not found. Is it installed?
[debug] [W3C]     at ADB.signWithDef

java is installed and working it does have two \bins that do not exist

An unknown server-side error occurred while processing the command. Original error: 
Could not sign with default certificate. Original error Command 
'C:\Android\Studio\jre\bin\bin\java.exe' not found. Is it installed?

my system envs:

win10环境

Removing the /bin from my java env Var and restarting computer worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM