Search code examples
javascriptandroidsencha-touch-2apk

Sencha Touch 2 - Help to create .apk file on PC


I´m starting with sencha touch 2 tech,and now I´m stuck in creating the .apk file. This is what I have done since the begining to where I´m stuck:

  1. Download Sencha Touch SDK
  2. Install Java JDK
  3. Install NodeJS
  4. Install Ruby
  5. Install Sencha CMD

After that I created my app:

In the command line --> sencha generate app MY_APP_NAME MY_APP_FOLDER(I use the folder www of my wamp server)

Then with Eclipse for PHP Developers,I opened the folder and start editing the files to create my app.

Now I have finished my app and want to create the .apk file to test it in a real device(in my wamp server runs perfect).

And I´m stuck on how to create the apk file,I have read lots of tutorials but no one is clear.

Please some help on how to create the .apk file step by step or something helpfull.

Thanks.


Solution

  • Finally I solve my problem. I found that through this link it autogenerates the files. Before I discovered that you need to create via sencha cmd the production files through the command in the app folder: sencha app build production

    With this two steps I created the .apk file,donwloaded and tested it.

    Thanks to the previous comments.