Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

1 votes
2 answers
1855 views
Cold boot: snapshot failed to load
Sometimes I start Android Emulator with the GUI, and sometimes I start with the CLI. If I keep using the same method, everything is fine, but if I switch between methods, it causes problems. For example if I start the emulator with the CLI, then shut down, then start again using the GUI, I get this:...
Sometimes I start Android Emulator with the GUI, and sometimes I start with the CLI. If I keep using the same method, everything is fine, but if I switch between methods, it causes problems. For example if I start the emulator with the CLI, then shut down, then start again using the GUI, I get this: ~~~ Cold boot: snapshot failed to load ~~~ If I start with the GUI, then shut down and start with the CLI, I get this: ~~~ qemu-system-i386.exe: Failed to load virtio-blk:virtio ~~~ Here is the command I use with CLI: ~~~ adb start-server emulator -writable-system -avd Pixel_2_API_24 ~~~ Am I doing something wrong?
Zombo (1 rep)
Oct 19, 2021, 02:46 PM • Last activity: Jul 2, 2025, 03:53 AM
24 votes
7 answers
46209 views
Wireless Android debugging not working
I am using the Android Studio Chipmunk edition. My Android device is connected to the WiFi and my PC is connected to the same router through ethernet cable. My devices are running Android 12. So, it seems like I am fulfilling all the requirements. I was able to connect a few times and able to instal...
I am using the Android Studio Chipmunk edition. My Android device is connected to the WiFi and my PC is connected to the same router through ethernet cable. My devices are running Android 12. So, it seems like I am fulfilling all the requirements. I was able to connect a few times and able to install apps wirelessly. However, I am failing now. One of the following two things happens each time: - The QR scanner does not do anything when I scan the code as if it didn't recognize the QR code at all. - The QR code is recognized and I get a message about the pairing taking a while. I also tried using the six-digit code for pairing by none of my devices are showing up under "Available Wi-fi Devices". What am I doing wrong?
Real Noob (341 rep)
Aug 8, 2022, 09:43 AM • Last activity: Jun 5, 2025, 06:56 PM
0 votes
1 answers
201 views
"Some required components are not available" error when running Android Studio
I'm trying to set up Android Studio. Before patch 2, and with error message presented: > Some required components are not available. You can continue, but some functionality may not work correctly until they are installed ``` Android Studio Meerkat | 2024.3.1 Patch 2 Build #AI-243.24978.46.2431.1336...
I'm trying to set up Android Studio. Before patch 2, and with error message presented: > Some required components are not available. You can continue, but some functionality may not work correctly until they are installed
Android Studio Meerkat | 2024.3.1 Patch 2
Build #AI-243.24978.46.2431.13363775, built on April 15, 2025
Runtime version: 21.0.6+8-LTS-188 amd64
VM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 4
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  Dart (243.26753.1)
  com.alaje.intellijplugins.flutter_images_gutter_icon (1.4.3)
  com.ai.assistant.bot (3.1.5)
  io.flutter (85.2.3)
