Ionic on Windows: Android SDK installed. Still get “Error: Please install Android target: ”android-22"

前端 未结 7 1175
鱼传尺愫
鱼传尺愫 2021-01-01 21:46

I have managed to break my previously working version of the Ionic enviroment. For example: I download the demo project \"sidemenu\" and run \"ionic platform add android\" w

7条回答
  •  难免孤独
    2021-01-01 22:24

    First of all, sorry for my dummy english. I just had the same problem and I fix it changing the target:

    # Project target.    
    target=android-22 (I had set this to android-23)
    

    This should be done in two files:

    yourApp/platforms/android/project.properties    
    yourApp/platforms/android/CordovaLib/project.properties
    

    Also the manifest should be updated:

    
    

提交回复
热议问题