This made me lose a couple of hours on December 25 and, therefore, better to share.
A few days ago the new Titanium SDK was released, 3.2.0 with several improvements, including a large improvement to its installer for Android. Appcelerator’s Titanium, for those who don’t know, is a Cross-Platform Mobile Development Platform. The main idea of Titanium is to reuse as much code as possible between platforms.
After installing Titanium 3.2.0 and trying to run an application, which worked, on an Android device I came across a not so nice message:
!MESSAGE There are no Android devices connectedAha… but, if I do
adb devicesmy device appears, what could it be?
After doing a lot of digging, I realized that even when I tried to install the Titanium CLI 3.2, it never installed and I still had CLI 3.1.2.
ti info // shows cli 3.1
where ti // this will give you the path
// remove that path (I had to remove it manually, couldn't make it with npm)
sudo npm install -g titanium
ti info // now shows cli 3.2