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

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:


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:


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.

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

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..."!