我正按照此处的说明尝试发布我的Android应用:
http://ionicframework.com/docs/guide/publishing.html
但是,当我运行cordova build --release android时,我收到以下错误:
:lintVitalArmv7Release
/Users/xxx/Documents/xxx/xxx/platforms/android/res/values/arrays.xml:3: Error: "country_codes" is not translated in "ar" (Arabic), "bg" (Bulgarian), "ca" (Catalan), "cs" (Czech), "da" (Danish), "de" (German), "el" (Greek), "es" (Spanish), "eu" (Basque), "fi" (Finnish), "fr" (French), "he" (Hebrew), "hi" (Hindi), "hu" (Hungarian), "id" (Indonesian), "it" (Italian), "iw" (Hebrew), "ja" (Japanese), "ko" (Korean), "nl" (Dutch), "pl" (Polish), "pt" (Portuguese), "ru" (Russian), "sk" (Slovak), "sl" (Slovene), "sv" (Swedish), "tr" (Turkish), "zh-rCN" (Chinese: China), "zh-rTW" (Chinese: Taiwan, Province of China) [MissingTranslation]
<string-array name="country_codes"> …Run Code Online (Sandbox Code Playgroud) 我是cordova的新手,所以如果我的问题不相关,请原谅我.我在Windows 7 x64机器上有一个cordova项目.昨天我通过构建我的cordova应用程序cordova build android --release.但我需要添加新的插件cordova-plugin-zip来更新我的cordova项目.我做了什么把这个插件添加到我的cordova应用程序;
npm install -g git 我在cmd上写了这个命令.;C:\Program Files (x86)\Git\bin;C:\Program Files (x86)\Git\cmdcordova plugin add https://github.com/apache/cordova-plugin-file.gitcordova plugin add https://github.com/MobileChromeApps/zip.git
(一切都很好,直到这一步)cordova build android --release不幸的是,它会抛出以下错误;
BUILD FAILED C:\ android\sdk\tools\ant\build.xml:720:执行此行时发生以下错误:C:\ android\sdk\tools\ant\build.xml:734:编译失败; 有关详细信息,请参阅编译器错误输出.
总时间:7秒
C:\ hascevher\platforms\android\cordova \node_modules\q\q.js:126 throw e; ^命令的错误代码1:cmd with args:/ s,/ c,ant,release,-f,C:\ hascevher\platf orms\android\build.xml,-Dout.dir = ant-build,-Dgen. absolute.dir = ant-gen ERROR构建其中一个平台:错误:cmd:命令失败,退出代码为1
您可能没有所需的环境或操作系统来构建此项目错误:cmd:命令失败,退出代码1在ChildProcess.whenDone(C:\ Users\Hddn\AppData\Roaming \npm \node_modules\cor dova \node_modules\cordova- lib\src\cordova\superspawn.js:134:23)在Process.ChildProcess._handle.onexit(child_process.js)的maybeClose(child_process.js:1015:16)的ChildProcess.emit(events.js:110:17) :1087:5)
当我尝试创建一个新的helloworld cordova项目并添加android平台然后从cmd cordova build android它创建示例应用程序?
那么我的其他应用程序有什么问题? …