Installing Android 7.1.2 on emulator - android-emulator

How do I emulate Android 7.1.2 on Ubuntu? Android studio only supports 7.1.1 and then 8.0. Updates don't seem to work and I am limited to emulators only.
Thanks!

Related

Running Flutter on a Genymotion machine using VS Code

I'm using VS Code as my IDE for Flutter and I'm trying to run my app in a Genymotion machine. How can I do that? The machine doesn't appear in VS Code bottom bar in the Devices section.
N.B:
I'm not looking for any solutions regarding Android emulators or Android Studio, only VS Code with Genymotion.
Alright, so after an hour or so of searching I found out the solution. It's entirely the same as the approach of using Genymotion in Android Studio. The only difference is you don't need to install a plugin for VS Code. However, in my case, it was a bug in Genymotion it self. I was using v3.0.1 which had some incompatibility bug with Android SDK 28 and this was the reason why the Genymotion machine did not show up as a device in VS Code, because this latter relies on Android SDK to determine what are the devices that run Android.
The solution for me was simply upgrading my Genymotion to v3.0.2 which fixed the incompatibility with Android SDK 28.
In case anyone runs into this problem in the future and this doesn't work, make sure that your Genymotion ADB settings use the Android SDK installed in your machine by Android Studio and not the one shipped with Genymotion itself.

How to get debug output on eclipse console screen for cordova app

I am using cordova plugin (THym) with eclipse Mars to make applications for android platform and I have an Android device with Android 4.3 due to which, chrome remote debugging is not working in my case.
Also I have tried android virtual device but even that didn't worked.
Only thing I am able to do is to run apk on my android device.
How can I debug the cordova app using eclipse?
Weinre is your friend for older Android Versions:
http://people.apache.org/%7Epmuellr/weinre/docs/latest/
And you should use Android Studio for developing Cordova Apps. Eclipse is no more supported.

Visual Studio Android Emulator couldn't install

I should install VS Android Emulator but I can't. Because VS Android Emulator doesn't show in installer. I use Macbook Pro that installed Windows 10 Education and it support VT. Also I has installed Hyper-V and I can start virtual machine. I has tried for VS 2015 Community and Enterprise but it hasn't emulator. What can I do to install VS Android Emulator and What is system requirements?
Edit:
I upgrade Windows to Enterprise edition and Android Emulator is working. I think Windows 10 Education Edition is not fine for Hyper-V.
The VS Emulator for Android requires Hyper-V, which is only available in certain versions of Windows 10. Windows 10 Home and Education editions do not have Hyper-V, so you'll need Windows 10 Pro or greater to use the emulator.
Try installing the emulator by itself from this link:
https://www.visualstudio.com/en-us/features/msft-android-emulator-vs.aspx
The VS Emulator for Android does not work on Windows 10 (for me).
My advice is do not worry because there are much better options. I use Genemotion & VirtualBox with Hyper-V disabled and it is great. Also, the Google Android emulator with HAXM is great.
Google emulators include two versions (with and without Google APIs). And I've been able to successfully install Google Play services in Genemotion on 4.4.4 hosts.
Therefore, either the Google or Genemotion options are extremely more useful than Microsoft's VS Emulator for Android on Hyper-V (even if it worked on Windows 10).

Can I use any other emulator other than HAXM emulator to create an android app?

I wanted to create an android app. Therefore I installed Eclipse IDE and installed other required SDK packages. But when I tried installing HAXM emulator my system did not support the virtualisation technology. Is there any other emulator that I can use or is there any way that I can create an android app online and run it online.
Try the Visual Studio Emulator for Android if you're on a PC. It's a fast, x86, Hyper-V emulator and comes free with Visual Studio 2015 (you can try out CTP5 here)

Emulator with API 15 and Android 4.0.3 shows in settings 4.0.4

I need to emulate Android device (Samsung Tab 2) with version 4.0.3, but after choosing it in Android Virtual Device Manager and running it I get info in settings that it is a 4.0.4 version.
I need to run my web app written in html5 to reproduce some bugs.
Any idea about it?
The problem is that the emulator Android versions only correspond with specific versions from each API level. 4.0.3 and 4.0.4 are both in API level 15, so the emulator is only made available for Android 4.0.4. There is no Android 4.0.3 emulator; you'd have to find the system image for that or build it yourself.