Cordova: You may not have the required environment or OS to run this project

后端 未结 12 2096
半阙折子戏
半阙折子戏 2020-12-10 04:24

On Linux Mint 17.1 x86_64, Cordova v4.3.0 gives this error:

$ cordova run android

Running command: /home/naman/test/platforms/android/cordova/run 
WARNING :         


        
12条回答
  •  生来不讨喜
    2020-12-10 04:42

    You may need to uninstall the existing app on your device.

    I installed my app on that device from another computer. When I run cordova run android I get

    You may not have the required environment or OS to run this project.

    But when I try to install my apk by adb it told my that the app was already installed. So I uninstalled it an it worked.

提交回复
热议问题