Device name	dgWin111
Processor	Apple silicon   2.00 GHz
Installed RAM	16.0 GB
System type	64-bit operating system, ARM-based processor
Pen and touch	No pen or touch input is available for this display
Image Image Image from the log/IDEA
2025-04-23 10:25:14,067 [  15934]   INFO - #com.android.tools.idea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android/sys-img2-4.xml 
2025-04-23 10:25:14,069 [  15936]   INFO - #com.android.tools.idea.updater.SdkComponentSource - Downloading https://dl.google.com/android/repository/sys-img/android-wear-cn/sys-img2-4.xml 
2025-04-23 10:25:15,472 [  17339]   INFO - #c.i.DynamicBundle - Cleanup bundle cache for messages.IdeBundle
2025-04-23 10:25:15,479 [  17346]   INFO - #c.i.DynamicBundle - Cleanup bundle cache for messages.IdeBundle
2025-04-23 10:25:15,867 [  17734]   WARN - #com.android.tools.idea.welcome.install.InstallableSdkComponentTreeNode - Android SDK depends on the the packages that are not available: emulator
2025-04-23 10:25:16,085 [  17952]   WARN - #com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath - Dependant package with key emulator not found!
com.android.tools.idea.sdk.wizard.SdkQuickfixUtils$PackageResolutionException: Dependant package with key emulator not found!
	at com.android.tools.idea.sdk.wizard.SdkQuickfixUtils.resolve(SdkQuickfixUtils.java:355)
	at com.android.tools.idea.welcome.install.SdkComponentInstaller.getPackagesToInstall(SdkComponentInstaller.kt:42)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.lambda$init$0(InstallComponentsPath.java:148)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.lambda$init$2(InstallComponentsPath.java:156)
	at com.android.tools.idea.sdk.wizard.legacy.LicenseAgreementStep.createChangesList(LicenseAgreementStep.java:259)
	at com.android.tools.idea.sdk.wizard.legacy.LicenseAgreementStep.initUI(LicenseAgreementStep.java:208)
	at com.android.tools.idea.sdk.wizard.legacy.LicenseAgreementStep.(LicenseAgreementStep.java:118)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.init(InstallComponentsPath.java:159)
	at com.android.tools.idea.wizard.dynamic.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:98)
	at com.android.tools.idea.wizard.dynamic.DynamicWizard.addPath(DynamicWizard.java:233)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizard.init(FirstRunWizard.java:83)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizardHost.lambda$setupWizard$0(FirstRunWizardHost.java:126)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread$lambda$2(AnyThreadWriteThreadingSupport.kt:217)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread(AnyThreadWriteThreadingSupport.kt:216)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:843)
	at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:395)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:124)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:117)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.(WelcomeFrame.kt:71)
	at com.android.tools.idea.welcome.wizard.FirstRunWizardFrameProvider.lambda$createFrame$0(FirstRunWizardFrameProvider.java:34)
	at com.intellij.openapi.extensions.ExtensionPointName.computeSafeIfAny(ExtensionPointName.kt:70)
	at com.android.tools.idea.welcome.wizard.FirstRunWizardFrameProvider.createFrame(FirstRunWizardFrameProvider.java:30)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame$Companion.prepareToShow$lambda$4$lambda$3(WelcomeFrame.kt:173)
	at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
	at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
	at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
	at kotlin.sequences.SequencesKt___SequencesKt.firstOrNull(_Sequences.kt:172)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame$Companion.prepareToShow$lambda$4(WelcomeFrame.kt:173)
	at com.intellij.idea.IdeStarter$showWelcomeFrame$2$2.invokeSuspend(IdeStarter.kt:196)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:44)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:236)
	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:25)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:218)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:117)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:675)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:573)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:351)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1045)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at ....
...
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:675)
	at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.kt:621)
	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$21(IdeEventQueue.kt:564)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:564)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16$lambda$15(IdeEventQueue.kt:355)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:857)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:354)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1045)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:917)
	at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2(IdeEventQueue.kt:1045)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:1054)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:117)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1054)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18(IdeEventQueue.kt:349)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:395)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2025-04-23 10:27:17,852 [ 139719]   WARN - #c.i.u.j.JBCefApp - JCefAppConfig.class is not from a JBR module, url: jar:file:/C:/Program%20Files/Android/Android%20Studio/lib/lib.jar!/com/jetbrains/cef/JCefAppConfig.class (Use JBR bundled with the IDE)



