Cordova android emulation - Error: Cannot read property 'semver' of null

前端 未结 6 827
醉梦人生
醉梦人生 2021-01-30 13:30

Trying to emulate Android app with cordova, but get this error message:

Built the following apk(s): /Users/jnj/cordova/hello/platforms/android/build/outputs/apk/andr

6条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-30 13:47

    I had a similar problem and what I did was to run adb devices on the terminal to check if my device was prorprly connected or not and I found that my device was not connected properly, I think there was a problem with my USB cable and so I disconnected the cable and connected it again an ran the same command adb devices, then it showed my device as connected. My problem was solved, I hope it'll help someone else.

提交回复
热议问题