[TIMOB-24906] Windows: Get an "Error device not found" error now and again when building to an Android emulator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-11-17T18:33:18.000+0000 |
Affected Version/s | Release 6.1.1 |
Fix Version/s | Release 6.1.2, Release 7.0.0 |
Components | Android, Windows |
Labels | n/a |
Reporter | Samir Mohammed |
Assignee | Gary Mathews |
Created | 2017-06-28T17:29:28.000+0000 |
Updated | 2017-11-17T20:53:14.000+0000 |
Description
When building to an Android emulator on a Windows machine the following error is sometimes shown:
[ERROR] : Failed to install apk on "emulator-5554"
[ERROR] : Error: device not found
*Steps to reproduce:*
+ Create an Alloy project
+ Run the application to an Android emulator
+ Run the application on the emulator multiple times until the error above is shown
Attachments
File | Date | Size |
---|---|---|
consoleLog.txt | 2017-11-07T06:34:43.000+0000 | 90281 |
debug_trace.txt | 2017-11-07T08:35:51.000+0000 | 301689 |
Studio log.txt | 2017-06-28T17:29:27.000+0000 | 17003 |
[~cbarber] Can you take a minute to look at this?
master: https://github.com/appcelerator/node-titanium-sdk/pull/12
titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/9185
Reopening for 6.1.2 backport.
6_1_X: https://github.com/appcelerator/titanium_mobile/pull/9199
Validated fix with this environment: Node Version: 6.10.3 NPM Version: 3.10.10 Appc CLI: 6.2.2 Appc CLI NPM: 4.2.9 Titanium SDK version: 6.1.2.v20170707110852 Appcelerator Studio, build: 4.9.0.201705302345 Windows OS: 10.0.14393 Android Emulator: Android 6.0 I tried 10 times to build to the emulator, and twice after a restart, and did not see device not found error. Since this is an intermittent issue, I'll reopen if it occurs again.
I'm facing the same issue again with the SDK 7.0.0.v20171104095810 on macOS X, and it's an intermittent issue.
Please find the console log here [^consoleLog.txt] Here is the ti info
Please also find the debug trace [^debug_trace.txt]
Could reproduce the issue consistently. With the node version bump in upcoming release this would be a critical issue. Environment: Mac OS 10.13 Appc Studio: 5.0.0.201711140237 Ti SDK: 7.0.0.v20171113152835 Appc CLI: 7.0.0-master.4 Node.js: 8.9.1
node-titanium-sdk: https://github.com/appcelerator/node-titanium-sdk/pull/18
[~ssekhri] Can you verify that you don't see the problem anymore with this fix?
titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/9616
PR is merged.
[~ssekhri] I believe this one is fixed. We don't see the issue here. If you continue to see it, you can reopen.