android - Cordova build is unable to resolve target even though target is installed -


I am trying to setup a Fongap project and when i cordova build android : < / P>

  Build failed / application / Android- sdk-mac_x86 / tools / ant / build.xml: 601: while executing this line following error: / users / David / project / Android -sdk -macosx / tools / ant / build.xml: 542: project goal 'android-L unable to resolve'   

the funny thing about it is that Android I-L Set target I run android list target I get:

  Available Android goals: ---------- ID: 1 or "Android-3 ".. Id: 11 or" Android-L "name: Android L-type (preview) Platform API level: l Amendment 4 Skins: HVGA, QVGA, WQVGA400, Dblukyuviaji 432, Dblyuesvijia, Dbluviaji 8800 (default), Dbluviajiaattia 4 , WxGA 720, WXG 8,800, WXGA800-7in Tag / Abi: Android-TV / ARME Mr. V 7 A, Android-TV / X86, default / Armebi-V 7 A default / X86, default / x86_64   

Also I've explicitly set another Android from - Project-target for processing Like this: android update project -p-a android-17 I also tried to add the --subprojects parameter but I still got the wrong error in the above version

Thank you!

Well, I did it myself: I opened the project in Eclipse, the project name Clicked and chose "properties". In the Properties menu on the left side, I chose "Android" in the panel of libraries in front of it was a library with red cross. I think this was determined to target Library = Android-L. I deleted it and could later build this project.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

python - 'NoneType' object is not callable using 'find_all' in BeautifulSoup -