0

I am trying to create an APK manually with the Titanium Source.. I searched and found that Titanium is using ANT tool to build the APK..So i gave "ant" command in terminal it created an APK but it misses some folders named org and ti.. Which are used in Intializing Webview at Runtime.. So Plz guide me how to compile the source manually (Using commands in terminal/Command Prompt i.e "Ant" commands like aapt, dex etc)..

I gone through this link but it just has overview of it, but not the full flow..

Thanks in Advance

Regards,

Deepak

Community
  • 1
  • 1
Sudarshan
  • 1,291
  • 3
  • 26
  • 35

1 Answers1

0

I think you need to look at the Titanium Command line Interface. https://wiki.appcelerator.org/display/guides/Titanium+Command+Line+Interface

$ titanium create --platform=android --android=/path/to/android-sdk --id=com.mycompany.myApp --name=myApp   
$ titanium run --platform=android

If you are going with 3.0 SDK, then you can use npm to install and manage your dependencies and execute the same Titanium commands or you can use Alloy if you are with their new architecture.

http://developer.appcelerator.com/blog/2012/10/building-titanium-mobile-from-source-now-requires-nodejs.html

Thalaivar
  • 23,282
  • 5
  • 60
  • 71