简体   繁体   中英

Sencha touch will not build using Cordova

I created a project using Sencha Touch, that I wanted to convert to a hybrid app.

I ran the sencha cordova init <APP_ID> <APP_NAME> with success, as it created the folder structure.

But the problem comes, when I run sencha app build -run native (of course I have set it to run to a specific platform).

I then tried another thing, went to <project-folder>/cordova/platforms/android/cordova/ and ran build.bat , but it came with 7 errors and 3 warnings, where I can guess, that the main error is the cause. It says package org.apache.cordova does not exist , but how can I fix that?

I have set up Ant, Cordova, Java SDK and so on.

So I think it is a problem with Android and Cordova?

I figured out the reason, why it could not build

The path for the <project-folder> was c:\\Users\\<my-name>\\bin\\<project-name> , but it can not have bin in the path for the <project-folder> as it is replaced by a build-script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM