Part Four – Installing the Android SDKs and Appcelerator’s Titanium Mobile Developer

Hello and welcome back for part 4 (hopefully the last part!) of how to setup Appcelerator Titanium Mobile Developer on Ubuntu 1010 32-bit. These steps should also work with Titanium Desktop Developer, although you would have to downlaod that instead of the Mobile version, and probably would not want to add the Android SDK. In this final part we will add the Android SDK’s and finally install Titanium, in the previous parts we have configured a clean Ubuntu 10.10 installation so that all dependencies for Android development are installed and ready to go before we start coding. I got destracted and have started another post about getting The Elder Scrolls Arena and Daggerfall working on Android the last couple of days (should have a post on that a day or two after this one is up). And, off we go, lets get this post finished!

  1. sudo mount -a – make sure our shared drives are properly mounted
  2. let’s download the Android SDK and AVD Manager! – http://developer.android.com/sdk/index.html – The currently available download is android-sdk_r10-linux_x86.tgz, if you are using the default firefox that installs with Ubuntu 10.10 it will save it under ~/Downloads if you want to save a step, don’t save it, just open it with the archive manager and extract the contents to ~/Downloads.
  3. back to our friend the terminal sudo mv ~/Downloads/android-sdk-linux_x86/ /opt/android-sdk/ this will allow you to move the SDK plus AVD manager to the /opt directory, remember to use the [tab] key!
  4. cd /opt/android-sdk-linux_x86/tools/ && sudo ./android – this will move us into the directory and launch the AVD manager
  5. select Available Packages from the left column
  6. click the arrow next to Android Repository, this will expand the currently available choices
  7. I will be starting with 2.1; however I will also add 1.6, 2.2, 2.3.3, and 3.0 SDKs at this time, (you need 1.6 because Titanium looks for it by default and won’t let you set your preferences without it) also I am getting all of the samples, as there is no reason to reinvent the wheel, just the method used to turn it!. I also went under third party and grabbed the google api’s for 1.6, 2.1, 2.2, 2.3, 2.3.3, and 3.0 for the same reason, while under the third-party section, make sure to get the two google market Apis at the bottom. I also retrieved the Api 11 documentation (Android 3.0) (if you are interested there is also a samsung galaxy SDK there, but it is only for Android 2.2r1 for some reason)
  8. click on install selected and a new screen pops up
  9. click the “Accept All” radio button and hit install, this might take a bit… mine downloaded at 2.0 – 2.5mb/s so it was under 5 mins to d/l all of it
  10. You will be prompted to restart ADB, you must do so to continue. then close the application window.
  11. vi ~/.profile – edits your start up preferences
    1. [ctrl+f] [ctrl+f] – moves you down two pages, or in this case to the last line of the file
    2. A – starts editing the line from the end
    3. :/opt/android-sdk:/opt/android-sdk/tools:/opt/android-sdk/platform-tools – adds the android SDK directories to your path
    4. [esc] – ends editing and returns you to command mode
    5. :wq! – saves, then quits the vi editor
  12. sudo ln -s /opt/android-sdk/platform-tools/adb /opt/android-sdk/tools/adb – also needed for titanium, until they update to reflect the new home for adb!
  13. cd ~/android/environment/system && sudo wget http://www.appcelerator.com/download-linux32
  14. go to the Places pulldown menu in Ubuntu –> home folder
  15. then when it is open go to android –> environment –> system
  16. right click on the file download-linux32 and selct extract here – when I tested this, the extraction failed, when I went to the website and followed the prompts to get to the download, it downloaded the same file from the same server path and it was the same size, but the extraction worked. just an fyi if you have issues with these steps
  17. cd Titanium\ Developer-1.2.2 && sudo ./Titanium\ Developer – again remember to use the [tab] key after typing the first couple of letters
    1. on the installer screen, click on the “Install to my home directory” and change it to “Install to /opt/titanium”
    2. click Install
    3. after this ends you should get dumped to the terminal window with an error, so now we will fix that error
      1. cd /opt/titanium/runtime/linux/1.0.0 && sudo mkdir backup && mv libg*-2.0.* ./backup/
  18. cd ~/android/environment/system/Titanium\ Developer && sudo ./Titanium\ Developer – use that [tab] key!
  19. after you log in, or sign up, you should get prompted for an update to 1.6 (no idea why it downloads 1.2.2 instead of 1.6 to begin with, but hey, what can you do?), go ahead and get it, remember to install it to /opt/titanium
  20. after which you will be prompted for an update to 1.1.0 for the desktop developer, grab it if you intend to write anything for windows or linux, else, ignore it.
  21. now restart to make sure all settings changes have taken, remember to skip mounting the two bind mounts on startup
  22. sudo mount -a
  23. cd ~/android/environment/system/Titanium\ Developer-1.2.2/
  24. sudo ./Titanium\ Developer

Congratulations, you are now setup to work projects! I recommend leaving the snapshots for a bit, just in case you have issues. And of course, TAKE A NEW SNAPSHOT NOW!!! the last thing you want to do is screw something up at this point and have to go back… Also, since we have our dev env setup on a share from your local system, you can revert to this point at any time and still be able to pick right back up (I have not tested this yet!!).

I want to thank anyone who takes the time to read this, especially if you leave me comments, or tell me where I screwed up! It would be nice if someone comments about the app they create using this setup even!

  1. part one
  2. part two
  3. part three

Slightly  different topic today, but I am tired of waiting for WordPress to complete version 3.0 so I can separate not tech blog posts onto another page without having multiple installations of WP…

******** quick top level edit… ********

I am sure as I continue on with the game I will post again, so do not consider this to be my definitive end of discussion post on this topic.

******** end edit… ********

so this game has been keeping me busy for a bit, but I have tons of complaints… I think I’ll get them out in the open first…

for starters, I cannot stand the new battle system, no character levels, say what? I understand the concept of class leveling, nothing new there, been around since the 70′s.  My issue is that you have to select the character advancements (ie +HP or +Magic or +STR…) but really get no choice, as you have to go in “order”  there is no customization (a key point that all “role playing games” strive to have for player enjoyment), you just follow the line they have given you.  I know that FF has always changed their battle system for each game version, but I wish they would either do new games that are follow-ups to the old, or spin-offs, or something.  Personal Opinion is that I prefer the FF VII and VIII battle systems to all others in the post-8-bit gaming world (not gonna go there with the pre-FF VII games, not enough data space in all the cloud for that discussion).  I think both need a little tweaking to be perfect (hence the reason I think they should keep the battle system for 2 or 3 games before changing it), but over all they were the most customizable and player variant character generation systems to date.

Let’s move on to summons at this point in the game (just starting chapter 6) I have Shiva and Odin, and have not used Shiva yet.  so I might have a slightly off opinion…  however… Square has continued with the summons entering combat for/with you, and all your party members up and split… I do not yet understand, get the summon battle mode yet, and feel the battles themselves are a bit to hectic and fast paced (ie except for the chapter 5 plant boos at the end where I died 7 times trying to get “lucky”  my longest battle to date has been 2 mins and 37 seconds, I average right around 25-35 seconds per battle, most of which is waiting for the ATB to fill), I do not even have enough time to try out most of the battle commands and abilities, as everything is over in 2-5 rounds, with the occasional battle running 7-10 rounds <—most of which is spent healing…. and even on 1080p with a 40″ tv I still cannot tell what those little icons are supposed to be (the directional ones)  I have no idea why they don’t just put a freaking arrow instead of a black blob telling me which way to push, and besides Odin seems to respond to button presses during gestalt (I sear that word is supposed to have an “h” in it) even if I do not use a direction…  on the chapter 5 plant boss, WITH STAGGER, Odin took about 10%-15% of the bosses health off, pretty wimpy for Odin… but I guess with all those rose petals around maybe he has gotten a little soft? changed his sexual appetite?  who knows…

