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

后端 未结 12 2097
半阙折子戏
半阙折子戏 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:52

    I encountered this issue now too. The problem in my case is that the ant.properties file that I'm using is pointed to wrong and NOT existing file.

    key.store=D:/Fedmich/_keys/android.keystore
    

    After correcting it, I was able to compile a release apk. Hope this helps someone in the future. Just be sure to read the error_logs that is given in the command prompt.

提交回复
热议问题