Cordova Error: Failed to fetch platform cordova-browser@~5.0.0

后端 未结 2 1878
北海茫月
北海茫月 2020-12-21 16:55

when i build cordova project it working fine. output also shown.But, after few minutes later it shows this error

Error: Failed to fetch platform cordo

相关标签:
2条回答
  • 2020-12-21 17:05

    Remove the platform which you try to run on it (browser, ios, android, and etc.)

    For example (run cmd, locate to your project folder and type):

    cordova platform rm browser
    

    Add the platform again

    cordova platform add browser
    

    You can run

    cordova run browser
    
    0 讨论(0)
  • 2020-12-21 17:16

    CordovaError: Failed to fetch platform cordova-android@^8.0.0/ cordova – Error: Failed to fetch platform android

    If you face any of the above error, please perform following step to solve this

    1) Please add C:\Windows\System32 in envrionment variable paths

    2) ensure JDK/bin path is setup under JAVA_HOME and path

    3) ensure sdk path is setup under ANDROID_HOME and path

    0 讨论(0)
提交回复
热议问题