Step by step: 0) Install Appcelerator Titanium Studio. 1) Install Oracle VirtualBox.
2) Download and install Android x86 VM. Instructions here (here) http://habrahabr.ru/post/119931/
3) Run and configure Android x86 (configure means that you must have 2 ethernet adapters, and your Android x86 virtual machine must have an IP address (for example, 192.168.56.101))
3.5) try ping your virtual machine. Everithing should work fine.
4) Launch the Titanium studio and create a new project.
5) Run the command line and from the% Android SDK% / platform-tools / directory do the operation
"adb connect 192.168.56.101".
it must connect to the virtual machine successfully on port 5555.
Note: IF you havenβt done this, your Titanium studio will record something like this.
[DEBUG] ...\AndroidSDK\platform-tools\adb.exe start-server [INFO] Titanium SDK version: 2.1.4 (11/09/12 12:46 51f2c64) [DEBUG] Waiting for device to be ready ... [TRACE] adb devices returned 0 devices/emulators [TRACE] adb devices returned 0 devices/emulators [TRACE] adb devices returned 0 devices/emulators
6) Try installing the Titanium app on the DEVICE. As a platform, I choose Android 4.0.3 [x86]
6.5) A titanium studio will do a lot of work, and it ends:
[DEBUG] Waiting for device to be ready ... [TRACE] adb devices returned 1 devices/emulators [DEBUG] Device connected... (waited 0 seconds) [DEBUG] waited 0.015000 seconds on emulator to get ready [INFO] Installing application on device
7) Did Titan successfully find and connect to the device? compiled all the resources and tried to install your application on the device using this:
"C:\!Development\AndroidSDK\platform-tools\adb.exe -d install -r C:\!Development\Titanium\china\build\android\bin\app.apk"
But no matter how long you wait, it will not be installed.
What is the problem? What have I done wrong?