...
...
...
2025-04-23 10:31:53,427 [  15227]   INFO - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Downloading https://dl.google.com/android/repository/sys-img/google_playstore_tablet/sys-img2-4.xml 
2025-04-23 10:31:53,429 [  15229]   INFO - #com.android.tools.idea.progress.RepoProgressIndicatorAdapter - Downloading https://dl.google.com/android/repository/glass/addon2-3.xml 
2025-04-23 10:31:56,046 [  17846]   INFO - #c.i.DynamicBundle - Cleanup bundle cache for messages.IdeBundle
2025-04-23 10:31:56,299 [  18099]   WARN - #com.android.tools.idea.welcome.install.InstallableSdkComponentTreeNode - Android SDK depends on the the packages that are not available: emulator
2025-04-23 10:31:56,505 [  18305]   WARN - #com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath - Dependant package with key emulator not found!
com.android.tools.idea.sdk.wizard.SdkQuickfixUtils$PackageResolutionException: Dependant package with key emulator not found!
	at com.android.tools.idea.sdk.wizard.SdkQuickfixUtils.resolve(SdkQuickfixUtils.java:355)
	at com.android.tools.idea.welcome.install.SdkComponentInstaller.getPackagesToInstall(SdkComponentInstaller.kt:42)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.lambda$init$0(InstallComponentsPath.java:148)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.lambda$init$2(InstallComponentsPath.java:156)
	at com.android.tools.idea.sdk.wizard.legacy.LicenseAgreementStep.createChangesList(LicenseAgreementStep.java:259)
	at com.android.tools.idea.sdk.wizard.legacy.LicenseAgreementStep.initUI(LicenseAgreementStep.java:208)
	at com.android.tools.idea.sdk.wizard.legacy.LicenseAgreementStep.(LicenseAgreementStep.java:118)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.init(InstallComponentsPath.java:159)
	at com.android.tools.idea.wizard.dynamic.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:98)
	at com.android.tools.idea.wizard.dynamic.DynamicWizard.addPath(DynamicWizard.java:233)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizard.init(FirstRunWizard.java:83)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizardHost.lambda$setupWizard$0(FirstRunWizardHost.java:126)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread$lambda$2(AnyThreadWriteThreadingSupport.kt:217)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runIntendedWriteActionOnCurrentThread(AnyThreadWriteThreadingSupport.kt:216)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:843)
	at com.intellij.openapi.application.impl.ApplicationImpl.invokeAndWait(ApplicationImpl.java:395)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:124)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:117)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.(WelcomeFrame.kt:71)
	at com.android.tools.idea.welcome.wizard.FirstRunWizardFrameProvider.lambda$createFrame$0(FirstRunWizardFrameProvider.java:34)
	at com.intellij.openapi.extensions.ExtensionPointName.computeSafeIfAny(ExtensionPointName.kt:70)
	at com.android.tools.idea.welcome.wizard.FirstRunWizardFrameProvider.createFrame(FirstRunWizardFrameProvider.java:30)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame$Companion.prepareToShow$lambda$4$lambda$3(WelcomeFrame.kt:173)
	at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
	at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
	at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
	at kotlin.sequences.SequencesKt___SequencesKt.firstOrNull(_Sequences.kt:172)
	at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame$Companion.prepareToShow$lambda$4(WelcomeFrame.kt:173)
	at com.intellij.idea.IdeStarter$showWelcomeFrame$2$2.invokeSuspend(IdeStarter.kt:196)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at com.intellij.openapi.application.impl.DispatchedRunnable.run(DispatchedRunnable.kt:44)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:236)
	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:25)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:218)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:117)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:675)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:573)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18$lambda$17$lambda$16(IdeEventQueue.kt:351)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2$lambda$1(IdeEventQueue.kt:1045)
	at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
	at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:128)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:917)
	at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
	at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$2(IdeEventQueue.kt:1045)
	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:1054)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:109)
	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1054)
	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$18(IdeEventQueue.kt:349)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:395)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2025-04-23 10:31:56,632 [  18432]   INFO - #c.i.DynamicBundle - Cleanup bundle cache for messages.IdeCoreBundle
2025-04-23 10:32:02,014 [  23814]   WARN - #c.i.o.Disposable - use application as a parent disposable
2025-04-23 10:32:10,898 [  32698]   WARN - #com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath - Dependant package with key emulator not found!
com.android.tools.idea.sdk.wizard.SdkQuickfixUtils$PackageResolutionException: Dependant package with key emulator not found!
	at com.android.tools.idea.sdk.wizard.SdkQuickfixUtils.resolve(SdkQuickfixUtils.java:355)
	at com.android.tools.idea.welcome.install.SdkComponentInstaller.getPackagesToInstall(SdkComponentInstaller.kt:42)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.lambda$init$0(InstallComponentsPath.java:148)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallSummaryStep.generateSummary(InstallSummaryStep.java:69)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallSummaryStep.onEnterStep(InstallSummaryStep.java:60)
	at com.android.tools.idea.wizard.dynamic.DynamicWizardPath.next(DynamicWizardPath.java:311)
	at com.android.tools.idea.welcome.wizard.deprecated.InstallComponentsPath.next(InstallComponentsPath.java:77)
	at com.android.tools.idea.wizard.dynamic.DynamicWizard.showNextStep(DynamicWizard.java:345)
	at com.android.tools.idea.wizard.dynamic.DynamicWizard.doNextAction(DynamicWizard.java:335)
	at com.android.tools.idea.welcome.wizard.deprecated.FirstRunWizardHost$NextAction.actionPerformed(FirstRunWizardHost.java:429)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2314)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:407)
...
...

java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: com.android.tools.idea.sdk.wizard.SdkQuickfixUtils$PackageResolutionException: Dependant package with key emulator not found!
	at com.android.tools.idea.sdk.wizard.SdkQuickfixUtils.resolve(SdkQuickfixUtils.java:355)
	at com.android.tools.idea.welcome.install.SdkComponentInstaller.getPackagesToInstall(SdkComponentInstaller.kt:42)
	at com.android.tools.idea.welcome.install.InstallSdkComponentsOperation.perform(InstallSdkComponentsOperation.kt:38)
	... 52 more
2025-04-23 10:32:14,812 [  36612] SEVERE - #com.android.tools.idea.welcome.wizard.deprecated.ConsolidatedProgressStep$1 - Android Studio Meerkat | 2024.3.1 Patch 1  Build #AI-243.24978.46.2431.13208083
2025-04-23 10:32:14,812 [  36612] SEVERE - #com.android.tools.idea.welcome.wizard.deprecated.ConsolidatedProgressStep$1 - JDK: 21.0.6; VM: Java HotSpot(TM) 64-Bit Server VM; Vendor: Oracle Corporation
2025-04-23 10:32:14,812 [  36612] SEVERE - #com.android.tools.idea.welcome.wizard.deprecated.ConsolidatedProgressStep$1 - OS: Windows 11
2025-04-23 10:32:14,827 [  36627] SEVERE - #com.android.tools.idea.welcome.wizard.deprecated.ConsolidatedProgressStep$1 - Last Action: 
2025-04-23 10:32:50,349 [  72149]   WARN - #c.i.i.u.UIThemeBean - Unknown field: CombinedDiff
2025-04-23 10:32:50,352 [  72152]   WARN - #c.i.i.u.UIThemeBean - Unknown field: BlockBorder
2025
Dave Gress (1 rep)
Apr 23, 2025, 08:53 PM • Last activity: Apr 24, 2025, 03:58 AM
1 votes
0 answers
179 views
Set GPS location on startup of Android Virtual Device manager
I run Android Virtual Device manager, and use the fake location option "... more", Location, Set location. But I have to do this every time I start, so my apps get another location during bootup. How can I permanently set this?
I run Android Virtual Device manager, and use the fake location option "... more", Location, Set location. But I have to do this every time I start, so my apps get another location during bootup. How can I permanently set this?
davidbaumann (207 rep)
Apr 12, 2025, 04:46 PM • Last activity: Apr 21, 2025, 06:02 PM
5 votes
3 answers
4717 views
ADB not responding
Multiple times per day, ADB suddenly stops responding. After this occurs, every `adb` shell command fails to finish or produce any output. IntelliJ and Android Studio no longer recognize my phone(s). The solution is straightforward: run the command ``` killall adb ``` However, I find myself needing...
Multiple times per day, ADB suddenly stops responding. After this occurs, every adb shell command fails to finish or produce any output. IntelliJ and Android Studio no longer recognize my phone(s). The solution is straightforward: run the command
killall adb
However, I find myself needing to do this repeatedly, approximately every 15-30 minutes, which significantly hampers my development workflow. Each time I perform this action, I have to restart my Flutter application. Do you have any suggestions for resolving this issue? I am using a New M2 MacBook Pro with Ventura 13.6, and ADB was installed via the Jetbrains SDK Manager (SDK Platform-Tools): enter image description here
L.Nightman (51 rep)
Oct 19, 2023, 02:31 PM • Last activity: Apr 4, 2025, 09:56 AM
2 votes
1 answers
381 views
Downloading Android SDK without Android Studio
I would like to know where I can get the Android SDK by itself without Android Studio? I already have Android Studio.
I would like to know where I can get the Android SDK by itself without Android Studio? I already have Android Studio.
York (21 rep)
Mar 7, 2025, 06:44 PM • Last activity: Mar 8, 2025, 02:53 PM
0 votes
1 answers
917 views
How do I remove this 'zombie' emulator listed by ADB, but not by Android Studio?
When I run `adb devices`, it shows an offline emulator: List of devices attached emulator-5554 device emulator-5562 offline However, when I run Device Manager in Android Studio, it's not listed. When I try to kill the emulator with `adb -s emulator-5562 emu kill`, I get connection refused. When I tr...
When I run adb devices, it shows an offline emulator: List of devices attached emulator-5554 device emulator-5562 offline However, when I run Device Manager in Android Studio, it's not listed. When I try to kill the emulator with adb -s emulator-5562 emu kill, I get connection refused. When I try to get info about it with adb -s emulator-5562 shell getprop, I get "device offline". My $HOME/.android/avd folder is empty. I can't find any sign of this emulator in my file system. I'm on a Mac. How do I get rid of this thing? I have a React Native project that I can't run on Android, because the expo command keeps trying to run on this mysterious offline emulator, so I'm trying to attack what I think is the root issue.
sadelbrid (111 rep)
Dec 14, 2024, 07:44 PM • Last activity: Dec 14, 2024, 08:43 PM
0 votes
0 answers
447 views
Unable to Sign in with Google in Android Studio Emulator
Does anyone know what the trick is to sign into Google in Android Studio Emulator? I have tried to follow every tutorial I can find. - [Could not sign in Google account on android emulator with react-native app](https://stackoverflow.com/questions/58882366/could-not-sign-in-google-account-on-android...
Does anyone know what the trick is to sign into Google in Android Studio Emulator? I have tried to follow every tutorial I can find. - [Could not sign in Google account on android emulator with react-native app](https://stackoverflow.com/questions/58882366/could-not-sign-in-google-account-on-android-emulator-with-react-native-app) - [Unable to Sign in into with google in Android Studio Emulator(API 30, target - Android 11.0 with Google Play, CPU- x86 )](https://discuss.appium.io/t/unable-to-sign-in-into-with-google-in-android-studio-emulator-api-30-target-android-11-0-with-google-play-cpu-x86/34596)
noobprogrammer1987 (1 rep)
Nov 6, 2024, 09:37 PM • Last activity: Nov 7, 2024, 04:01 PM
2 votes
0 answers
246 views
How may I install an Android System Image not available on Google Downloads?
I happened to be working on an Android application written around *2010* or so and the target OS is Android Cupcake. The application was written for very old hardware and still runs fine on those (it is still currently in use). I am hired to write a new feature for this application and from the desc...
I happened to be working on an Android application written around *2010* or so and the target OS is Android Cupcake. The application was written for very old hardware and still runs fine on those (it is still currently in use). I am hired to write a new feature for this application and from the description of this feature, it should run flawlessly. But I can’t seem to find the right tools that will make my job easy. I badly want to use Android Studio because I am used to it. But Android Studio doesn’t have Android Cupcake system image for x86 processor (in those days, Android was written for ARM processor only). I have an x86 Android Cupcake system image that works (please don’t ask how I got it because it is a very long story). I want to setup an AVD and use this image as the underlying system image but I’m lost. Has anyone done this before?
Chukwujiobi Canon (121 rep)
Sep 2, 2024, 02:56 PM
1 votes
1 answers
2886 views
"Could not launch inspector studio.network.inspection" when using App Inspector on Android Studio Bumblebee 2021.1.1.1 with WiFi pairing
When we use a "pair device using WiFi" in Android Studio Bumblebee version 2021.1.1, in the "App Inspection" section, it gives us an error in reading the "Database". > Could not launch inspector studio.network.inspection: Inspector with given id studio.network.inspection already exists. It was launc...
When we use a "pair device using WiFi" in Android Studio Bumblebee version 2021.1.1, in the "App Inspection" section, it gives us an error in reading the "Database". > Could not launch inspector studio.network.inspection: Inspector with given id studio.network.inspection already exists. It was launched by project: sap. > > This could happen if you launched the same inspector from two different projects at the same time, or if a previous run of the current project crashed unexpectedly and didn't shut down properly. > > [Restart] Nothing happened after pressing the "Restart" button. How to fix it? Original screenshot of the error.
Pouria Hemi (111 rep)
Feb 20, 2022, 11:54 AM • Last activity: May 22, 2024, 08:51 AM
3 votes
1 answers
7894 views
Which Android virtual device is based on ARM system image?
Android Studio has a feature where you can emulate an Android device -- tablet, phone, etc. -- but it crashes the virtual machine (Ubuntu) I am using. Depending on which VM platform I am using, it sometimes lets me know what went wrong. Here are the four options: > **Troubleshoot** > > Unfortunately...
Android Studio has a feature where you can emulate an Android device -- tablet, phone, etc. -- but it crashes the virtual machine (Ubuntu) I am using. Depending on which VM platform I am using, it sometimes lets me know what went wrong. Here are the four options: > **Troubleshoot** > > Unfortunately, your computer does not support hardware accelerated virtualization. > Here are some of your options: > 1\) Use a physical device for testing > 2\) Develop on a Windows/OSX computer with an Intel processor that supports VT-x and NX > 3\) Develop on a Linux computer that supports VT-x or SVM > 4\) Use an Android Virtual Device based on an ARM system image (This is 10x slower than hardware accelerated virtualization) I like the fourth one. So, which Android virtual device is based on ARM system image? *Original pop-up dialog:* Original pop-up dialog
xarzu (133 rep)
Aug 11, 2022, 03:11 AM • Last activity: Mar 31, 2024, 06:06 AM
1 votes
0 answers
188 views
Accessing Recorder app files
On my Pixel 4a, I had a number of recordings on the Google Recorder app. When I tried to enable the backup option, something must have gone wrong, and my recordings disappeared from the list, and didn't get backed up either. However I'm sure they are still technically there on the phone, as when I v...
On my Pixel 4a, I had a number of recordings on the Google Recorder app. When I tried to enable the backup option, something must have gone wrong, and my recordings disappeared from the list, and didn't get backed up either. However I'm sure they are still technically there on the phone, as when I view the app in settings, it has 100mb+ of "user data". I've read that they're stored in the **/data/data/com.google.android.apps.recorder/files/recordings** folder, but I've been unable to access this file a normal file explorer, or via Android studio (it says run-as: package not debuggable). I've also tried using adb backup, but this produced a 1kb file, so I assume this app has the nobackup option in the manifest file. Is there any way I can get at these files? I know you can if the phone is rooted, but it isn't, and I believe rooting it involves wiping everything?
Tom Folk (11 rep)
Feb 17, 2024, 05:10 PM
0 votes
1 answers
780 views
Does the Android SDK Emulator mount the filesystems on the host or emulate the mounting?
Does the Android Studio Emulator mount filesystems (like `system.img` and `userdata-qemu.img`) or emulate the mounting by making an illusion because I can't find them (the mounted filesystems) on the host at all.
Does the Android Studio Emulator mount filesystems (like system.img and userdata-qemu.img) or emulate the mounting by making an illusion because I can't find them (the mounted filesystems) on the host at all.
asmmo (163 rep)
Sep 30, 2021, 11:28 AM • Last activity: Jan 13, 2024, 12:08 PM
1 votes
1 answers
340 views
Virtual device in android studio virtual device manager is not play protect certified
I downloaded Android Studio yesterday, so it should be fairly new. I created 2 virtual devices using latest SDK, version 14 something. Both device is not play protect certified when I check in: Play Store --> Profile --> Settings --> About We can never certify any virtual device in android studio? H...
I downloaded Android Studio yesterday, so it should be fairly new. I created 2 virtual devices using latest SDK, version 14 something. Both device is not play protect certified when I check in: Play Store --> Profile --> Settings --> About We can never certify any virtual device in android studio? How can I certify my virtual device in android studio?
Pop (121 rep)
Dec 20, 2023, 02:24 AM • Last activity: Dec 20, 2023, 04:48 AM
0 votes
1 answers
538 views
Screen capture on Android using Android SDK
I am trying to take a screen capture of my android phone when it plays a video, with native resolution and minimum overhead. But when I use Android Studio's record option as seen below, the recorded video shows frame drops compared to the actual video seen on the device. I guess it's because device...
I am trying to take a screen capture of my android phone when it plays a video, with native resolution and minimum overhead. But when I use Android Studio's record option as seen below, the recorded video shows frame drops compared to the actual video seen on the device. I guess it's because device is already at high-performance and can't keep up with this request especially that Android Studio is also showing the video here. Is there a way to do any better? Can we do it directly with Android SDK through CLI maybe that way there will be less overhead and we'll get a better video recording? Or alternatively, any apps could do it? enter image description here
Mary (113 rep)
Nov 21, 2023, 10:53 PM • Last activity: Nov 22, 2023, 04:27 AM
1 votes
1 answers
767 views
Android Emulator cellular speed limits does not work properly
I need to limit cellular speeds in Android Studio's Emulator. I tried to limit it from the default settings: [![][1]][1] but it does not work. Each time I select anything lower than LTE I get like 0.01Mbps. [![][2]][2] Any idea how to fix it so I get the speeds which are described in [reference](htt...
I need to limit cellular speeds in Android Studio's Emulator. I tried to limit it from the default settings: Image but it does not work. Each time I select anything lower than LTE I get like 0.01Mbps. Image Any idea how to fix it so I get the speeds which are described in [reference](https://developer.android.com/studio/run/emulator-commandline.html#common) :
UP(KBps) DOWN (KBps)
                  -------- ----------