now for auto-attack – well what can I say? if you don’t use it you will be killed before you can select your moves, if you do use it, you will get less than optimal results… so flip your coin and run with it, or learn to juggle between the two and use repeat often (nice that, worked better in USA FF III though…)

the largest variable part of the game is in weapon  and accessory upgrades, either you got the cash or you got the items to upgrade, or you don’t… there are not enough items to upgrade more than  1 weapon or accessory per character at this point.  I am trying to keep weapon levels equal to or greater than chapter #, but so far not quite there yet (got a couple to level 7, everyone else is at ~4, and 1 item up to level 6.  no more….)  not sure why I would want to switch to a new weapon that starts at level 1 instead of my nice shiny level 6 or 7 weapon? especially when I don’t have enough components to upgrade that new fandangled piece of iron… maybe they will be useful after chapter 11 where I hear items and CP and Gil are flying around like you won the lottery… we shall see… I might not even play it that far…

biggest complaint: LINEAR LINEAR LINEAR!!! Maybe it’s because I’ve played a pretty darn good number of MMO’s, or maybe because I find The Elder Scrolls to be the best RPG’s ever?  But not having the ability to run around the game world is lame lame lame…  ”supposedly” you can at some point, but I have a friend playing who is either in chapter 11 or chapter 12 and he still cannot… out of 13 (?) chapters that is just plain horridribble…

****************2 itty bitty early game spoiler alert*****************

The Characters… first and foremost I have to say (not what you are thinking) that why in the world do we have a brawler punching machines?  I mean I do love the Brawler class/character in every FF they have shown up, but seriously (yes I know this is not a first in the FF series) and to make them the most physically powerful class, against machines!!  and of course we have the classic FF “someone at some point is/was/becomes and enemy before/after being a good guy” plot device, and the “dying love interest” which I firmly believe comes back later on in the game, as too many people were pissed about Tifa…

We also again get stuck with “the stupid girl” that annoys the crap out of us… this time with a horrible austrailian accent that ONLY occurs at the end of the sentence.  As if that was not enough, she flails her hands out to the sides when she runs, like a southern belle…  it gets better too… not to mention she gives off this really weird vibe, I keep thinking she is the new (totally retarded and gay (not the traditional meaning, I am referring to non-normal/not quite right/just plain stupid, as the definition of the word) instead of super duper cool) Sephiroth of the FF series.

On top of that you get the equally retarded Hope character, the snivelling, whiney, annoying kind of character you want to get a good dish of whoop ass… and then he changes because someone told him he was wrong.  seriously? If you thought Steve Jobs killed your mother, would you forgive him because someone told you it was an exploding iPad that did it, and just because he is in charge of the company doesn’t mean he is responsible for anything it did, go kill the the chinese manufacturer instead?   I didn’t think so.

right, so we cannot forget the 1 non-asian, non-caucasian character that is in the game, just like most of the other FF games.  completely stereo typed (I am not an expert on these, but…) as a vietnam vet (IMO), but not a really messed up one.  I also want to know who is responsible for making characters in video games that are standing still… “dance” in place, I don’t stand like that, I bet you don’t stand like that either, in fact except for a couple of Schizophrenia/ADHD/Parasomnia patients or those affected by Parkinson’s Disease, I don’t think too many people know or do rock/dance while standing, and most of the people with the problems I listed only do it while sitting…  right last issue here… um the choco-chick, in the hair? really?

believe it or not, I have no other character complaints!!!

GO CID!!!

Plot, Story, overall characters = not that exciting, no emotional attachment yet, I’m not rooting for them to win, not “dying” to find out what happens next…  Kinda like FF X.

ok, enough of this for now… I’ll revisit later and update with links.

15 visitors online now
5 guests, 10 bots, 0 members
Max visitors today: 23 at 12:30 pm PST
This month: 23 at 02-05-2012 05:37 am PST
This year: 29 at 01-11-2012 02:49 pm PST
All time: 1100 at 08-08-2011 08:11 pm PDT
View in: Mobile | Standard