Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android仿真器-错误_Android_Android Emulator_Extjs_Sencha Touch 2 - Fatal编程技术网

Android仿真器-错误

Android仿真器-错误,android,android-emulator,extjs,sencha-touch-2,Android,Android Emulator,Extjs,Sencha Touch 2,我试图在android emulator上运行我的示例sencha应用程序2,但它给出了以下错误 C:\path\to\www\mysenchaapp>sencha app build native [INFO] Deploying your application to C:\path\to\www\mysenchaapp\build\package [INFO] Copied sdk/sencha-touch.js [INFO] Copied app.js [INFO] Copied

我试图在android emulator上运行我的示例sencha应用程序2,但它给出了以下错误

C:\path\to\www\mysenchaapp>sencha app build native
[INFO] Deploying your application to C:\path\to\www\mysenchaapp\build\package
[INFO] Copied sdk/sencha-touch.js
[INFO] Copied app.js
[INFO] Copied resources/css/app.css
[INFO] Copied resources/images
[INFO] Copied resources/icons
[INFO] Copied resources/loading
[INFO] Resolving your application dependencies...
[INFO] Found 139 dependencies. Concatenating all into app.js...
[INFO] Processed sdk/sencha-touch.js
[INFO] Minifying sdk/sencha-touch.js
[INFO] Processed app.js
[INFO] Minifying app.js
[INFO] Minifying resources/css/app.css
[INFO] Minified sdk/sencha-touch.js
[INFO] Minified app.js
[INFO] Minified resources/css/app.css
[INFO] Generated app.json
[INFO] Embedded microloader into index.html
[INFO] Packaging your application as a native app...
[INFO] ""C:Program FilesAndroidandroid-sdk/tools/android" create project --targe
t android-7 --name MyApplication --activity STActivity --path "C:\path\to\www\my
senchaapp\build\native/" --package com.mycompany.myAppID"
Failed to create android project
Failed to package application
[ERROR] The system cannot find the path specified.
请让我知道,这里有什么问题

谢谢你的时间和支持

更新

C:\path\to\www\mysenchaapp>sencha app build native
[INFO] Deploying your application to C:\path\to\www\mysenchaapp\build\package
[INFO] Copied sdk/sencha-touch.js
[INFO] Copied app.js
[INFO] Copied resources/css/app.css
[INFO] Copied resources/images
[INFO] Copied resources/icons
[INFO] Copied resources/loading
[INFO] Resolving your application dependencies...
[INFO] Found 139 dependencies. Concatenating all into app.js...
[INFO] Processed sdk/sencha-touch.js
[INFO] Minifying sdk/sencha-touch.js
[INFO] Processed app.js
[INFO] Minifying app.js
[INFO] Minifying resources/css/app.css
[INFO] Minified sdk/sencha-touch.js
[INFO] Minified app.js
[INFO] Minified resources/css/app.css
[INFO] Generated app.json
[INFO] Embedded microloader into index.html
[INFO] Packaging your application as a native app...
[INFO] ""C:/Program Files/Android/android-sdk/tools/android" create project --
rget android-7 --name MyApplication --activity STActivity --path "C:\path\to\w
\mysenchaapp\build\native/" --package com.mycompany.myAppID"
Failed to copy packager library
Failed to package application
[ERROR] Error: Target id is not valid. Use 'android.bat list targets' to get t
 target ids.
Copy operation failed src=C:/Windows/stbuild/st-res/android//nimblekit.jar dst
:\path\to\www\mysenchaapp\build\native//libs/nimblekit.jar

破碎的道路?“C:程序文件Androidandroid sdk/tools/android”@AlexFlorescu:嗨,你是说断路?如何修复该路径(即指向android sdk的路径)显然不正确。您需要修复PATH环境变量和/或ADT中的变量,这取决于您现在正在使用什么来构建它。请参阅:和@AlexFlorescu:我已经修复了packager.xml中的路径。现在我有上面提到的错误。请检查我在谷歌上更新的问题第一个链接以了解该错误: