[TIMOB-25194] Android: Studio does not recognize currently running emulators; Always launches new emulator on Windows OS
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 5.2.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | androidlib, cb-tooling |
Reporter | Bert Grantges |
Assignee | Unknown |
Created | 2016-03-01T06:19:36.000+0000 |
Updated | 2020-03-06T21:38:45.000+0000 |
Description
When trying to build an Android app using Appc Studio, Studio is always trying to open a new emulator, even if the emulator is already open. In some cases the emulator will open and successfully install, run the application - but this also fails a majority of the time seemingly related to a timeout issue.
This is happening using both genymotion and Android emulators.
I'll try and gather more information from the user.
[~ewieber] [~wluu] Are you able to see this behaviour, can you guys add your findings on this with the latest environment.
Here is more info on the users environment C:\>node --version v4.2.2 C:\>java -version java version "1.8.0_71" Java(TM) SE Runtime Environment (build 1.8.0_71-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.71-b15, mixed mode) Genymotion Version 2.6.0 Revision 20151127-3674435 Windows 7 Enterprise, Service Pack 1 Cpu i5-3340M Ram 16 GB
Here is more info on the users environment C:\>node --version v4.2.2 C:\>java -version java version "1.8.0_71" Java(TM) SE Runtime Environment (build 1.8.0_71-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.71-b15, mixed mode) Genymotion Version 2.6.0 Revision 20151127-3674435 Windows 7 Enterprise, Service Pack 1 Cpu i5-3340M Ram 16 GB
[~cng] There are 2 issues here: 1. Timeout during app launch/emulator launch 2. Opening a new emulator for every build *Timeout during build:* This is happening both in windows and mac os platforms. And this is not consistent - I tried 5 times, only once it was able to launch the emulator and installed the app. Below are the various errors which I encountered during the build, but most of the time it was timeout.
*Android emulator issue:* In windows os, for every build new android emulator is getting launched. I could see, for every build it's assigning a new port and launching a new emulator. The interesting thing here is, even though it started a new emulator but app is getting launched in the old emulator! In mac os, I don't see this issue, same emulator is getting used for everybuild.