Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is MIPS system image in Android SDK manager?

Tags:

java

android

mips

With each SDK, I have a solution of installing MIPS system image.

What is it? What does it do and when will someone use it? What will happen if I do not install it?

like image 650
sandalone Avatar asked Nov 16 '12 13:11

sandalone


People also ask

What are system images in Android SDK?

A system image is a copy of one version of the Android operating system. Each platform version contains the supported system images. You can also download system images later when creating Android Virtual Devices (AVDs) in the AVD Manager.

What is x86 image in Android Studio?

The x86 Android* emulator system image enables you to run an emulation of Android on your development machine. In combination with the Android SDK, you can test your Android applications on a virtual Android device based on Intel Architecture.

What is the use of Android SDK Manager?

The sdkmanager is a command line tool that allows you to view, install, update, and uninstall packages for the Android SDK. If you're using Android Studio, then you do not need to use this tool and you can instead manage your SDK packages from the IDE.

What is Android SDK package?

The Android SDK is a software development kit that includes a comprehensive set of development tools. These include a debugger, libraries, a handset emulator based on QEMU, documentation, sample code, and tutorials.


3 Answers

What is it?

It is an emulator image that emulates a device that has a MIPS CPU, instead of an ARM or x86 CPU.

What does it do and when will someone use it?

You will use it if you wish to emulate a device that has a MIPS CPU, instead of an ARM or x86 CPU.

What will happen if I do not install it?

You will not be able to emulate a device that has a MIPS CPU, instead of an ARM or x86 CPU. The MIPS Consortium may cry. But, considering right now there are very few Android devices with MIPS CPUs on the market, not having a MIPS emulator is probably just fine.

More info on the MIPS architecture can be found here: http://www.mips.com/

like image 183
CommonsWare Avatar answered Sep 20 '22 20:09

CommonsWare


According to my understanding you need the system images for MIPS and x86 only to test native code, which was developed using the "Native Development Kit" (NDK).

The x86-image can be executed with higher performance, if your CPU is offering virtualization support (e.g., Intel's VTx; AMD-V only for Linux), see this section in the official documentation. According to this discussion the emulator will write "HAX is working and emulator runs in fast virt mode" to the console if he uses the CPU's virtualization support.

However, if the emulator is running too fast, then the developer might forget that the app will also have to run with sufficient performance on a mobile device with limited resources ...

like image 45
user1364368 Avatar answered Sep 21 '22 20:09

user1364368


Strangely enough, updating MIPS System Image solved a build problem that I was having. After updating all components except for the MIPS System Image, all my projects failed to build with errors saying "R cannot be resolved to a variable". After updating MIPS System Image, everything builds well.

like image 40
Ilya Kogan Avatar answered Sep 21 '22 20:09

Ilya Kogan