Android also runs on a different processor. For example, Intel Atom .
If your application uses only Java, it does not matter. It can work on any processor, and you don't care. You do not need to program specifically for each processor when working with Java.
If your application uses native code ( NDK ), you will have to prepare the APK to run on any CPU that you want to support. Instructions such as these explain how to do this.
If you're not sure if you need NDK or not, then you probably won't. NDK is needed in very specific cases, such as high performance games. If you just create a regular application, you are likely to use only Java.
Regarding the APK problem - if you need to support multiple architectures, you can do this using either one APK or multiple APKs. For more information read this .
source share