Log.d("build","BOARD:" + Build.BOARD); Log.d("build","BOOTLOADER:" + Build.BOOTLOADER); Log.d("build","BRAND:" + Build.BRAND); Log.d("build","CPU_ABI:" + Build.CPU_ABI); Log.d("build","CPU_ABI2:" + Build.CPU_ABI2); Log.d("build","DEVICE:" + Build.DEVICE); Log.d("build","DISPLAY:" + Build.DISPLAY); Log.d("build","FINGERPRINT:" + Build.FINGERPRINT); Log.d("build","HARDWARE:" + Build.HARDWARE); Log.d("build","HOST:" + Build.HOST); Log.d("build","ID:" + Build.ID); Log.d("build","MANUFACTURER:" + Build.MANUFACTURER); Log.d("build","MODEL:" + Build.MODEL); Log.d("build","PRODUCT:" + Build.PRODUCT); Log.d("build","RADIO:" + Build.RADIO); Log.d("build","TAGS:" + Build.TAGS); Log.d("build","TIME:" + Build.TIME); Log.d("build","TYPE:" + Build.TYPE); Log.d("build","UNKNOWN:" + Build.UNKNOWN); Log.d("build","USER:" + Build.USER); Log.d("build","VERSION.CODENAME:" + Build.VERSION.CODENAME); Log.d("build","VERSION.INCREMENTAL:" + Build.VERSION.INCREMENTAL); Log.d("build","VERSION.RELEASE:" + Build.VERSION.RELEASE); Log.d("build","VERSION.SDK:" + Build.VERSION.SDK); Log.d("build","VERSION.SDK_INT:" + Build.VERSION.SDK_INT);
String[] abis = new String[]{}; if(Build.VERSION.SDK_INT>=Build.VERSION_CODES.LOLLIPOP) { abis = Build.SUPPORTED_ABIS; } else { abis = new String[]{Build.CPU_ABI,Build.CPU_ABI2}; } StringBuilder abiStr = new StringBuilder(); for(String abi:abis) { abiStr.append(abi); abiStr.append(','); } --------------------- 作者:LoveWyf_ 来源:CSDN 原文:https://blog.csdn.net/qq_25412055/article/details/53884582 版权声明:本文为博主原创文章,转载请附上博文链接!