Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

ERROR LOADING PREFERENCES

Hi, I have doen everythign right thats mentioned in the Getting started guide for Titanium.

When I am runing the HelloWorld program it is giving error loading preferences.
I am using windows7 - 64 bit

Please help !!1

— asked November 17th 2010 by Pankaj Bhardwaj
  • android
  • getting started error
1 Comment
  • I found out that may be there is problem with the android's latest version as I have Android SDK Tools, revision 7 and in the pdf it shows revision 6???? please let me know what exactly is wrong ?

    — commented November 17th 2010 by Pankaj Bhardwaj

1 Answer

  • Pankaj

    You need android 2.2 API 8 revision 2. Android tools should look like the following:

    android available packages

    android installed packages

    Ensure that a stable Titanium SDK is selected:

    Titanium Edit Project screen
    Note: Press the "Save Changes" button - sometimes it can help correct some things, for reasons quite unknown :) (maybe it's just my system!)

    • Check the following options:
      • Make sure the correct android SDK is selected (at the moment, this is API 2.2)
      • Choose a convenient screen size
      • Launch the app in the emulator by clicking the Launch button
      • Experiment with different filters, to check for any serious errors (usually in red)

    Titanium Test & Package screen
    Note: on my system, when I start the emulator up for the first time, it takes 3 attempts to launch the app before it works correctly. Once it works, there are no issues thereafter, irrespective of how many times I launch further apps. If I close the emulator and launch an app, though, the 3 attempts are required again. It's not a big issue for me, and there probably is a solution but I haven't got round to fixing it.

    Let me know if this helps.

    — answered November 17th 2010 by Paul Dowsett
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.