Genymotion won't start my application - android-studio

I'm trying to run my application from Android Studio on my Genymotion emulator.
In Android Studio I get the message that the application was launched on the emulator, though the application is not on the emulator and it seems not installed there.
What can I do?

If you are running on windows, close Android Studio and go to AppData -> Local -> Android -> SDK -> Platform-Tools and run ADB.. Hopefully may help you ;)

Related

How to run First Program on Android Studio Emulator

I have installed Android Studio but when running an application on an emulator, I face a problem, please help me with this issue . It shows the screen as below, please help me out
Error during during performing emulator
you can try:
1- clean project -> sync project with gradle file -> rebuild project
2- invalidate cache and restart IDE

Can't run Android Studio's Emulator

I guess it was because after run instrumented test file so become can't open Android Studio's emulator?
But I am not sure.
Error message:
Launching 'app' on No Devices.
Error while waiting for device: The emulator process for AVD Pixel_4_XL_API_30 was killed.
I used follow solution solved this problem.↓
Tools -> SDK Manager -> SDK Tools (tab) -> Deselect 'Android Emulator' -> OK
Now, when you try to run your app, or launch device from AVD Manager, it will give the 'Install Emulator' error -> Click Ok. This will automatically download the correct version.
I experienced the same problem with emulator version 30.6.4 and Android Studio Arctic Fox 2020.3.1 Canary 15. I tried switching from Intel HAXM to Windows Hyper-V and re-installed all android build tool and emulator packages. Afterwards it worked for a day.
The second thing I tried is manually installing an older version (30.5.5) of the emulator which you can get from here. Now Android Studio does not recognize my manual installation of the emulator and I can not start the AVD from the UI. However I can start it via cmd and install apps from within android studio without crashes (at least for the moment).
Start your AVD with the following command (android/sdk/emulator):
emulator -avd <name-with-_-instead-of-spaces>

Unable to locate adb issue with Android Studio

As the title said, I manage to install Android Studio with the Flutter plugin in my "Ubuntu 20.04.1 LTS" PC... I also installed the Android SDK (API 28) Everything works fine until i start to start the emulator, i got this message
The problem is that the emulator works fine after its launch and any modifications in my code will be applied on the emulator!!!
This is another screen-shot of my Android SDK-Tools components:
By the way, the adb file exist in the android-platforms folder.
Any suggestions to resolve this issue?
I also encountered the same issue.
My environment: Mac OS Catalina ver.10.15.6.
I tried this way which was suggested on the other platform and I solved this issue.
Project Settings Image
you go to File -> Project Structure -> Project Settings -> Project, and select the Project SDK, which is set to [No SDK] by default.
If there's nothing in the drop-down box, then select New, select Android SDK, and navigate to your Android SDK location. You will then be able to select the Android API xx Platform. Now that you should not get this annoying adb error.
I am not sure if this would work for you. But give it a try!

Android Studio not showing Chrome as Flutter device

I got a small problem which accured after reinstalling Android Studio:
Android Studio
Android Studio is not showing Chrome as Device for my Flutter Web project, while flutter doctor shows clearly everything is enabled correctly:
Flutter doctor
I can normally run the flutter project on google chrome using the console or VS Code, but Android Studio does not work. I already checked the Flutter and Dart plugin.
I would be glad if someone who maybe had the same issue or knows how to fix this gets back to me!
Best Regards
Clearly it is not the issue with flutter. It is an issue with your Android Studio installation. You can verify the same by navigating to the your project folder in the terminal (or command prompt) and type
flutter run -d Chrome.
NOTE: The above command works only if you are on master, beta or dev branch and you have already enabled your flutter web support by typing
flutter config --enable-web
I noticed that your path to Android Studio as: C:\Program Files\Android\ Android Studio1
It means that during installation the original Android Studio folder is not deleted. A duplicate folder has been created in the same location. Hence the Android sdk location is must be changed as well.
You can solve this by:
Uninstall Android Studio. Delete the folder at the above location. Reinstall Android Studio. Update sdk path in your sdk manager as well as in your environment variable. (recommended).
Update the sdk folder in the sdk manager as well as your environment variables.

I can't run the Android Emulator

I'm completely new to Android and Android Studio. I was just coding.
So I was running the previous version of Android Emulator and it worked perfectly fine.
However, when I downloaded the latest Android Emulator 27.1.12, my Emulator couldn't run properly.
Issue: The code is running fine, but the Emulator can't display my application. When I click on the Emulator screen, I can still hear the Audio of my app. So I think the problem would be with my computer's hardware.
Because the Emulator couldn't run, I uninstalled the Android Emulator 27.1.12 and Android Studio reported these errors:
Issue:
08:32 Emulator: [6684]:ERROR:android/android-emu/android/qt/qt_setup.cpp:28:Qt library not found at C:\Users\dell\AppData\Local\Android\Sdk\emulator\lib64\qt\lib
08:32 Emulator: Could not launch ‘C:\Users\dell\AppData\Local\Android\Sdk\emulator/qemu/windows-x86_64/qemu-system-i386.exe’: No such file or directory.
So, when I install the Emulator, it crashes, when I un-install it, I encounter these 2 errors. So is there a way for me to use the Emulator without causing the 2 errors?
I am not sure from your question, whether or not you have uninstalled and reinstalled the AVD Manager, so in the case you haven't:
I suggest you completely uninstall and then reinstall the Android Virtual Devices SDK (AVD Manager).
You can use the following instructions to help you out:
To uninstall/install the AVD Manager, go to Tools > SDK Manager > Android SDK and select the SDK Tools Tab. Then scroll down until you find the Android AVD/Virtual Devices SDK.
Also, make sure that the Android Emulator SDK is also installed.
I see in the new update of Android Studio, the Android Emulator option is not enabled by default.
So, let enable it in the Settings as the bellow and run Android Emulator again.
Have Android 3.2.1 which you need to install emulator manually by going into
Tools > SDK Manager > Android SDK and then select the SDK Tools Tab. Check the 'Android Emulator' then Apply.

Resources