Fixed
Status Update
Comments
rm...@google.com <rm...@google.com> #2
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
le...@gmail.com <le...@gmail.com> #3
It happen when I just installed android studio and tried to open avd manager...
[Deleted User] <[Deleted User]> #4
I can also re-produce this bug on a fresh install of Ubuntu 18.04 LTS with both the zip download and using the PPA package.
When trying to launch the pre-installed AVD from terminal, I get an error similar to 'Unable to find engine X86'. Sorry, that install is now gone, so can't get the exact message.
When trying to launch the pre-installed AVD from terminal, I get an error similar to 'Unable to find engine X86'. Sorry, that install is now gone, so can't get the exact message.
rp...@google.com <rp...@google.com> #5
Hannah, I thought we had fixed this some time back?
he...@gmail.com <he...@gmail.com> #6
Hello, This error also happen to me :/. I have already reported to google. Is there any fix or smthing ?
ar...@gmail.com <ar...@gmail.com> #7
I actually have an existing "basic" project from the templates but I also get the same error.
zo...@gmail.com <zo...@gmail.com> #8
First, you must install support for KVM virtualization: sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils ia32-libs-multiarch
Second, you must set the proper user permissions: sudo usermod -aG kvm $(whoami)
Logout or reboot the system.
Good luck :-)
Second, you must set the proper user permissions: sudo usermod -aG kvm $(whoami)
Logout or reboot the system.
Good luck :-)
bo...@gmail.com <bo...@gmail.com> #9
have the same issue :/
bo...@gmail.com <bo...@gmail.com> #10
E: Unable to locate package ia32-libs-multiarch
it...@gmail.com <it...@gmail.com> #11
Hello,
I have this problem in windows 10 x64.
I have this problem in windows 10 x64.
so...@gmail.com <so...@gmail.com> #12
Same issue on ubuntu. I want to enter the flutter contest :(
ak...@gmail.com <ak...@gmail.com> #13
same issue here. Windows 10 home x64
[Deleted User] <[Deleted User]> #14
du...@roames.com.au <du...@roames.com.au> #15
au...@gmail.com <au...@gmail.com> #16
Trying to open "AVD Manager" without opening any project causes this error. However, trying to do same when opening any project shows AVD window correctly.
Unfortunately closing the project also closes the AVD window, and causes same problem to appear again.
Windows 10 1809 x64 (10.0.17763.404), JDK 8u202
Unfortunately closing the project also closes the AVD window, and causes same problem to appear again.
Windows 10 1809 x64 (10.0.17763.404), JDK 8u202
ma...@gmail.com <ma...@gmail.com> #17
Same issue. ubuntu 18.04. Tried solution mentioned in Comment #8 but it didn't work. Could someone tell me what should i do to open avd manager?
pv...@gmail.com <pv...@gmail.com> #18
Same issue. ubuntu 18.04. Tried solution mentioned in Comment #8 but it didn't work.
so...@gmail.com <so...@gmail.com> #19
Guys, here's what I did, create a file to get into the IDE and then go to AVD manager from there. Tools --> AVD manager. After that, just search a way to get permission to the /dev/usr folder or whatever.
Not the ideal solution, but it works.
Not the ideal solution, but it works.
ha...@google.com <ha...@google.com>
ha...@google.com <ha...@google.com> #20
The stacktrace is caused by inconsistent Nullable/NotNull annotating, which I have fixed.
However, users are hitting this because of problems with emulator acceleration, and it could be any of the possible errors, such as nested VMs, Hyper-V, KVM ( Comment #8 ), etc.
To determine the problem, navigate to your Android/Sdk directory in command line and then the emulator directory under that (i.e. ~/Android/Sdk/emulator/ or AppData\Local\Android\Sdk\emulator\). Run either `emulator -accel-check` or `emulator-check accel`; this is the check that Android Studio is trying to perform when opening the AVD manager from the landing window. That should give the error code as well as a short solution message for non-zero error.
However, users are hitting this because of problems with emulator acceleration, and it could be any of the possible errors, such as nested VMs, Hyper-V, KVM (
To determine the problem, navigate to your Android/Sdk directory in command line and then the emulator directory under that (i.e. ~/Android/Sdk/emulator/ or AppData\Local\Android\Sdk\emulator\). Run either `emulator -accel-check` or `emulator-check accel`; this is the check that Android Studio is trying to perform when opening the AVD manager from the landing window. That should give the error code as well as a short solution message for non-zero error.
[Deleted User] <[Deleted User]> #21
Thank everybody ,I have solve this problem.Now it works in LinuxMint19!!
da...@gmail.com <da...@gmail.com> #22
As they said in #19, once you have a project and open the AVD Manager from within the project, it opens without the error.
mb...@gmail.com <mb...@gmail.com> #23
Do any of you use Oracle JDK or OpenJDK? I am preparing my development environment with a coworker and the only thing that's different right now with my machine and his is that he uses OpenJDK. He doesn't have this issue while I do. Just to give an idea.
ko...@gmail.com <ko...@gmail.com> #24
I have ubuntu 18 and I faced this problem too.
ew...@gmail.com <ew...@gmail.com> #25
On windows (10), this work for me:
1 - Delete this folders : C:\Users\USER_NAME.android
and C:\Users\USER_NAME.AndroidStudio.
2 - and any folder thats call "android" in C:\Users\USER_NAME\AppData\Local\
(Sorry, this is not my first language.)
1 - Delete this folders : C:\Users\USER_NAME.android
and C:\Users\USER_NAME.AndroidStudio.
2 - and any folder thats call "android" in C:\Users\USER_NAME\AppData\Local\
(Sorry, this is not my first language.)
ol...@gmail.com <ol...@gmail.com> #26
i had the same issue and i solved it on mint19. thanks to comment#20 .
1. I ran 'emulator-check accel' and it gave me a clear message error.
2. here is the message "This user doesn't have permissions to use KVM (/dev/kvm)".
3. i ran "sudo chown username -R /dev/kvm" and it solved the problem.
Thanks to all of you!
1. I ran 'emulator-check accel' and it gave me a clear message error.
2. here is the message "This user doesn't have permissions to use KVM (/dev/kvm)".
3. i ran "sudo chown username -R /dev/kvm" and it solved the problem.
Thanks to all of you!
Description
Build #AI-182.5107.16.33.5314842, built on February 16, 2019
JRE: 1.8.0_152-release-1248-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-46-generic
Ubuntu 18.04 LTS
Steps to Reproduce:
1. Start AS
2. Click Configure/AVD Manager
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'project' of com/android/tools/idea/avdmanager/AccelerationErrorNotificationPanel.<init> must not be null
at com.android.tools.idea.avdmanager.AccelerationErrorNotificationPanel.$$$reportNull$$$0(AccelerationErrorNotificationPanel.java)
at com.android.tools.idea.avdmanager.AccelerationErrorNotificationPanel.<init>(AccelerationErrorNotificationPanel.java)
at com.android.tools.idea.avdmanager.AvdDisplayList.refreshErrorCheck(AvdDisplayList.java:517)
at com.android.tools.idea.avdmanager.AvdDisplayList.refreshAvds(AvdDisplayList.java:218)
at com.android.tools.idea.avdmanager.AvdDisplayList.<init>(AvdDisplayList.java:175)
at com.android.tools.idea.avdmanager.AvdListDialog.<init>(AvdListDialog.java:43)
at org.jetbrains.android.actions.RunAndroidAvdManagerAction.openAvdManager(RunAndroidAvdManagerAction.java:55)
at org.jetbrains.android.actions.RunAndroidAvdManagerAction.actionPerformed(RunAndroidAvdManagerAction.java:48)
at com.intellij.openapi.wm.impl.welcomeScreen.FlatWelcomeFrame$FlatWelcomeScreen$IconsFreeActionGroup$1.actionPerformed(FlatWelcomeFrame.java:742)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:255)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:272)
at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:203)
at com.intellij.ui.popup.ActionPopupStep.performAction(ActionPopupStep.java:191)
at com.intellij.ui.popup.ActionPopupStep.lambda$onChosen$2(ActionPopupStep.java:185)
at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195)
at com.intellij.ui.popup.AbstractPopup.lambda$dispose$8(AbstractPopup.java:1417)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:3094)
at com.intellij.ide.IdeEventQueue.ifFocusEventsInTheQueue(IdeEventQueue.java:189)
at com.intellij.ide.IdeEventQueue.executeWhenAllFocusEventsLeftTheQueue(IdeEventQueue.java:138)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:190)
at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:1411)
at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:160)
at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:307)
at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.dispose(PopupFactoryImpl.java:289)
at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:48)
at com.intellij.openapi.util.Disposer$1.execute(Disposer.java:44)
at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:138)
at com.intellij.openapi.util.objectTree.ObjectNode$1.execute(ObjectNode.java:107)
at com.intellij.openapi.util.objectTree.ObjectTree.executeActionWithRecursiveGuard(ObjectTree.java:182)
at com.intellij.openapi.util.objectTree.ObjectNode.execute(ObjectNode.java:107)
at com.intellij.openapi.util.objectTree.ObjectTree.executeAll(ObjectTree.java:151)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:129)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:125)
at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:263)
at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:442)
at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:396)
at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:342)
at com.intellij.ui.popup.PopupFactoryImpl$ActionGroupPopup.handleSelect(PopupFactoryImpl.java:309)
at com.intellij.ui.popup.list.ListPopupImpl$MyMouseListener.mouseReleased(ListPopupImpl.java:501)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.Component.processMouseEvent(Component.java:6548)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3325)
at com.intellij.ui.popup.list.ListPopupImpl$MyList.processMouseEvent(ListPopupImpl.java:552)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:817)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:754)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:394)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)