I struggle to build a first Android app from HTML5.
So, I follow this detailed tutorial...
It seems that I should add a .jar of Cordova to the project\'s lib
I finally found a solution following the github doc https://github.com/apache/cordova-android#building
First, you need the commons-codec-1.7.jar file. It's downloaded to cordova-android using create :
Check http://cordova.apache.org/docs/en/2.7.0/guide_getting-started_android_index.md.html
create "
project_folder_path is the path to your new Cordova Android projectpackage_name is the package name, e.g. com.YourCompany.YourAppNameproject_name is the project name, e.g. YourApp (Must not contain
spaces)This process should download commons-codec-1.7.jar.
Then, the following step is not explained in the getting started guide: cordova-2.7.0.jar has to be generated with an ant command line, after having copied the commons-codec-1.7.jar to the framework/lib directory.
android update project -p . -t android-17
ant jar
And here we go!