Fixed
Status Update
Comments
ma...@gmail.com <ma...@gmail.com> #2
I am also facing the same issue
in...@gmail.com <in...@gmail.com> #3
I am also facing the same issue...any solutions?
mi...@gmail.com <mi...@gmail.com> #4
I have the same error
05/25 16:14:42: Launching app
Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.
05/25 16:14:42: Launching app
Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.
al...@gmail.com <al...@gmail.com> #5
No solution yet,getting same error,how to get this resolved?
k0...@googlemail.com <k0...@googlemail.com> #6
Any solution for this problem please.
me...@gmail.com <me...@gmail.com> #7
Same here. When I create a new emulator it works.. most of the time.
Recently I created a new emulator, run the project and it worked.
Then after a few runs it hung with message "waiting for emulator to come online". Then I closed the emulator and run the same project in debug mode (I pressed the "bug" icon instead of the triangle) and it worked !
But that's not a constant behavior, sometimes it works and sometimes not.
Recently I created a new emulator, run the project and it worked.
Then after a few runs it hung with message "waiting for emulator to come online". Then I closed the emulator and run the same project in debug mode (I pressed the "bug" icon instead of the triangle) and it worked !
But that's not a constant behavior, sometimes it works and sometimes not.
ch...@allinlearning.com <ch...@allinlearning.com> #8
Same for me. I'm on a Mac 10.11.4 with tools 25.1.7 using Android Studio 2.1.1
"Error while waiting for device: Timed out after 300seconds waiting for emulator to come online."
Also, as mentioned in previous bug report, it takes a very long time to simply build. 4 or 5 minutes it seems. When I build and run on my device it does it pronto. I'm running the LoginActivity that you can create with a brand new project.
"Error while waiting for device: Timed out after 300seconds waiting for emulator to come online."
Also, as mentioned in previous bug report, it takes a very long time to simply build. 4 or 5 minutes it seems. When I build and run on my device it does it pronto. I'm running the LoginActivity that you can create with a brand new project.
sm...@gmail.com <sm...@gmail.com> #9
Have the same error...I would highly appreciate any help
ha...@gmail.com <ha...@gmail.com> #10
I have the same error.. can't launch the emulator at all :(8658
to...@gmail.com <to...@gmail.com> #11
Same here..... Any one can solve it?
pa...@gmail.com <pa...@gmail.com> #12
same error in windows and mac. :-(
my...@gmail.com <my...@gmail.com> #13
I too am having this problem. No solution yet.
ta...@gmail.com <ta...@gmail.com> #14
Hello, I have the same isssue. In Windows 10 and Fedora 23. SDK tools is version 25.1.7
om...@gmail.com <om...@gmail.com> #15
#15 Me too I having this problem.
fi...@gmail.com <fi...@gmail.com> #16
I have the same problem
me...@gmail.com <me...@gmail.com> #17
possible workaround?
after starting device from device manager, it shows up as a 'connected device' when running the project.
after starting device from device manager, it shows up as a 'connected device' when running the project.
ac...@gmail.com <ac...@gmail.com> #18
Same issue here.
Simple apps that do not require a more advanced build.gradle will work well, those apps that need gradles with these dependencies will crash with a 300minutes timeout error:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:design:23.2.0'
compile 'com.android.support:support-v4:23.2.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-identity:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.google.android.gms:play-services-analytics:8.4.0'
compile 'com.google.maps.android:android-maps-utils:0.4+'
}
I get this problem after upgrading to 2.1.2.
Since then, I've de-installed A/S2.1.2 and deleted SDK then re-installed and downloaded fresh SDK and installed tools from scratch.
Still crash with a 300minutes timeout error.
Am using my Android smartphone instead of AVD, at least that works.
Simple apps that do not require a more advanced build.gradle will work well, those apps that need gradles with these dependencies will crash with a 300minutes timeout error:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'com.android.support:design:23.2.0'
compile 'com.android.support:support-v4:23.2.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.google.android.gms:play-services-maps:8.4.0'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-identity:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.google.android.gms:play-services-analytics:8.4.0'
compile 'com.google.maps.android:android-maps-utils:0.4+'
}
I get this problem after upgrading to 2.1.2.
Since then, I've de-installed A/S2.1.2 and deleted SDK then re-installed and downloaded fresh SDK and installed tools from scratch.
Still crash with a 300minutes timeout error.
Am using my Android smartphone instead of AVD, at least that works.
pp...@google.com <pp...@google.com> #19
I _may_ have reproed this with Studio 2.2 Preview 5, emulator 25.2.0-3037468 and sysimg: API 23 Google API 2872745
ac...@gmail.com <ac...@gmail.com> #20
I still got this problem after refreshing SDKs and recreating AVDs twice. I have installed following APIs, I do not know why API21 shows "Partially installed", possibly because I left out obsolete revisions.
My SDK Tool detail:
Android SDK Tools 2.1.7 25.1.7 Installed
I will try and attach a logcat output shortly
Name API Rev Status
=====================================
Android 6.0 23 3 Installed
Android 5.1 22 2 Installed
Android 5.0 21 2 Partially installed
Android 4.2 17 3 Installed
16 5 Not installed
My SDK Tool detail:
Android SDK Tools 2.1.7 25.1.7 Installed
I will try and attach a logcat output shortly
Name API Rev Status
=====================================
Android 6.0 23 3 Installed
Android 5.1 22 2 Installed
Android 5.0 21 2 Partially installed
Android 4.2 17 3 Installed
16 5 Not installed
ro...@gmail.com <ro...@gmail.com> #21
Same issue here. On MAC 10.11.5, Android Studio 2.1.2, SDK Tools 25.1.7
pp...@google.com <pp...@google.com> #22
Sadly, this is _not_ reproduced on a tip of tree build of studio using canary release of emulator (25.2.0-3037468).
So, may not have any debugging ability from the studio side right now.
So, may not have any debugging ability from the studio side right now.
pp...@google.com <pp...@google.com> #23
Some progress, and a workaround.
This error occurs only (on a studio-2.2 ToT build, as well as on the Preview 5 release) when Tools > Android > "Enable ADB integration" is turnd off.
So, the workaround (or the fix?) is to enable this feature.
If you're using "Instant Run", you'll have this feature turned on anyway since Instant Run needs it.
This error occurs only (on a studio-2.2 ToT build, as well as on the Preview 5 release) when Tools > Android > "Enable ADB integration" is turnd off.
So, the workaround (or the fix?) is to enable this feature.
If you're using "Instant Run", you'll have this feature turned on anyway since Instant Run needs it.
pp...@google.com <pp...@google.com> #24
Talked to vsiva@, this is just a case of bad messaging to the user.
ADB integration should be on in this use case. We do warn the user in some other flows. Need to do that here as well.
- EmulatorConnectionListener tries to list some clients to verify that emulator is up and running:https://cs.corp.google.com/android/tools/adt/idea/android/src/com/android/tools/idea/run/EmulatorConnectionListener.java?type=cs&q=%22waiting+for+emulator%22&sq=package:android&l=155
- In case Adb integration is off, no clients are listed:https://cs.corp.google.com/android/tools/base/ddmlib/src/main/java/com/android/ddmlib/DeviceMonitor.java?type=cs&q=DeviceMonitor.java&sq=package:android&l=561
This causes studio to wait for the emulator to come up forever.
Instead, we EmulatorConnectionListener should complain loudly if adb integration is off.
ADB integration should be on in this use case. We do warn the user in some other flows. Need to do that here as well.
- EmulatorConnectionListener tries to list some clients to verify that emulator is up and running:
- In case Adb integration is off, no clients are listed:
This causes studio to wait for the emulator to come up forever.
Instead, we EmulatorConnectionListener should complain loudly if adb integration is off.
bi...@gmail.com <bi...@gmail.com> #27
same issue with no solution
vs...@google.com <vs...@google.com> #28
Solutions:
1. Use 2.2 Preview 7 or later, or:
2. First launch the emulator, then deploy.
1. Use 2.2 Preview 7 or later, or:
2. First launch the emulator, then deploy.
k0...@googlemail.com <k0...@googlemail.com> #29
I can see 2.2 preview 6 on canary channel. Tried but doesn't work.
ni...@google.com <ni...@google.com> #30
This is not reproducible in 2.2 preview 7 with SDK Tools 25.2.0 , API 23 emulator
Android Studio 2.2 Preview 7
Build #AI-145.3111935, built on August 1, 2016
JRE: 1.8.0_76-release-b03 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Android Studio 2.2 Preview 7
Build #AI-145.3111935, built on August 1, 2016
JRE: 1.8.0_76-release-b03 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
ma...@gmail.com <ma...@gmail.com> #31
emulator: WARNING: Crash service did not start
The memory needed by this VM exceeds the driver limit.
emulator: WARNING: Decreasing RAM size to 4096MB
Hax is enabled
Hax ram_size 0x100000000
HAX is not working and emulator runs in emulation mode.
qemu-system-i386.exe: -drive if=none,index=1,id=cache,file=C:\Users\Manu_Dufresne\.android\avd\Nexus_4_API_23.avd/cache.img: could not open disk image C:\Users\Manu_Dufresne\.android\avd\Nexus_4_API_23.avd/cache.img: Could not open 'C:\Users\Manu_Dufresne\.android\avd\Nexus_4_API_23.avd/cache.img': Invalid argument
The memory needed by this VM exceeds the driver limit.
emulator: WARNING: Decreasing RAM size to 4096MB
Hax is enabled
Hax ram_size 0x100000000
HAX is not working and emulator runs in emulation mode.
qemu-system-i386.exe: -drive if=none,index=1,id=cache,file=C:\Users\Manu_Dufresne\.android\avd\Nexus_4_API_23.avd/cache.img: could not open disk image C:\Users\Manu_Dufresne\.android\avd\Nexus_4_API_23.avd/cache.img: Could not open 'C:\Users\Manu_Dufresne\.android\avd\Nexus_4_API_23.avd/cache.img': Invalid argument
k0...@googlemail.com <k0...@googlemail.com> #32
DOESN'T WORK.
This is not reproducible in 2.2 preview 7 with SDK Tools 25.2.0 , API 23 emulator
Android Studio 2.2 Preview 7
Build #AI-145.3111935, built on August 1, 2016
JRE: 1.8.0_76-release-b03 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Error: Could not access the Package Manager. Is the system running
Unknown failure (Error: Could not access the Package Manager. Is the system running?)
Error while Installing APK
This is not reproducible in 2.2 preview 7 with SDK Tools 25.2.0 , API 23 emulator
Android Studio 2.2 Preview 7
Build #AI-145.3111935, built on August 1, 2016
JRE: 1.8.0_76-release-b03 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Error: Could not access the Package Manager. Is the system running
Unknown failure (Error: Could not access the Package Manager. Is the system running?)
Error while Installing APK
pp...@google.com <pp...@google.com> #33
Closing this bug for comments because
(1) we believe this bug fixed
(2) The workaround and description of the problem in comment #26 and #31 are valuable, so should not get lost in follow up stream of comments.
If you still face an issue, please file a new bug referring to this bug. If we find that this bug is indeed not fixed, we'll reopen the bug and de-duplicate your bug to it.
Thank you for your continued feedback.
(1) we believe this bug fixed
(2) The workaround and description of the problem in
If you still face an issue, please file a new bug referring to this bug. If we find that this bug is indeed not fixed, we'll reopen the bug and de-duplicate your bug to it.
Thank you for your continued feedback.
de...@gmail.com <de...@gmail.com> #34
i have same issue " Timed out after 300seconds waiting for emulator to come online." help me
k0...@googlemail.com <k0...@googlemail.com> #35
I have already given up. Google closed this issue without fix last year despite informing them it is not fixed yet. I tried all the work around however no success. Still does not work for me.
sa...@gmail.com <sa...@gmail.com> #36
I have same issue. No solution yet.
ar...@gmail.com <ar...@gmail.com> #37
I have the same issue
[Deleted User] <[Deleted User]> #38
I have the same issue. Finally, in AVD Manager, do not set to use the default devices(Target cannot be edited and with Google Play) in the list, I clone one of it and set the Target as Android 7.11, API 25 with Google APIs (it may not be relevant), it is OK now.
su...@gmail.com <su...@gmail.com> #39
I have the same issue.... Android sudio 2.1 - Error while waiting for device: Time out after 300seconds waiting for ....
Please send me proper solution
Please send me proper solution
[Deleted User] <[Deleted User]> #40
Same problem.. cannot find solution
ra...@gmail.com <ra...@gmail.com> #41
no solution?
[Deleted User] <[Deleted User]> #42
Same issue. I tried to change the emulator but it didn't work. Any solution?
[Deleted User] <[Deleted User]> #43
I ran these commands from terminal in the platform directory and it solved the issue.
> adb kill-server
> adb forward --remove-all
> adb start-server
> adb kill-server
> adb forward --remove-all
> adb start-server
ta...@gmail.com <ta...@gmail.com> #44
I also am experiencing this error with android studio (I think it is version 3.3?)
ww...@gmail.com <ww...@gmail.com> #45
I have the same issue
sa...@gmail.com <sa...@gmail.com> #46
I have the same issue
de...@gmail.com <de...@gmail.com> #47
Facing the same issue
cc...@gmail.com <cc...@gmail.com> #48
Same problem here, Android Studio version 2021.1.1, Sierra.
sa...@dreipol.ch <sa...@dreipol.ch> #49
Is there any solution to this? I got the same issue on all projects with Android Studio Chipmunk. It suddenly started. I already tried to reinstall it. The installing and launching works when I do it manually with gradle and adb.
And the problem exists with emulator and physical devices.
And the problem exists with emulator and physical devices.
mo...@gmail.com <mo...@gmail.com> #50
Same problem i am also facing, kindly resolve it
ah...@gmail.com <ah...@gmail.com> #51
I'm facing same issue
Description
When I Run my App it shows the emulator with following details:
Hax is Enabled
Hax ram_size 0x800000000
HAx is working and emulator
runs in fast virt mode.
console on port 5554,
ADB on port 5555
After that it takes to next TAB Launching app and shows Waiting for the device to Come online After that it shows
error: Error while waiting for device: Time out after 300seconds waiting for emulator to come online.
Android SDK Tool Version 25.1.3
Android studio 2.1
Intel x86 Emulator Accelerator HAXM Installer 6.0.1
Built on April 22, 2016