gsm   GSM/CSD         14.4       14.4
hscsd HSCSD           14.4       57.6
gprs  GPRS            28.8       57.6
umts  UMTS/3G        384.0      384.0
edge  EDGE/EGPRS     473.6      473.6
hsdpa HSDPA         5760.0   13,980.0
lte   LTE         58,000.0  173,000.0
evdo  EVDO        75,000.0  280,000.0
full  No limit           ∞          ∞
Baterka (121 rep)
Feb 28, 2022, 12:37 PM • Last activity: Aug 21, 2023, 07:49 AM
0 votes
0 answers
51 views
Where is the su policy defined in Andriod SELinux Policy?
Where the su policy is defined in the SELinux policy and see what makes it different to other policies?
Where the su policy is defined in the SELinux policy and see what makes it different to other policies?
Callie Stull (1 rep)
Jul 26, 2023, 11:42 PM
10 votes
2 answers
47561 views
Can I access "/data/user/0/" folder in Android emulator from Ubuntu PC?
I am using Ubuntu 18.04. From Android Studio with the following code I am getting file directory ``` Context ctx = getApplicationContext(); final File filesDir = ctx.getFilesDir(); ``` which is `/data/user/0/com.example.ipfs/files/`. I am running my app on Android Emulator. How do I go to the `/data...
I am using Ubuntu 18.04. From Android Studio with the following code I am getting file directory
Context ctx = getApplicationContext();
final File filesDir = ctx.getFilesDir();
which is /data/user/0/com.example.ipfs/files/. I am running my app on Android Emulator. How do I go to the /data/user/0/com.example.ipfs/files/ folder from my PC?
mahfuj asif (203 rep)
Mar 28, 2021, 06:21 AM • Last activity: May 30, 2023, 01:19 PM
5 votes
2 answers
8313 views
"cannot add library libvulkan.so" when trying to start emulator
This is my first time attempting anything Android. I have installed Android Studio 2021.3.1 Patch 1 on Ubuntu 22.04 and created an Empty Compose Activity as a test. The Device Manager looks like this [![enter image description here][1]][1] But when I try to run it I get The emulator process for AVD...
This is my first time attempting anything Android. I have installed Android Studio 2021.3.1 Patch 1 on Ubuntu 22.04 and created an Empty Compose Activity as a test. The Device Manager looks like this enter image description here But when I try to run it I get The emulator process for AVD Pixel_XL_API_33 has terminated idea.log contains INFO - Emulator: Pixel XL API 33 - [...]android-sdk/emulator/emulator -netdelay none -netspeed full -avd Pixel_XL_API_33 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300 INFO - Emulator: Pixel XL API 33 - Android emulator version 31.3.13.0 (build_id 9189900) (CL:N/A) INFO - Emulator: Pixel XL API 33 - emulator: INFO: Found systemPath [...]/android-sdk/system-images/android-33/google_apis/x86_64/ WARN - Emulator: Pixel XL API 33 - Failed to process .ini file ~/.android/avd/Pixel_XL_API_33.avd/quickbootChoice.ini for reading. WARN - Emulator: Pixel XL API 33 - cannot add library [...]/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed INFO - Emulator: Pixel XL API 33 - WARNING: lavapipe is not a conformant vulkan implementation, testing use only. INFO - Emulator: Pixel XL API 33 - Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) ERROR - Emulator: Pixel XL API 33 - Emulator terminated with exit code 139 This happens with Android 5.0 and 8.1 projects. As per [this question](https://stackoverflow.com/questions/68741533/android-emulator-does-not-start-after-arctic-fox-upgrade-libvulkan-so-failed) I have tried sudo ubuntu-drivers autoinstall which gives "/usr/bin/ubuntu-drivers", line 187, in command_install UbuntuDrivers.detect.nvidia_desktop_pre_installation_hook(to_install) File "/usr/lib/python3/dist-packages/UbuntuDrivers/detect.py", line 839, in nvidia_desktop_pre_installation_hook with_nvidia_kms = version >= 470 UnboundLocalError: local variable 'version' referenced before assignment and mesa-vulkan-drivers are already installed. How do I fix this error and run a basic project out-of-the-box in an emulator on Linux?
spraff (279 rep)
Dec 5, 2022, 10:17 AM • Last activity: Apr 12, 2023, 08:04 AM
1 votes
0 answers
195 views
How to download all Android SDK platforms using sdkmanager from terminal without Android Studio?
Need to automate downloading of all available Android SDK Platforms using the ```sdkmanager``` from terminal. For example, an Android SDK Platform 19 can be installed using ```sdkmanager "platforms;android-19"```. How to install all avaiable SDK Platforms without running the command separately for e...
Need to automate downloading of all available Android SDK Platforms using the
from terminal. For example, an Android SDK Platform 19 can be installed using
"platforms;android-19"
. How to install all avaiable SDK Platforms without running the command separately for each platform?
Fr0stM0urne (46 rep)
Mar 26, 2023, 11:50 PM
Showing page 1 of 20 total questions