tags:

views:

491

answers:

1

want to know is there any architecture wise problem or else ?

+1  A: 

An ABI(Application Binary Interface) specifies details that are specific to the machine architecture. From Wikipedia:

ABIs cover details such as data type, size, and alignment; the calling convention, which controls how functions' arguments are passed and return values retrieved; the system call numbers and how an application should make system calls to the operating system; and in the case of a complete operating system ABI, the binary format of object files, program libraries and so on.

Found this in the "PackageManager.java" file:

public static final int INSTALL_FAILED_CPU_ABI_INCOMPATIBLE = -16;

Installation return code: this is passed to the IPackageInstallObserver by installPackage(android.net.Uri, IPackageInstallObserver, int) if the package being installed contains native code, but none that is compatible with the the device's CPU_ABI.

Your apk must contain some binary code compiled(using NDK?) for a different machine/emulator while it is being installed on some other machine(emulator).

Samuh