Kitchen Sink not working on ANDROID Please help!

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

Hi, I encountered following errors when running Kitchen Sink on ANDROID. Please help.

OS : Ubuntu 10.10 Titanium version 1.2.2

Android : 1.6

[INFO] Launching Android emulator...one moment [INFO] Building KitchenSink for Android ... one moment [INFO] plugin=/opt/titanium/plugins/ti.log/0.1/plugin.py [INFO] Detected compiler plugin: ti.log/0.1 [INFO] Compiler plugin loaded and working for android [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "/opt/titanium/mobilesdk/linux/1.6.1/android/builder.py", line 1646, in <module> [ERROR] s.build_and_run(False, avd_id) [ERROR] File "/opt/titanium/mobilesdk/linux/1.6.1/android/builder.py", line 1322, in build_and_run [ERROR] ti_version_info = read_properties(open(ti_version_file, 'r'), '=') [ERROR] IOError: [Errno 13] Permission denied: '/opt/titanium/mobilesdk/linux/1.6.1/android/../version.txt'

3 Answers

Hi,Please Make Sure that ur settings in andriod sdk will be "checked" for all API Packages.i.e SDK Mangaer-> Andriod SDK and AVDmanager->Make sure that check for Select all Option. continue the installation it will take some time.

Rommel

Are you able to successfully launch a default project (one that has been created automatically when you choose "New Project" in Titanium Developer)?

Cheers

— answered 1 year ago by Paul Dowsett
answer permalink
2 Comments
  • Hi Paul, No. I encountered same errors when launching new project created from "New project".

    — commented 1 year ago by Rommel Roca

  • Just temporarily, to confirm whether or not it's a permission issue, set every file and directory in your /opt/titanium folder to 777.

    — commented 1 year ago by Paul Dowsett

Look at this:

[Errno 13] Permission denied: '/opt/titanium/mobilesdk/linux/1.6.1/android/../version.txt'

it is saying that it has not access to such file. Assuming that you have installed it as root, then following command will fix the problem by adding "read" permission for group and others (your user):

$ sudo chmod go+r /opt/titanium/mobilesdk/linux/1.6.2/version.txt

Your Answer

Think you can help? Login to answer this question!