How to find the processor type on an Android device
1359 1 2020-8-10
Uploading and Loding Picture ...(0/1)
o(^-^)o
DJI_Lisa
lvl.4
United States
Offline

Since MSDK version 4.7 our SDK is not compatible with architecture x86 devices.  Which means if you are inadvertently running our SDK on a mobile device that has x86 processing chip, then you're going to have problems.


But what does this mean and how do you find out what your device is running?

When I was in search of a quick and straightforward explaination about ARM vs. x86 I found these resources very helpful:



  • ARM CPUs as Fast As Possible:


  • Why Doesn't Intel Make Smartphone CPUs?:

In short, there are 3 chip architectures that can be used: MIPS, x86 and ARM.  ARM has pretty much won out the mobile world, so DJI's SDK team stopped supporting x86 devices after MSDK release 4.7.  You can read the following in DJI's Android MSDK release notes:
  • Mobile SDK 4.7 and later versions are incompatible with x86 devices: Since v4.7, Mobile SDK has included FFMpeg lib to provide the transcoded video feed, but FFMpeg x86 so files will lead to the runtime crash when the target API of APP is larger than 23(included).

How do you check if your device is still running x86? It should be easy, right?

It's not as easy as I personally would like it to be, so again here are some resources that will help you out:

1. How to find ARM processor version on android device?  https://stackoverflow.com/questions/6630386/how-to-find-arm-processor-version-on-android-device/6630402#6630402

Contributers recommend executing any of the following commands:

adb shell getprop | grep abi
adb shell cat /proc/cpuinfo
adb shell getprop ro.product.cpu.abi

2. How to Find Your Android Device’s Info for Correct APK Downloads? https://www.howtogeek.com/339665/how-to-find-your-android-devices-info-for-correct-apk-downloads/#:~:text=For%20the%20Android%20version%2C%20look,entries%20under%20the%20Processor%20tab.

This method you'll need to download an app and use it to find the processor type.  


If you get back confusing answers in either of the methods above, you can also check out this documentation on Android ABIs: https://developer.android.com/ndk/guides/abis


If anyone has any other methods, history, tips, etc - please let us know!












2020-8-10
Use props
DJI_Chachi
lvl.2
United States
Offline

Just to add a detail to the above article:
Technically we do support x86 but not x86_64. So developers can build an apk for x86 devices BUT the problem is with the Google Play Store.  If you want to submit an x86 apk, you must also include x86_64 as per their guidelines https://developer.android.com/di ... ices/develop/64-bit

2020-8-10
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules