0

我正在尝试在 android 模拟器上运行我的示例 sencha app 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
4

0 回答 0