Cannot run android apps on MAC OSX Lion

You must Login before you can answer or comment on any questions.

I am using OSX Lion, Ti SDK 2.0.1 GA, Android runtime V8, Ti Studio Build: jenkins-titanium-rcp-master-218 (origin/master)

And I cannot get andoid apps to compile/run on the simulator or phone. Clicking run ends up in the following erroer :

[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "/Users/Juan/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/android/builder.py", line 2212, in <module>
[ERROR]     s.build_and_run(True, avd_id, device_args=device_args)
[ERROR]   File "/Users/Juan/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/android/builder.py", line 1903, in build_and_run
[ERROR]     self.copy_project_resources()
[ERROR]   File "/Users/Juan/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/android/builder.py", line 684, in copy_project_resources
[ERROR]     self.project_deltafy = Deltafy(resources_dir, include_callback=self.include_path)
[ERROR]   File "/Users/Juan/Library/Application Support/Titanium/mobilesdk/osx/2.1.0.GA/android/deltafy.py", line 108, in __init__
[ERROR]     self.conn.execute('create table if not exists timestamps (path text, modified timestamp)')
[ERROR] DatabaseError: database disk image is malformed
Any help is much appreciated.

2 Answers

Have seen it with corrupted sqlite databases.

— answered 12 months ago by Stephen Feather
answer permalink
2 Comments
  • Thing is, I can't tell you WHICH database that script references.
    Have you cleaned your project? Turned off fastdev? And your titanium studio version is weird, have an actual version number for that?

    — commented 12 months ago by Stephen Feather

  • Glad you could get it to work.

    — commented 12 months ago by Stephen Feather

Your Answer

Think you can help? Login to answer this question!