Popular New Releases in Emulator
rpcs3
v0.0.21 Alpha
ruffle
Nightly 2022-04-23
ppsspp
v1.12.3
pcsx2
v1.7.2645
mame
MAME 0.242
Popular Libraries in Emulator
by yuzu-emu c++
19698 GPL-3.0
Nintendo Switch Emulator
by RPCS3 c++
10756 GPL-2.0
PS3 emulator/debugger
by Ryujinx csharp
10477 MIT
Experimental Nintendo Switch Emulator written in C#
by ruffle-rs rust
9759 NOASSERTION
A Flash Player emulator written in Rust
by VGraupera javascript
8598 MIT
Mega list of 1 on 1 meeting questions compiled from a variety to sources
by dolphin-emu c++
7719 NOASSERTION
Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
by hrydgard c++
7152 NOASSERTION
A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums on ppsspp.org.
by PCSX2 c++
6577 NOASSERTION
PCSX2 - The Playstation 2 Emulator
by skyline-emu c++
5873 MPL-2.0
Run Nintendo Switch homebrew & games on your Android device!
Trending New libraries in Emulator
by TrungNguyen1909 c
1096 NOASSERTION
iPhone 11 emulated on QEMU
by ptitSeb c
1035 MIT
Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
by fireeye python
765 MIT
Windows kernel and user mode emulation.
by FEX-Emu c++
681 MIT
A fast usermode x86 and x86-64 emulator for Arm64
by danoon2 c
556 GPL-2.0
by schellingb c++
418 GPL-2.0
DOSBox Pure is a new fork of DOSBox built for RetroArch/Libretro aiming for simplicity and ease of use.
by eaglx c++
380 GPL-3.0
Obfuscation method using virtual machine.
by HACK3RY2J shell
379
A Tool To Send Messages Anonymously..
by ViGEm c
373 BSD-3-Clause
Virtual HID Mini-user-mode-driver for Sony DualShock 3 Controllers
Top Authors in Emulator
1
25 Libraries
993
2
11 Libraries
2515
3
8 Libraries
85
4
6 Libraries
53
5
6 Libraries
117
6
6 Libraries
800
7
5 Libraries
45
8
5 Libraries
34
9
5 Libraries
407
10
5 Libraries
18
1
25 Libraries
993
2
11 Libraries
2515
3
8 Libraries
85
4
6 Libraries
53
5
6 Libraries
117
6
6 Libraries
800
7
5 Libraries
45
8
5 Libraries
34
9
5 Libraries
407
10
5 Libraries
18
Trending Kits in Emulator
No Trending Kits are available at this moment for Emulator
Trending Discussions on Emulator
Why do Switch and ListView controls in MAUI not update with 2-way binding?
Android Studio Emulator disappears after Bumblebee update
How to replace the bundled Dart SDK in Flutter to run natively on Apple Silicon (ARM64)?
"additional_test_output" from Android Instrumented Tests?
Android Studio Emulator in a Separate Window
Emulator is not working in android studio bumblebee
Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this
Error when trying to run my React Native app on Android
How to configure proxy in emulators in new versions of Android Studio?
How to open emulators in different windows at Android Studio (Bumblebee | 2021.1.1)?
QUESTION
Why do Switch and ListView controls in MAUI not update with 2-way binding?
Asked 2022-Apr-11 at 09:33This question is about two MAUI controls (Switch
and ListView
) - I'm asking about them both in the same question as I'm expecting the root cause of the problem to be the same for both controls. It's entirely possible that they're different problems that just share some common symptoms though. (CollectionView
has similar issues, but other confounding factors that make it trickier to demonstrate.)
I'm using 2-way data binding in my MAUI app: changes to the data can either come directly from the user, or from a background polling task that checks whether the canonical data has been changed elsewhere. The problem I'm facing is that changes to the view model are not visually propagated to the Switch.IsToggled
and ListView.SelectedItem
properties, even though the controls do raise events showing that they've "noticed" the property changes. Other controls (e.g. Label
and Checkbox
) are visually updated, indicating that the view model notification is working fine and the UI itself is generally healthy.
Build environment: Visual Studio 2022 17.2.0 preview 2.1
App environment: Android, either emulator "Pixel 5 - API 30" or a real Pixel 6
The sample code is all below, but the fundamental question is whether this a bug somewhere in my code (do I need to "tell" the controls to update themselves for some reason?) or possibly a bug in MAUI (in which case I should presumably report it)?
Sample codeThe sample code below can be added directly a "File new project" MAUI app (with a name of "MauiPlayground" to use the same namespaces), or it's all available from my demo code repo. Each example is independent of the other - you can try just one. (Then update App.cs
to set MainPage
to the right example.)
Both examples have a very simple situation: a control with two-way binding to a view-model, and a button that updates the view-model property (to simulate "the data has been modified elsewhere" in the real app). In both cases, the control remains unchanged visually.
Note that I've specified {Binding ..., Mode=TwoWay}
in both cases, even though that's the default for those properties, just to be super-clear that that isn't the problem.
The ViewModelBase
code is shared by both examples, and is simply a convenient way of raising INotifyPropertyChanged.PropertyChanged
without any extra dependencies:
ViewModelBase.cs:
1using System.ComponentModel;
2using System.Runtime.CompilerServices;
3
4namespace MauiPlayground;
5
6public class ViewModelBase : INotifyPropertyChanged
7{
8 public event PropertyChangedEventHandler PropertyChanged;
9
10 public bool SetProperty<T>(ref T field, T value, [CallerMemberName] string name = null)
11 {
12 if (EqualityComparer<T>.Default.Equals(field, value))
13 {
14 return false;
15 }
16 field = value;
17 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
18 return true;
19 }
20}
21
SwitchDemo.xaml
1using System.ComponentModel;
2using System.Runtime.CompilerServices;
3
4namespace MauiPlayground;
5
6public class ViewModelBase : INotifyPropertyChanged
7{
8 public event PropertyChangedEventHandler PropertyChanged;
9
10 public bool SetProperty<T>(ref T field, T value, [CallerMemberName] string name = null)
11 {
12 if (EqualityComparer<T>.Default.Equals(field, value))
13 {
14 return false;
15 }
16 field = value;
17 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
18 return true;
19 }
20}
21<?xml version="1.0" encoding="utf-8" ?>
22<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
23 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
24 x:Class="MauiPlayground.SwitchDemo">
25 <StackLayout>
26 <Label Text="Switch binding demo" />
27 <HorizontalStackLayout>
28 <Switch x:Name="switchControl"
29 IsToggled="{Binding Toggled, Mode=TwoWay}"
30 Toggled="Toggled" />
31 <CheckBox IsChecked="{Binding Toggled, Mode=TwoWay}" />
32 <Label Text="{Binding Toggled}" />
33 </HorizontalStackLayout>
34
35 <Button Text="Toggle" Clicked="Toggle" />
36 <Label x:Name="manualLabel1" Text="Value set in button click handler" />
37 <Label x:Name="manualLabel2" Text="Value set in toggled handler" />
38 </StackLayout>
39</ContentPage>
40
SwitchDemo.cs
1using System.ComponentModel;
2using System.Runtime.CompilerServices;
3
4namespace MauiPlayground;
5
6public class ViewModelBase : INotifyPropertyChanged
7{
8 public event PropertyChangedEventHandler PropertyChanged;
9
10 public bool SetProperty<T>(ref T field, T value, [CallerMemberName] string name = null)
11 {
12 if (EqualityComparer<T>.Default.Equals(field, value))
13 {
14 return false;
15 }
16 field = value;
17 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
18 return true;
19 }
20}
21<?xml version="1.0" encoding="utf-8" ?>
22<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
23 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
24 x:Class="MauiPlayground.SwitchDemo">
25 <StackLayout>
26 <Label Text="Switch binding demo" />
27 <HorizontalStackLayout>
28 <Switch x:Name="switchControl"
29 IsToggled="{Binding Toggled, Mode=TwoWay}"
30 Toggled="Toggled" />
31 <CheckBox IsChecked="{Binding Toggled, Mode=TwoWay}" />
32 <Label Text="{Binding Toggled}" />
33 </HorizontalStackLayout>
34
35 <Button Text="Toggle" Clicked="Toggle" />
36 <Label x:Name="manualLabel1" Text="Value set in button click handler" />
37 <Label x:Name="manualLabel2" Text="Value set in toggled handler" />
38 </StackLayout>
39</ContentPage>
40namespace MauiPlayground;
41
42public partial class SwitchDemo : ContentPage
43{
44 public SwitchDemo()
45 {
46 InitializeComponent();
47 BindingContext = new ViewModel();
48 }
49
50 private void Toggle(object sender, EventArgs e)
51 {
52 var vm = (ViewModel)BindingContext;
53 vm.Toggled = !vm.Toggled;
54 manualLabel1.Text = $"Set in click handler: {switchControl.IsToggled}";
55 }
56
57 private void Toggled(object sender, ToggledEventArgs e) =>
58 manualLabel2.Text = $"Set in toggled handler: {switchControl.IsToggled}";
59
60 private class ViewModel : ViewModelBase
61 {
62 private bool toggled;
63 public bool Toggled
64 {
65 get => toggled;
66 set => SetProperty(ref toggled, value);
67 }
68 }
69}
70
Screenshot of the emulator after clicking on the "Toggle" button, which updates the view-model:
Notes:
- The checkbox (bound to the same VM property) has updated
- The label next to the checkbox (bound to the same VM property) has updated
- The label below the button indicates that
switch.IsToggled
is true - The label below that indicates that the
Switch.Toggled
event has been raised - The
Switch
itself has not changed visible state
Clicking on the Switch
control directly does visually toggle it.
ListViewDemo.xaml
1using System.ComponentModel;
2using System.Runtime.CompilerServices;
3
4namespace MauiPlayground;
5
6public class ViewModelBase : INotifyPropertyChanged
7{
8 public event PropertyChangedEventHandler PropertyChanged;
9
10 public bool SetProperty<T>(ref T field, T value, [CallerMemberName] string name = null)
11 {
12 if (EqualityComparer<T>.Default.Equals(field, value))
13 {
14 return false;
15 }
16 field = value;
17 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
18 return true;
19 }
20}
21<?xml version="1.0" encoding="utf-8" ?>
22<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
23 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
24 x:Class="MauiPlayground.SwitchDemo">
25 <StackLayout>
26 <Label Text="Switch binding demo" />
27 <HorizontalStackLayout>
28 <Switch x:Name="switchControl"
29 IsToggled="{Binding Toggled, Mode=TwoWay}"
30 Toggled="Toggled" />
31 <CheckBox IsChecked="{Binding Toggled, Mode=TwoWay}" />
32 <Label Text="{Binding Toggled}" />
33 </HorizontalStackLayout>
34
35 <Button Text="Toggle" Clicked="Toggle" />
36 <Label x:Name="manualLabel1" Text="Value set in button click handler" />
37 <Label x:Name="manualLabel2" Text="Value set in toggled handler" />
38 </StackLayout>
39</ContentPage>
40namespace MauiPlayground;
41
42public partial class SwitchDemo : ContentPage
43{
44 public SwitchDemo()
45 {
46 InitializeComponent();
47 BindingContext = new ViewModel();
48 }
49
50 private void Toggle(object sender, EventArgs e)
51 {
52 var vm = (ViewModel)BindingContext;
53 vm.Toggled = !vm.Toggled;
54 manualLabel1.Text = $"Set in click handler: {switchControl.IsToggled}";
55 }
56
57 private void Toggled(object sender, ToggledEventArgs e) =>
58 manualLabel2.Text = $"Set in toggled handler: {switchControl.IsToggled}";
59
60 private class ViewModel : ViewModelBase
61 {
62 private bool toggled;
63 public bool Toggled
64 {
65 get => toggled;
66 set => SetProperty(ref toggled, value);
67 }
68 }
69}
70<?xml version="1.0" encoding="utf-8" ?>
71<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
72 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
73 x:Class="MauiPlayground.ListViewDemo">
74 <StackLayout>
75 <Label Text="ListView binding demo" />
76 <ListView x:Name="listView" ItemsSource="{Binding Items}"
77 SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
78 VerticalOptions="Start"
79 ItemSelected="ItemSelected"/>
80 <Label Text="{Binding SelectedItem}" />
81 <Button Text="Toggle" Clicked="Toggle" />
82 <Label x:Name="manualLabel1" Text="Text set in button click handler" />
83 <Label x:Name="manualLabel2" Text="Text set in item selected handler" />
84 </StackLayout>
85</ContentPage>
86
ListViewDemo.cs
1using System.ComponentModel;
2using System.Runtime.CompilerServices;
3
4namespace MauiPlayground;
5
6public class ViewModelBase : INotifyPropertyChanged
7{
8 public event PropertyChangedEventHandler PropertyChanged;
9
10 public bool SetProperty<T>(ref T field, T value, [CallerMemberName] string name = null)
11 {
12 if (EqualityComparer<T>.Default.Equals(field, value))
13 {
14 return false;
15 }
16 field = value;
17 PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
18 return true;
19 }
20}
21<?xml version="1.0" encoding="utf-8" ?>
22<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
23 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
24 x:Class="MauiPlayground.SwitchDemo">
25 <StackLayout>
26 <Label Text="Switch binding demo" />
27 <HorizontalStackLayout>
28 <Switch x:Name="switchControl"
29 IsToggled="{Binding Toggled, Mode=TwoWay}"
30 Toggled="Toggled" />
31 <CheckBox IsChecked="{Binding Toggled, Mode=TwoWay}" />
32 <Label Text="{Binding Toggled}" />
33 </HorizontalStackLayout>
34
35 <Button Text="Toggle" Clicked="Toggle" />
36 <Label x:Name="manualLabel1" Text="Value set in button click handler" />
37 <Label x:Name="manualLabel2" Text="Value set in toggled handler" />
38 </StackLayout>
39</ContentPage>
40namespace MauiPlayground;
41
42public partial class SwitchDemo : ContentPage
43{
44 public SwitchDemo()
45 {
46 InitializeComponent();
47 BindingContext = new ViewModel();
48 }
49
50 private void Toggle(object sender, EventArgs e)
51 {
52 var vm = (ViewModel)BindingContext;
53 vm.Toggled = !vm.Toggled;
54 manualLabel1.Text = $"Set in click handler: {switchControl.IsToggled}";
55 }
56
57 private void Toggled(object sender, ToggledEventArgs e) =>
58 manualLabel2.Text = $"Set in toggled handler: {switchControl.IsToggled}";
59
60 private class ViewModel : ViewModelBase
61 {
62 private bool toggled;
63 public bool Toggled
64 {
65 get => toggled;
66 set => SetProperty(ref toggled, value);
67 }
68 }
69}
70<?xml version="1.0" encoding="utf-8" ?>
71<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
72 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
73 x:Class="MauiPlayground.ListViewDemo">
74 <StackLayout>
75 <Label Text="ListView binding demo" />
76 <ListView x:Name="listView" ItemsSource="{Binding Items}"
77 SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
78 VerticalOptions="Start"
79 ItemSelected="ItemSelected"/>
80 <Label Text="{Binding SelectedItem}" />
81 <Button Text="Toggle" Clicked="Toggle" />
82 <Label x:Name="manualLabel1" Text="Text set in button click handler" />
83 <Label x:Name="manualLabel2" Text="Text set in item selected handler" />
84 </StackLayout>
85</ContentPage>
86namespace MauiPlayground;
87
88public partial class ListViewDemo : ContentPage
89{
90 public ListViewDemo()
91 {
92 InitializeComponent();
93 BindingContext = new ViewModel();
94 }
95
96 private void Toggle(object sender, EventArgs e)
97 {
98 var vm = (ViewModel)BindingContext;
99 vm.SelectedItem = vm.SelectedItem == "First" ? "Second" : "First";
100 manualLabel1.Text = $"Set in click handler: {listView.SelectedItem}";
101 }
102
103 private void ItemSelected(object sender, EventArgs e) =>
104 manualLabel2.Text = $"Set in item selected handler: {listView.SelectedItem}";
105
106 private class ViewModel : ViewModelBase
107 {
108 public List<string> Items { get; } = new List<string> { "First", "Second" };
109
110 private string selectedItem = "First";
111 public string SelectedItem
112 {
113 get => selectedItem;
114 set => SetProperty(ref selectedItem, value);
115 }
116 }
117}
118
Screenshot of the emulator after clicking on the "Toggle" button, which updates the view-model:
Notes:
- The label below the list view (bound to the same VM property) has updated
- The label below the button indicates that
listView.SelectedItem
has the new value - The label below that indicates that the
ListView.ItemSelected
event has been raised - The
ListView
itself appears to have no selected item
Interestingly, the list view does actually change appearance: before clicking on the button, the first item is visually selected (in orange). Selecting an item from the list manually updates all the properties, but we don't see the selected item in orange.
ANSWER
Answered 2022-Apr-09 at 18:07These both may be bugs with the currently released version of MAUI.
This bug was recently posted and there is already a fix for the Switch to address this issue.
QUESTION
Android Studio Emulator disappears after Bumblebee update
Asked 2022-Apr-05 at 09:47So I recently updated my Android Studio to "Android Studio Bumblebee | 2021.1.1 Patch 1" and now I have this weird bug where my emulator would disappear randomly. It works fine for sometime but would randomly disappear. In the device manager it shows that emulator is running but in the emulator tab it shows "No emulator is currently running" As you can see from the screenshot attached green dot in the device manager that means "Emulator is running", whereas it isn't. The only way to get back emulator is to "cold reboot it" from the device manager. Anyone else facing the same bug? Any suggestions as to where to look trying to debug this. I've tried deleting and installing emulator again but the issue persisted.
ANSWER
Answered 2022-Feb-10 at 04:01Had exactly the same issue on BumbleBee and the only way that I found to go about this, was to use a detached emulator in a separate window.
To run the emulator in a separate window go to File > Settings > Tools > Emulator (On Mac -> *Android Studio > Preferences > Tools > Emulator ) and deselect Launch in a tool window
.
This way the emulator will always be there.
QUESTION
How to replace the bundled Dart SDK in Flutter to run natively on Apple Silicon (ARM64)?
Asked 2022-Mar-21 at 16:27Dart SDK officially supports ARM64 and as of now, 2.14.2 is the latest (stable) Dart SDK that has support for ARM64. Though it was the same version that was bundled in my Flutter setup, it seemed to run on Intel architecture (Activity monitor shows dart processes running on Intel).
I manually tried replacing the dart SDK on my flutter installation bu replacing flutter-directory/bin/cache/dart-sdk/
with the contents of a zip file of the Dart SDK made for ARM64, downloaded from dart.dev archive. But trying to run an app on an Android emulator (which runs on ARM64 and was working on my old Flutter setup), throws this error:
1Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
2lib/main.dart:1
3Snapshot not compatible with the current VM configuration: the snapshot requires 'release no-code_comments
4no-dwarf_stack_traces_mode lazy_async_stacks lazy_dispatchers
5use_bare_instructions no-dedup_instructions
6no-"asserts" "use_field_guards" "use_osr" x64-sysv no-null-safety' but the VM has 'release no-code_comments no-
7dwarf_stack_traces_mode lazy_async_stacks
8lazy_dispatchers use_bare_instructions no-dedup_instructions no-"asserts" "use_field_guards" "use_osr" arm64-sysv no-null-safety'
92
10the Dart compiler exited unexpectedly.
11
12
Is there any other way to do a completely ARM64 Flutter setup on M1 devices?
Flutter version 2.5.1
Dart version 2.14.2
Device: MacBook Air (M1, 2020)
ANSWER
Answered 2021-Sep-29 at 17:46It seems it can't be used with Flutter yet, as seen in:
Apple Silicon support in the Dart SDK
[...] Note that the Dart SDK bundled in the Flutter SDK doesn’t have these improvements yet.
https://medium.com/dartlang/announcing-dart-2-14-b48b9bb2fb67
[Announcing Dart 2.14][ScreenShot]: https://i.stack.imgur.com/N8Qcc.png
And:
Get the Dart SDK
[...] As of Flutter 1.21, the Flutter SDK includes the full Dart SDK. So if you have Flutter installed, you might not need to explicitly download the Dart SDK. Consider downloading the Dart SDK if any of the following are true:
- You don’t use Flutter.
- You use a pre-1.21 version of Flutter.
- You want to reduce disk space requirements or download time, and your use case doesn’t require Flutter. For example, you might have a continuous integration (CI) setup that requires Dart but not Flutter.
[Get the Dart SDK][ScreenShot]: https://i.stack.imgur.com/rawJV.png
QUESTION
"additional_test_output" from Android Instrumented Tests?
Asked 2022-Mar-20 at 21:53Running Android Instrumented Tests, the gradle task :app:connectedDebugAndroidTest
now prints a red WARNING after a successful test run:
1Feb 12, 2022 11:53:02 PM com.android.tools.utp.plugins.host.additionaltestoutput.AndroidAdditionalTestOutputPlugin deviceShellAndCheckSuccess
2WARNING: Shell command failed (1): ls "/sdcard/Android/media/<APP_NAME>/additional_test_output"
3ls: /sdcard/Android/media/<APP_NAME>/additional_test_output: No such file or directory
4
5Feb 12, 2022 11:53:02 PM com.android.tools.utp.plugins.host.additionaltestoutput.AndroidAdditionalTestOutputPlugin afterAll
6WARNING: Failed to retrieve additional test outputs from device.
7com.android.ddmlib.SyncException: Remote object doesn't exist!
8 at com.android.ddmlib.SyncService.pullFile(SyncService.java:341)
9 ...
10
Indeed the emulator has no such file, but the test has not been expected to create it before.
Q. Is there a way to fix this warning? Is it a test orchestrator bug? (I'm not planning to hack the test to create an empty file.)
Environment: Android Studio on MBP, com.android.tools.build:gradle:7.1.1
, androidx.test:orchestrator:1.4.1
, on Android emulators for API levels 26 - 32, some with and some without Google APIs; also on a Pixel 3 device at API level 31.
On emulators for API levels 21 - 25, it prints instead (not in glaring red text):
1Feb 12, 2022 11:53:02 PM com.android.tools.utp.plugins.host.additionaltestoutput.AndroidAdditionalTestOutputPlugin deviceShellAndCheckSuccess
2WARNING: Shell command failed (1): ls "/sdcard/Android/media/<APP_NAME>/additional_test_output"
3ls: /sdcard/Android/media/<APP_NAME>/additional_test_output: No such file or directory
4
5Feb 12, 2022 11:53:02 PM com.android.tools.utp.plugins.host.additionaltestoutput.AndroidAdditionalTestOutputPlugin afterAll
6WARNING: Failed to retrieve additional test outputs from device.
7com.android.ddmlib.SyncException: Remote object doesn't exist!
8 at com.android.ddmlib.SyncService.pullFile(SyncService.java:341)
9 ...
10additionalTestOutput is not supported on this device running API level 25 because the additional test output directory could not be found
11
ANSWER
Answered 2022-Mar-02 at 13:06Downgrading Gradle worked for me
QUESTION
Android Studio Emulator in a Separate Window
Asked 2022-Mar-17 at 13:32I'm having a problem with my Android Studio. This is the first time that I installed Android Studio. The problem is that when I install any devices it comes up with a grey background around the device or the emulator, I don't know if it has any thing to do with the latest Android Studio version, cause I have updated it, and the toolbar is at the top of the emulator instead of being at the top right of the device.
The first picture is how I want to be, and the second picture is what appears when I open Android Studio and run my app on the device (emulator).
Please help me out, I really need to fix this emulator screen.
ANSWER
Answered 2022-Feb-04 at 13:12In the second picture you have the emulator floated or windowed:
In order to get the emulator in a "separate" window go to Preferences -> Tools -> Emulator and uncheck Launch in a tool window:
Here is the documentation.
QUESTION
Emulator is not working in android studio bumblebee
Asked 2022-Mar-09 at 09:34I have run my app but still Device Manager is saying
No emulators are currently running. To launch an emulator use the Device Manager or run your app while targeting a virtual device
As you can see a green dot in the emulator that means "Emulator is running"
And some time emulator is showed but when I click on screen then emulator gone
I think this version of the android studio has more bugs when compared to its previous version
Do you guys have any tricks or solutions?
Any help will be is always appreciated!
ANSWER
Answered 2022-Feb-16 at 04:48I have 2 Solutions so you can try both if one doesn't work
Solution No 1Select device manager and select your device and select the drop-down menu
then click on the show on disk option
then delete all files that have the .lock
extension and run your emulator again.
You can get a normal emulator like previous time android studio have, so to get the previous emulator in the new version of android studio you can do these steps
open the settings tab by following the below steps or by pressing Ctrl + Alt + S
Select File > Settings > Tools > Emulator
then unTick the option name Launch in a Tool Window then click okay now you got the previous emulator. and if in the emulator you got any issues you can check This Solution for Emulator on StackOverFlow
QUESTION
Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this
Asked 2022-Mar-09 at 06:57I was following a tutorial to install an android emulator, without android studio, and I was told to run the command- flutter doctor
. Upon running this, I got this error-
1X Android license status unknown.
2 Run `flutter doctor --android-licenses` to accept the SDK licenses.
3
So I tried running flutter doctor --android-licenses
, and I got this error-
1X Android license status unknown.
2 Run `flutter doctor --android-licenses` to accept the SDK licenses.
3Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to
4resolve this.
5
This is my ANDROID_HOME
directory-
And Inside platforms
, I have android-32
installed.
I saw some fixes for this, but those were all with android studio. How do I fix this? Thanks in advance!
ANSWER
Answered 2022-Jan-15 at 08:41I think you need to install cmdLine
please run flutter doctor and share cmd results to help better
QUESTION
Error when trying to run my React Native app on Android
Asked 2022-Mar-06 at 07:58I've built my React Native app and tested and troubleshooted with my iOS devices for months. Now I'm trying to built and test the app on Android for the first time. The thing is, that I keep getting errors trying to run the Android-version of my app. After hours of debugging and troubleshooting, I tried to create a new RN project and see if that could run on my emulator and device. I got that part working and then I wanted to copy/paste the files of my existing app project into the new project.
I pasted my existing assets, styles, the source JS-files and the package.json file into the new project, ran npm install
and then I ended up with the exact same error message as I had in the original project when I run react-native run-android
.
The full error message is here:
1error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
2Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
3Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
4Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
5Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
6Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
7Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
8
9FAILURE: Build failed with an exception.
10
11* What went wrong:
12Execution failed for task ':app:mergeDebugAssets'.
13> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
14 > Could not find com.facebook.yoga:proguard-annotations:1.14.1.
15 Searched in the following locations:
16 - https://dl.google.com/dl/android/maven2/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
17 - https://repo.maven.apache.org/maven2/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
18 - file:/Users/MyUser/.m2/repository/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
19 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
20 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
21 - https://www.jitpack.io/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
22 Required by:
23 project :app > com.facebook.react:react-native:0.64.2
24 > Could not find com.facebook.fbjni:fbjni-java-only:0.0.3.
25 Searched in the following locations:
26 - https://dl.google.com/dl/android/maven2/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
27 - https://repo.maven.apache.org/maven2/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
28 - file:/Users/MyUser/.m2/repository/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
29 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
30 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
31 - https://www.jitpack.io/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
32 Required by:
33 project :app > com.facebook.react:react-native:0.64.2
34 > Could not find com.yqritc:android-scalablevideoview:1.0.4.
35 Searched in the following locations:
36 - https://dl.google.com/dl/android/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
37 - https://repo.maven.apache.org/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
38 - file:/Users/MyUser/.m2/repository/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
39 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
40 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
41 - https://www.jitpack.io/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
42 Required by:
43 project :app > project :react-native-video
44
45* Try:
46Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
47
48* Get more help at https://help.gradle.org
49
50BUILD FAILED in 10s
51
52 at makeError (/Users/MyUser/MyAppFolder/MyApp/node_modules/execa/index.js:174:9)
53 at /Users/MyUser/MyAppFolder/MyApp/node_modules/execa/index.js:278:16
54 at processTicksAndRejections (node:internal/process/task_queues:96:5)
55 at async runOnAllDevices (/Users/MyUser/MyAppFolder/MyApp/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:5)
56 at async Command.handleAction (/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:186:9)
57
I've tried to run ./gradlew clean
in the android-folder without any luck. My build.gradle-file looks like this:
1error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
2Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
3Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
4Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
5Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
6Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
7Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
8
9FAILURE: Build failed with an exception.
10
11* What went wrong:
12Execution failed for task ':app:mergeDebugAssets'.
13> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
14 > Could not find com.facebook.yoga:proguard-annotations:1.14.1.
15 Searched in the following locations:
16 - https://dl.google.com/dl/android/maven2/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
17 - https://repo.maven.apache.org/maven2/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
18 - file:/Users/MyUser/.m2/repository/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
19 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
20 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
21 - https://www.jitpack.io/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
22 Required by:
23 project :app > com.facebook.react:react-native:0.64.2
24 > Could not find com.facebook.fbjni:fbjni-java-only:0.0.3.
25 Searched in the following locations:
26 - https://dl.google.com/dl/android/maven2/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
27 - https://repo.maven.apache.org/maven2/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
28 - file:/Users/MyUser/.m2/repository/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
29 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
30 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
31 - https://www.jitpack.io/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
32 Required by:
33 project :app > com.facebook.react:react-native:0.64.2
34 > Could not find com.yqritc:android-scalablevideoview:1.0.4.
35 Searched in the following locations:
36 - https://dl.google.com/dl/android/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
37 - https://repo.maven.apache.org/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
38 - file:/Users/MyUser/.m2/repository/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
39 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
40 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
41 - https://www.jitpack.io/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
42 Required by:
43 project :app > project :react-native-video
44
45* Try:
46Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
47
48* Get more help at https://help.gradle.org
49
50BUILD FAILED in 10s
51
52 at makeError (/Users/MyUser/MyAppFolder/MyApp/node_modules/execa/index.js:174:9)
53 at /Users/MyUser/MyAppFolder/MyApp/node_modules/execa/index.js:278:16
54 at processTicksAndRejections (node:internal/process/task_queues:96:5)
55 at async runOnAllDevices (/Users/MyUser/MyAppFolder/MyApp/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:5)
56 at async Command.handleAction (/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:186:9)
57// Top-level build file where you can add configuration options common to all sub-projects/modules.
58
59buildscript {
60 ext {
61 buildToolsVersion = "30.0.2"
62 minSdkVersion = 21
63 compileSdkVersion = 30
64 targetSdkVersion = 30
65 ndkVersion = "20.1.5948944"
66 kotlinVersion = "1.3.72"
67 }
68 repositories {
69 repositories {
70 google()
71 maven { url 'https://maven.google.com' }
72 mavenLocal()
73 mavenCentral()
74
75 // jcenter()
76 maven {
77 // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
78 url "$rootDir/../node_modules/react-native/android"
79 }
80 }
81 }
82 dependencies {
83 classpath("com.android.tools.build:gradle:4.2.1")
84 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
85 // NOTE: Do not place your application dependencies here; they belong
86 // in the individual module build.gradle files
87 }
88}
89
90allprojects {
91 repositories {
92 google()
93 mavenCentral()
94
95 mavenLocal()
96 maven {
97 // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
98 url("$rootDir/../node_modules/react-native/android")
99 }
100 maven {
101 // Android JSC is installed from npm
102 url("$rootDir/../node_modules/jsc-android/dist")
103 }
104
105 maven { url 'https://www.jitpack.io' }
106 }
107}
108
Please let me know if you know what to do or if you have experienced a similar issue!
ANSWER
Answered 2021-Aug-21 at 13:43I've hit this same issue and have temporarily resolved it by uninstalling react-native-video (npm uninstall --save react-native-video). That's not a great answer as I need that component, but I don't have a full solution yet. I think somehow com.yqritc:android-scalablevideoview:1.0.4. is required by react-native-video but has gotten lost or removed. Other thoughts are welcome.
UPDATE: Resolved! In your build.gradle in your Android folder you need to add the repository "jcenter()" in allprojects (not in build dependencies) like this...
1error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
2Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
3Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
4Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
5Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
6Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
7Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
8
9FAILURE: Build failed with an exception.
10
11* What went wrong:
12Execution failed for task ':app:mergeDebugAssets'.
13> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
14 > Could not find com.facebook.yoga:proguard-annotations:1.14.1.
15 Searched in the following locations:
16 - https://dl.google.com/dl/android/maven2/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
17 - https://repo.maven.apache.org/maven2/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
18 - file:/Users/MyUser/.m2/repository/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
19 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
20 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
21 - https://www.jitpack.io/com/facebook/yoga/proguard-annotations/1.14.1/proguard-annotations-1.14.1.pom
22 Required by:
23 project :app > com.facebook.react:react-native:0.64.2
24 > Could not find com.facebook.fbjni:fbjni-java-only:0.0.3.
25 Searched in the following locations:
26 - https://dl.google.com/dl/android/maven2/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
27 - https://repo.maven.apache.org/maven2/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
28 - file:/Users/MyUser/.m2/repository/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
29 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
30 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
31 - https://www.jitpack.io/com/facebook/fbjni/fbjni-java-only/0.0.3/fbjni-java-only-0.0.3.pom
32 Required by:
33 project :app > com.facebook.react:react-native:0.64.2
34 > Could not find com.yqritc:android-scalablevideoview:1.0.4.
35 Searched in the following locations:
36 - https://dl.google.com/dl/android/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
37 - https://repo.maven.apache.org/maven2/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
38 - file:/Users/MyUser/.m2/repository/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
39 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/android/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
40 - file:/Users/MyUser/MyAppFolder/MyApp/node_modules/jsc-android/dist/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
41 - https://www.jitpack.io/com/yqritc/android-scalablevideoview/1.0.4/android-scalablevideoview-1.0.4.pom
42 Required by:
43 project :app > project :react-native-video
44
45* Try:
46Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
47
48* Get more help at https://help.gradle.org
49
50BUILD FAILED in 10s
51
52 at makeError (/Users/MyUser/MyAppFolder/MyApp/node_modules/execa/index.js:174:9)
53 at /Users/MyUser/MyAppFolder/MyApp/node_modules/execa/index.js:278:16
54 at processTicksAndRejections (node:internal/process/task_queues:96:5)
55 at async runOnAllDevices (/Users/MyUser/MyAppFolder/MyApp/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:94:5)
56 at async Command.handleAction (/Users/MyUser/MyAppFolder/MyApp/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:186:9)
57// Top-level build file where you can add configuration options common to all sub-projects/modules.
58
59buildscript {
60 ext {
61 buildToolsVersion = "30.0.2"
62 minSdkVersion = 21
63 compileSdkVersion = 30
64 targetSdkVersion = 30
65 ndkVersion = "20.1.5948944"
66 kotlinVersion = "1.3.72"
67 }
68 repositories {
69 repositories {
70 google()
71 maven { url 'https://maven.google.com' }
72 mavenLocal()
73 mavenCentral()
74
75 // jcenter()
76 maven {
77 // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
78 url "$rootDir/../node_modules/react-native/android"
79 }
80 }
81 }
82 dependencies {
83 classpath("com.android.tools.build:gradle:4.2.1")
84 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
85 // NOTE: Do not place your application dependencies here; they belong
86 // in the individual module build.gradle files
87 }
88}
89
90allprojects {
91 repositories {
92 google()
93 mavenCentral()
94
95 mavenLocal()
96 maven {
97 // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
98 url("$rootDir/../node_modules/react-native/android")
99 }
100 maven {
101 // Android JSC is installed from npm
102 url("$rootDir/../node_modules/jsc-android/dist")
103 }
104
105 maven { url 'https://www.jitpack.io' }
106 }
107}
108allprojects {
109 repositories {
110 mavenCentral()
111 mavenLocal()
112 jcenter()
113}
114
QUESTION
How to configure proxy in emulators in new versions of Android Studio?
Asked 2022-Feb-23 at 14:14I need to configure the proxy manually in my emulator through Android Studio. From the official Android documentation, it is suggested that this change can be made in the "settings" tab of the emulator's extended controls. The problem is that it seems to me that this documentation is outdated, as this setting is no longer displayed in the "settings" tab of the Android Studio emulators' extended controls.
Documentation My Android Studio My version of Android Studio1Android Studio Bumblebee | 2021.1.1
2Build #AI-211.7628.21.2111.8092744, built on January 19, 2022
3Runtime version: 11.0.11+9-b60-7590822 amd64
4VM: OpenJDK 64-Bit Server VM by Oracle Corporation
5Windows 10 10.0
6GC: G1 Young Generation, G1 Old Generation
7Memory: 1280M
8Cores: 8
9Registry: external.system.auto.import.disabled=true
10Non-Bundled Plugins: com.wakatime.intellij.plugin (13.1.10), wu.seal.tool.jsontokotlin (3.7.2), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), com.developerphil.adbidea (1.6.4), org.jetbrains.compose.desktop.ide (1.0.0), ru.adelf.idea.dotenv (2021.2), org.intellij.plugins.markdown (211.7142.37)
11
ANSWER
Answered 2022-Feb-17 at 19:12After a while trying to find solutions to this problem, I saw that an emulator running outside android studio provides these options. To run a standalone Android Studio emulator see the official documentation or simply enter the command:
1Android Studio Bumblebee | 2021.1.1
2Build #AI-211.7628.21.2111.8092744, built on January 19, 2022
3Runtime version: 11.0.11+9-b60-7590822 amd64
4VM: OpenJDK 64-Bit Server VM by Oracle Corporation
5Windows 10 10.0
6GC: G1 Young Generation, G1 Old Generation
7Memory: 1280M
8Cores: 8
9Registry: external.system.auto.import.disabled=true
10Non-Bundled Plugins: com.wakatime.intellij.plugin (13.1.10), wu.seal.tool.jsontokotlin (3.7.2), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), com.developerphil.adbidea (1.6.4), org.jetbrains.compose.desktop.ide (1.0.0), ru.adelf.idea.dotenv (2021.2), org.intellij.plugins.markdown (211.7142.37)
11emulator -avd <avd_name>
12
In my case I'm using an avd named PIXEL 4 API 30
, so the command will be emulator -avd PIXEL_4_API_30
. If you are on Windows you may have problems running this command so I suggest you see this.
The solution proposed by @Inliner also solves this problem.
QUESTION
How to open emulators in different windows at Android Studio (Bumblebee | 2021.1.1)?
Asked 2022-Feb-22 at 19:06I have two running emulators but they open together in different tabs and in one single window.
How to open them in two different window?
1Android Studio Bumblebee | 2021.1.1
2Build #AI-211.7628.21.2111.8092744, built on January 19, 2022
3Runtime version: 11.0.11+0-b60-7590822 amd64
4VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
5Linux 5.4.0-96-generic
6GC: G1 Young Generation, G1 Old Generation
7Memory: 3072M
8Cores: 12
9Registry: external.system.auto.import.disabled=true, debugger.watches.in.variables=false
10Non-Bundled Plugins: JUnit4-Parallel-Runner (1.5), com.intellij.javafx (1.0.3), com.intellij.marketplace (211.7628.36), com.atlassian.bitbucket.references (2021.1.195), com.thoughtworks.gauge (211.6693.111), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), com.developerphil.adbidea (1.6.4)
11Current Desktop: ubuntu:GNOME
12
ANSWER
Answered 2022-Feb-17 at 10:47File->Settings->Tools->Emulator, and uncheck Launch in a tool window Then they will open in their own stand alone windows again.
Community Discussions contain sources that include Stack Exchange Network
Tutorials and Learning Resources in Emulator
Tutorials and Learning Resources are not available at this moment for Emulator