Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3342] Android device not found

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-03-29T15:42:49.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
Componentsn/a
Labelsfeedback
ReporterDaniele Paoni
AssigneeNazmus Salahin
Created2016-03-09T10:49:55.000+0000
Updated2016-03-29T15:42:49.000+0000

Description

I cannot deploy to android device because it is not found by appcelerator studio.

Sometimes it appears in the devices dropdown menu but it disappears in a few moments. adb devices detects the device correctly and adb commands works ok. Here is the content of appc ti info

Attachments

FileDateSize
info.txt2016-03-09T10:49:57.000+000016869

Comments

  1. Sharif AbuDarda 2016-03-09

    Hello, What Android device are you trying to connect in your PC. Have you enabled usb debugging in the developer settings on your of your device?. Your ti info shows no android device connected. Choose Media device(MTP) in your device USB computer connection setting. Thanks.
  2. Daniele Paoni 2016-03-09

    The device is an LG G3 phone, it is working with standard adb, I can connect to it, copy files, open a shell.. everything works daniele@PCDANY D:\Daniele\Desktop > adb devices List of devices attached LGD855aa068094 device But, it is not shown in appcelerator studio; I tried to reinstall everything from scratch and also to use a different computer. Can it be related to the fact that I'm using windows10 ?
  3. Sharif AbuDarda 2016-03-16

    Hello, Please run the following commands in the Terminal 1. appc setup check 2. appc info Now, check the Android section of the log. Check if have missing any API versions. Go to your Android SDK folder/tools/android, It will open the Android SDK manager and check for available SDKs need to be installed. Install them. Let us know how it goes. Thanks.
  4. Daniele Paoni 2016-03-17

    Do you mean that I have to install all the android api versions?
  5. Sharif AbuDarda 2016-03-18

    Hello, Install the latest ones and the device API version. Also is developer option to your device is enabled or not? If the developer option is not enabled, device can still work for file transfer function but not for app build. Go to your device settings and go to the developer option tab and see if it is enabled or not. Thanks.
  6. Daniele Paoni 2016-03-18

    the phone is configured correctly, i can use adb from command line to install apks without any problem. The latest sdk is installed, the problem is that titanium ide shows the device in the dropdown menu bust just after the build starts the decive disappears. When the build is finished the device is not there anymore and the adb install fails.
  7. Daniele Paoni 2016-03-18

    I wil try to make a video to shows exactly what happens

JSON Source