You are not logged in.
Hello,
This is my first post here, as it is my first week of using arch linux ![]()
I have a problem using Appcelerator Titanium Studio. I have installed android sdk but whenever I select it's location through the titanium studio configuration window, it shows the error "Android SDK not found at the specified path":
MOD EDIT -- Please follow image posting rules -- Inxsible
What I tried and did:
1. Installed Android-SDK through yaourt in /opt/android-sdk, updated all packages through ./android, copied adb into "tools" as suggested by appcelerator. Tried selecting this directory in titanium, did not work.
I tried all of the following paths:
/opt/android-sdk
/opt/android-sdk/
/opt/android-sdk/tools
/opt/android-sdk/platform-tools
...
2. Installed Android-SDK manually by downloading the latest binaries: http://dl.google.com/android/android-sd … ux_x86.tgz into ~/android-sdk
I updated all packages there again though ./android and tried selecting all paths I could think of related to that directory in titanium studio, did not work again.
3. I thought maybe folder permissions are the problem but even a 777 wouldn't work.
4. I checked the titanium log file and here is the error shown: http://pastebin.com/2XRJ1xyx
Here is the script mentioned in the error: http://pastebin.com/jXvaa23M
5. I also tried setting #!/usr/bin/env python2 in the script since the default interpreter is python 3 in my system, did not work.
Additional Info: I have Sun JDK 64bit, JRE, tried both 32 & 64 of Titanium Studio, the 32 one didn't want to run at all.
I can confirm that android SDK works since the emulator is running flawless.
So at this point I can't continue anymore and have no idea where to go next :S
any help / experiences appreciated.
Last edited by Gjore.S (2011-07-24 02:11:18)
Offline
Please do not post full size images. Make use of an image hosting website and post thumbnails here.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
It turned out that installing python25 from aur solved the problem, android sdk is now detected and everything works smooth.
I can finally consider my arch laptop complete ![]()
Offline
It turned out that installing python25 from aur solved the problem, android sdk is now detected and everything works smooth.
I can finally consider my arch laptop complete
Cool Mate,
Yeah, now your lappy is fully ready for development and you'll be one crazy muthafc*r .... I'm glad you've become an Archer as you really are ....
Out & see ya in the hack lab in 2 hours ...
Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog
Offline
I found another "workaround":
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python2 /usr/bin/python
But it's not very useful since in breaks all other python packages.
The point is, it works perfectly fine with python 2.7.2 so I was wondering why you had to install python 2.5.
Did python 2.5 simply replace /usr/bin/python so it points to the 2.5 command?
Cheers
Offline
I think in the end @Gjore.S 'solved' his problem the same way as you @tapichu, though I do not recommend that way of symlinking too as It can break some other python packages as Arch migrated to python3 long time ago
...
Anyhow, if that works for you and the other stuff are also working, keep it that way ....
Oout
Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog
Offline
I don't like this "workaround" either, I'm still trying to find a good way of solving this. I like having python3 as the default, and other packages expect this.
I tried modifying some environment variables (PYTHON, PYTHONHOME).
I tried ln -s /usr/bin/python2 $HOME/bin/python and putting $HOME/bin at the begining of my user's PATH.
I tried replacing every #!/usr/bin/env python with #!/usr/bin/env python2.
But so far I haven't found a solution.
Offline
I would recommend installing python-virtualenv (or python2-virtualenv) and making a python environment with python2.
then you just have to activate it, and there you go.
Offline