簡體   English   中英

雲連接的移動應用程序中的zend studio創建android應用程序無法正常工作

[英]zend studio in cloud connected mobile application create android application not working

我已經開發了一個簡單的雲連接的移動應用程序。 當我將此應用程序導出到本機應用程序時,出現以下錯誤。

錯誤截圖

Cordova library for "android" already exists. No need to download. Continuing.
Checking if platform "android" passes minimum requirements...
Checking Android requirements...
Running "android list target" (output to follow)
Available Android targets:
----------

id: 1 or "android-19"
     Name: Android 4.4
     Type: Platform
     API level: 19
     Revision: 1
     Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800, WXGA800-7in
     ABIs : armeabi-v7a

Error: Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.
    at C:\Program Files (x86)\Zend\Zend Studio 11.0.2\plugins\com.zend.php.ccm.core.win32_11.0.2.v20140926-0202\resources\nodejs\node_modules\cordova\src\platform.js:268:42
    at C:\Program Files (x86)\Zend\Zend Studio 11.0.2\plugins\com.zend.php.ccm.core.win32_11.0.2.v20140926-0202\resources\nodejs\node_modules\cordova\src\metadata\android_parser.js:54:17
    at C:\Program Files (x86)\Zend\Zend Studio 11.0.2\plugins\com.zend.php.ccm.core.win32_11.0.2.v20140926-0202\resources\nodejs\node_modules\cordova\node_modules\shelljs\shell.js:1707:7
    at ChildProcess.exithandler (child_process.js:645:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:753:16)
    at Socket.<anonymous> (child_process.js:966:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)

我已經嘗試過許多解決方案,但是我對zend studio和android sdk沒有任何經驗。

我必須安裝所有版本的Android才能在Zend Studio 11中正常運行(不僅僅是最新的)。

我建議您做同樣的事情,這是在SDK Manager中完成的。 對於Windows,位於:

開始> Android SDK工具> SDK管理器。

打開后,選擇所需的Android版本(錯誤似乎為4.2),安裝它,然后關閉並重新啟動SDK Manager,Zend應該可以使用!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM