有人可以帮我解决问题吗?
答案 0 :(得分:0)
你必须在环境变量中将java目录添加为JAVA_HOME
,或者在PATH
变量的末尾添加java目录。
答案 1 :(得分:0)
转到C:\Users\Arnold\.cordova\lib\npm_cache\cordova-android\3.6.3\package\framework\project.properties
将目标android下的19
更改为17
。
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-17
apk-configurations=
renderscript.opt.level=O0
android.library=true