cordova platform add android gives the error: “Error: The provided path is not an Android project.”

后端 未结 7 1302
一个人的身影
一个人的身影 2021-02-02 13:24

When I run the command, I get the error:

C:\\Users\\me\\adtworkspace\\project1>cordova platform add android [Error: The provided path \"C:\\Users\\me\

7条回答
  •  你的背包
    2021-02-02 14:22

    I have faced the same but building for iOS. I had an old build within the platforms folder. Try deleting it, then build again:

    phonegap build [ios/android]
    

    Hope this helps!

提交回复
热议问题