Showing posts with label Android Emulator. Show all posts
Showing posts with label Android Emulator. Show all posts

Friday, April 8, 2016

Android Studio 2.0 and Emulator 25.1.1 are officially now


Android Studio 2.0 and Emulator 25.1.1 are moved to stable release channels.
This release is focused on development productivity by introducing instant run and a much faster emulator. Please see our blog post for more details.

announcement: Android Tools Project Site - Android Studio 2.0 and Emulator 25.1.1 are Available in the Stable, Beta, and Dev Channels

Upgrade to Android Studio 2.0 from 1.5:


Monday, March 14, 2016

Create AVD of Android N Preview for Android Emulator, in Android Studio

Android Emulator running Android N Preview
Before create AVD of Android N Preview, update with Android SDK Manager, make sure to include Android N (API 23, N Preview) SDK Platform and System Images.


Create new AVD in Android Studio (version 2.1 Preview 1 in this example), refer to the video below:


Saturday, December 12, 2015

Create AVD using new Android Emulator in Android Studio 2.0 Preview


New Android Emulator Preview is available now, you can create AVD using new Emulator in Android Studio 2.0 Preview.

When I try it, dialog pop up with error message:
emulator: ERROR: Couldn't find crash service executable
C:\Users\user\AppData\Local\Android\sdk\tools\emulator64-crash-service.exe
...
I check my system, I have emulator-crash-service.exe, not emulator64-crash-service.exe! I don't know is it a bug, or anything wrong in my setting.

updated@2015-12-13:
Seem it's a bug of the new emulator in Windows. Somebody reported this issue: https://code.google.com/p/android/issues/detail?id=196629


Anyway, the emulator still can run and deploy my Hello World. This video show steps to create AVD using new Android Emulator in Android Studio 2.0 Preview; run on Windows 10 with CPU of Intel i5.


Reference:
- Android Developers Blog: Android Studio 2.0 Preview: Android Emulator
Android Tools Project Site: Android Emulator Preview (with system requirement and update SDK)


Thursday, September 10, 2015

Install Bluestacks App Player on Windows 10, and test your app

BlueStacks App Player lets you run mobile apps fast and fullscreen on Windows and Mac. With BlueStacks running, Android Studio (or ADB) recognize it as a Android Emulator, and you can install and test yout app on it.


Install Bluestacks App Player on Windows 10


This video show how to run the example in "Intent.ACTION_OPEN_DOCUMENT to load images in RecyclerView + CardView" on Bluestacks App Player.




Related:
- Run Visual Studio 2015 solution of Xamarin-Android App on BlueStacks App Player

Monday, August 31, 2015

Move Android Emulator using keyboard, in Windows 10

My Android Emulator on Windows 10 always open with title bar hidden, cannot be moved using mouse.


To move it with keyboard shortcuts:
- Click to select Android Emulator window
- Press Alt + SPACE
- press m
- Up/Down/Left/Right to move the window.


Install Android Studio on Windows 10

Android Studio IDE is the official Android development IDE.


Before install, check if your system meet the System Requirements.

In my system:
OS: Windows 10
Java: JDK 8 (Refer the Java-Buddy post "Install JDK 8 on Windows 10, and set Path")

To download Android Studio IDE, visit http://developer.android.com/sdk/index.html.

By default, the Setup Wizard will create a default AVD (Android Virtual Device) for you, Nexus 5 API 23 x86. (If you encounter error of "HAXM is not working and emulator runs in emulation mode" when run Android Emulator with HAXM, refer to the next post "Install Intel x86 Emulator Accelerator (HAXM), on Android Studio/Windows 10")



After installed, I always run SDK Manager to check if any update and install the suggested packages.


Next:
Install Intel x86 Emulator Accelerator (HAXM)



Create Marshmallow Emulator in Android Studio AVD Manager




Related:
- Download and run Android Studio 2.0 Preview on Windows 10

Friday, July 31, 2015

Microsoft's standalone Android Emulator

Microsoft Visual Studio 2015 now has options for Android development: C++, Cordova, and C# with Xamarin. When choosing one of those Android development options, Visual Studio will also install the brand new Visual Studio Emulator for Android to use as a target for debugging your app. You can also download the emulator without needing to install Visual Studio.

Source: Introducing Visual Studio’s Emulator for Android




Visual Studio Emulator for Android:



see it in action:

Sunday, January 4, 2015

Visual Studio 2015 Emulator for Android

Visual Studio 2015 Emulator for Android


When developing for any platform, every developer needs a fast and reliable edit-compile-debug cycle. With Visual Studio 2015 Preview you can target Android and edit-compile-debug regardless of your choice of programming models: HTML/JavaScript with Cordova; C++; or C# with Xamarin. With all three of those choices, when you start debugging, you must first choose a target: a device, or an emulator. This video will provide an overview of Microsoft's emulator for Android specifically.

Thursday, January 30, 2014

A fast Android Emulator, Genymotion

Genymotion is the next generation of the AndroVM open source project, already trusted by 450,000 developers.

It’s even easier to use and has lots more functionalities. To know more: http://www.genymotion.com/

Saturday, July 27, 2013

Android Emulator error libGL.so: cannot open shared object file: No such file or directory

If you run Android Emulator with the error of "libGL.so: cannot open shared object file: No such file or directory", you have to make link for libGL.so.

My machine run Ubuntu 12.04. The following is my solution to fix it. (assume libGL is installed in somewhere in your system)

- Locate your installed libGL:
$locate libGL

- make link to installed libGL.so
$sudo ln -s /usr/lib/i386-linux-gnu/libGLU.so.1 /usr/lib/libGL.so

locate and ln libGL.so


Remark:
Thanks comment by Anonymous:
~ If your system is 64 bit one, you must link to the 64 bit libGL

Friday, July 26, 2013

Android Emulator now support Google Play services SDK

As in the beginning of the year "Google Play services is not supported on the Android emulator". With Android SDK updated, Google Play services SDK is now supported in Android Emulator with AVD that runs the Google APIs platform based on Android 4.2.2 or higher.

If you want to test your app on the emulator, run Android SDK Manager, expand the directory for Android 4.2.2 (API 17) or a higher version, select Google APIs, and install it. Then create a new AVD with Google APIs as the platform target.

Note: Only Android 4.2.2 and higher versions of the Google APIs platform include Google Play services.

Reference: Setup Google Play Services SDK

Remark: Unfortunately, I cannot run my Google Maps Android API V2 examples on Emulator caused by "Google Play services out of date..."!

Wednesday, January 2, 2013

!!!updated - Google Play services is not supported on the Android emulator


update@2013-07-26

With Android SDK updated, Google Play services SDK is now supported in Android Emulator with AVD that runs the Google APIs platform based on Android 4.2.2 or higher. Read the updated post.



Please don't test your app using Google Play services API (include Google Maps Android API v2) on Android emulator, because Google Play services is not supported on the Android emulator — to develop using the APIs, you need to provide a development device such as an Android phone or tablet; refer Google Play services SDK document.

Google Play Store is missing

Google Play services is not supported on the Android emulator