[AC-3342] Android device not found
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2016-03-29T15:42:49.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | feedback |
Reporter | Daniele Paoni |
Assignee | Nazmus Salahin |
Created | 2016-03-09T10:49:55.000+0000 |
Updated | 2016-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 infoAttachments
File | Date | Size |
---|---|---|
info.txt | 2016-03-09T10:49:57.000+0000 | 16869 |
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.
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 ?
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.
Do you mean that I have to install all the android api versions?
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.
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.
I wil try to make a video to shows exactly what happens