[AC-4215] Issue detecting android devices on Windows 10
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-08-09T21:52:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | luke snowdon |
Assignee | Shak Hossain |
Created | 2016-07-25T14:56:19.000+0000 |
Updated | 2016-08-09T21:52:25.000+0000 |
Description
Steps to Reproduce
Attempt to connect to any Android device fails (including emulators). ADB lists devices as connected and authorized. All devices have USB debugging enabled, have checked for installation problems using CLI. Have tried on multiple Windows 10 machines, Windows 7 however works.
On 3 occaisions the devices appeared momentarily in the dropdown menu only to diaapear again.
Can someone confirm that it is possible to to deploy to Android on Win 10 with Titanium Studio?
Actual Result
Unable to test / run on Android in Windows 10 environment
Expected Result
Able to test / run on Android in Windows 10 environment
Attachments
Hello, The issue is not reproducible in our end. Can you provide some more info like screenshot? Thanks.
Thanks for responding, I've tried a few different installation configurations and have improved the situation a little. Running "adb devices" always lists any devices I have connected so presumably I have the right drivers installed. Running "adb kill-server" then "adb start-server" and then "refresh devices" usually gets my device id to show up in Titanium studio. However when I attempt to run a project (even a simple hello world project) Titanium studio always loses connection to the device at the same point in the build process and fails, log included at the bottom of this message. Android studio using the same Android SDK files will deploy to a device reliably so it seems likely that it is something in the Titanium studio stack that is at fault, with this in mind included below are all the relevant details of my installation, I've tried a few different JAVA SDK's with no success, also I've tried Python 2.7 and 3.4. If you have an example of Titanium studio working on a Windows 10 machine and can supply details of the installation I'll try and emulate them. -------------------------------------------------------------------------------------------------- INSTALLATION DETAILS: OS Windows 10 x64 Android SDK location: C:\android SDK Android NDK location: C:\android-ndk-r8e Android SDK platforms installed 10,14,16,17,18,19,20,21,22,23,24 Node details: { npm: '2.15.8', ares: '1.10.1-DEV', http_parser: '2.5.2', icu: '56.1', modules: '46', node: '4.4.7', openssl: '1.0.2h', uv: '1.8.0', v8: '4.5.103.36', zlib: '1.2.8' } Python version 3.5 32bit JAVA JDK 1.8.0_101 32bit JAVA JRE 1.8.0_101 32bit USER PATH variables: C:\Users\Luke\AppData\Local\Programs\Python\Python35-32\Scripts\ C:\Users\Luke\AppData\Local\Programs\Python\Python35-32\ %SystemRoot%\system32 %SystemRoot% %SystemRoot%\System32\Wbem C:\Program Files (x86)\Java\jdk1.8.0_101 C:\Users\Luke\AppData\Roaming\npm C:\Program Files (x86)\git\bin C:\Program Files (x86)\nodejs C:\android-sdk\platform-tools C:\Program Files (x86)\Java\jdk1.8.0_101\bin Relevant System variables ANDROID_SDK = C:\android-sdk-windows CLASSPATH = C:\Program Files (x86)\Java\jdk1.8.0_101\lib JAVA_HOME = C:\Program Files (x86)\Java\jdk1.8.0_101 JRE_HOME = C:\Program Files (x86)\Java\jre1.8.0_101 System Path relevant values: C:\ProgramData\Oracle\Java\javapath C:\android-sdk-windows\platform-tools C:\Program Files (x86)\nodejs C:\Program Files (x86)\nodejs\ -------------------------------------------------------------------------------------------------- TYPICAL RESULT OF RUNNING ON DEVICE: Appcelerator Command-Line Interface, version 5.3.1 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-08-05T10:16:47.783Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} 2016-08-05T10:16:47.786Z | TRACE | checking credentials for existing session 2016-08-05T10:16:48.341Z | TRACE | Attempting to load session info from config file 2016-08-05T10:16:48.355Z | TRACE | check if session is invalidated 2016-08-05T10:16:49.366Z | TRACE | session expiry 1470989532601 false 2016-08-05T10:16:49.368Z | TRACE | Arrow Cloud config file: C:\Users\Luke\.acs 2016-08-05T10:16:49.390Z | TRACE | found Arrow Cloud login { mid: 'e684462ab7abec75133dd4ef2128d8cfcf2fb8c6', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'luke@antbits.co.uk', cookie: [ 'connect.sid=s%3A5riPaFwuZ9Fv11n3tNr3BVuK.aM7MxEUwWJkUfZTvx1Or1Y7Ji4RXF4PpTqrcLUsIRek; Path=/; Expires=Fri, 19 Aug 2016 08:12:14 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-08-05T10:16:49.394Z | TRACE | Arrow Cloud cookie expiry [ 1471594334000 ] 2016-08-05T10:16:49.394Z | TRACE | session already loaded in opts.session 2016-08-05T10:16:49.399Z | TRACE | getCredentials() session: { "ipaddress": "169.254.80.80", "username": "luke@antbits.co.uk", "password": "
Also a screen grab, as you can see device ID is listed in drop down, app refuses to run due to invalid device id https://drive.google.com/file/d/0B1kJgrVSKwT3SmZMZERPT0R0clk/view?usp=sharing
Issue solved, latest version of Android platform tools were responsible, nothing to do with Windows 10, ended up using minimal adb and fastboot which seem to connect reliably