Unable to open UIAutomatorviewer on Mac High Sierra

前端 未结 2 903
深忆病人
深忆病人 2020-12-10 22:03

We have brand new MacBooks with High Sierra (10.13.6). Other system info:

JAVA Version: java version \"11.0.1\" 2018-10-16 LTS

Java(TM) SE

相关标签:
2条回答
  • 2020-12-10 22:19

    Work perfectly!

    step 1: cd ~/ step 2: vim ~/.bash_profile

    -Add text "export ANDROID_HOME ..." to end text.

    0 讨论(0)
  • 2020-12-10 22:27
    • Installed older java(8) JDK
    • Updated Java version to 1.8 in JAVA_HOME

    Commands used to update Java Version:

    cd ~/
    vim ~/.bash_profile
    Updated the JAVA_HOME
    Save in vim using :wq!
    source ~/.bash_profile
    

    • Restart & UiAutomatorViewer is working!
    0 讨论(0)
提交回复
热议问题