20170406 bpi_a64_android的编译配置文件排版v1.2(分色排版)

2023-11-08 14:30

本文主要是介绍20170406 bpi_a64_android的编译配置文件排版v1.2(分色排版),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

bpi_a64_android的编译配置文件排版v1.2

2017/4/6 18:58

 

 

0、SDK压缩包的下载:

链接:http://pan.baidu.com/s/1i5yZtQ1 密码:646o

http://forum.banana-pi.org/t/bpi-m64-android-6-0-1-source-code/2748

BPI-M64 Android 6.0.1 source code

Banana Pi BPI-M64

 

google driver link:

https://drive.google.com/open?id=0B_YnvHgh2rwjaVVMSi1xU1ZOY2c

 

国内下载地址:

http://dev.banana-pi.org.cn/

http://dev.banana-pi.org.cn/Source_Code/BPI-M64/BPI-A64-Android_SourceCode.tar.gz

 

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$ tar zxvf BPI-A64-Android_SourceCode.tar.gz

 

 

还没完,你必须增加3个编译链^_(链接:http://pan.baidu.com/s/1o77wyiY 密码:oe0v)

Notice: Please download this file to the correct path  https://drive.google.com/open?id=0B_YnvHgh2rwjaVRrc2VoR0xLTlE

(1)gcc-linaro-aarch64.tar.xz   ==> /lichee/buildroot/dl

(2)gcc-linaro-aarch64.tar.xz   ==> /lichee/brandy/toolchain

(3)gcc-linaro-arm.tar.xz       ==> /lichee/brandy/toolchain

 

 

重新分块压缩:

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$ tar zcvf - bpi_a64_android/ | split -b 3990000000 - bpi_a64_android_wyb_patch1_20170310.tar.gz

 

 

rootroot@cm-System-Product-Name:~$ cd /home/wwt/bpi_a64_android/

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$ cat bpi_a64_android_wyb_patch1_20170310.tar.gza* > android.tar.gz

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$ tar zxvf android.tar.gz

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$ ll

总用量 15487948

drwx------ 3 rootroot rootroot       4096  4月  6 15:18 ./

drwxrwxrwx 9 rootroot rootroot       4096  4月  6 15:11 ../

-rw-rw-r-- 1 rootroot rootroot 7929814164  4月  6 15:17 android.tar.gz

drwxrwxr-x 4 rootroot rootroot       4096  1月  9 10:54 bpi_a64_android/

-rw------- 1 rootroot rootroot 3990000000  3月 10 20:32 bpi_a64_android_wyb_patch1_20170310.tar.gzaa

-rw------- 1 rootroot rootroot 3939814164  3月 10 20:37 bpi_a64_android_wyb_patch1_20170310.tar.gzab

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$ cd bpi_a64_android/

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android$ ll

总用量 20

drwxrwxr-x  4 rootroot rootroot 4096  1月  9 10:54 ./

drwx------  3 rootroot rootroot 4096  4月  6 15:18 ../

drwxrwxr-x 26 rootroot rootroot 4096  1月  5 15:40 android/

drwxrwxr-x  7 rootroot rootroot 4096  9月  5  2016 lichee/

-rw-rw-r--  1 rootroot rootroot  977  1月  9 10:01 README.md

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android$

 

 

1、编译lichee内核

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android$ cd bpi_a64_android/

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android$ cd lichee/

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee$./build.sh config

 

Welcome to mkscript setup progress

All available chips:

   0. sun50iw1p1

Choice: 0

All available platforms:

   0. android

   1. dragonboard

   2. linux

   3. camdroid

   4. secureandroid

Choice: 0

All available kernel:

   0. linux-3.10

   1. linux-3.4

Choice: 0

All available boards:

   0. bpi-m64-hdmi

   1. bpi-m64-lcd

Choice: 1

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee$./build.sh 

 

 

Copy boot.img to output directory ...

Copy modules to target ...

 

sun50iw1p1 compile Kernel successful

 

 

INFO: build kernel OK.

INFO: build rootfs ...

INFO: skip make rootfs for android

INFO: build rootfs OK.

INFO: ----------------------------------------

INFO: build lichee OK.

INFO: ----------------------------------------

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee$

 

 

 

 

硬件配置:(六核心得i7-4930K+16GB的内存)

rootroot@cm-System-Product-Name:~$ cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

     12  Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz

 

2、编译Android(大约需要一个小时):

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee$ cd ../android/

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$source build/envsetup.sh 

including device/asus/deb/vendorsetup.sh

including device/asus/flo/vendorsetup.sh

including device/asus/fugu/vendorsetup.sh

including device/generic/mini-emulator-arm64/vendorsetup.sh

including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh

including device/generic/mini-emulator-mips/vendorsetup.sh

including device/generic/mini-emulator-x86_64/vendorsetup.sh

including device/generic/mini-emulator-x86/vendorsetup.sh

including device/htc/flounder/vendorsetup.sh

including device/lge/hammerhead/vendorsetup.sh

including device/moto/shamu/vendorsetup.sh

including device/softwinner/bpi-m64-hdmi/vendorsetup.sh

including device/softwinner/bpi-m64-lcd/vendorsetup.sh

including device/softwinner/common/vendorsetup.sh

including sdk/bash_completion/adb.bash

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$lunch

 

You're building on Linux

 

Lunch menu... pick a combo:

     1. aosp_arm-eng

     2. aosp_arm64-eng

     3. aosp_mips-eng

     4. aosp_mips64-eng

     5. aosp_x86-eng

     6. aosp_x86_64-eng

     7. aosp_deb-userdebug

     8. aosp_flo-userdebug

     9. full_fugu-userdebug

     10. aosp_fugu-userdebug

     11. mini_emulator_arm64-userdebug

     12. m_e_arm-userdebug

     13. mini_emulator_mips-userdebug

     14. mini_emulator_x86_64-userdebug

     15. mini_emulator_x86-userdebug

     16. aosp_flounder-userdebug

     17. aosp_hammerhead-userdebug

     18. aosp_hammerhead_fp-userdebug

     19. aosp_shamu-userdebug

     20. bpi_m64_hdmi-eng

     21. bpi_m64_hdmi-user

     22. bpi_m64_hdmi-userdebug

     23. bpi_m64_lcd-eng

     24. bpi_m64_lcd-user

     25. bpi_m64_lcd-userdebug

 

Which would you like? [aosp_arm-eng] 23

 

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=6.0.1

TARGET_PRODUCT=bpi_m64_lcd

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv7-a-neon

TARGET_2ND_CPU_VARIANT=cortex-a15

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=MMB29M

OUT_DIR=out

============================================

 

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$extract-bsp 

/home/wwt/bpi_a64_android/bpi_a64_android/android/device/softwinner/bpi-m64-lcd/bImage copied!

/home/wwt/bpi_a64_android/bpi_a64_android/android/device/softwinner/bpi-m64-lcd/modules copied!

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$make -j12

 

 

Creating filesystem with parameters:

    Size: 2147483648

    Block size: 4096

    Blocks per group: 32768

    Inodes per group: 8192

    Inode size: 256

    Journal blocks: 8192

    Label: system

    Blocks: 524288

    Block groups: 16

    Reserved block group size: 127

Created filesystem with 2422/131072 inodes and 260574/524288 blocks

Install system fs image: out/target/product/bpi-m64-lcd/system.img

out/target/product/bpi-m64-lcd/system.img+out/target/product/bpi-m64-lcd/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=2192446080 blocksize=4224 total=1034077436 reserve=22146432

 

#### make completed successfully (57:57 (mm:ss)) ####

 

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$

 

 

 

 

3、打包img镜像

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$ pack -d

 

/home/wwt/bpi_a64_android/bpi_a64_android/lichee/tools/pack/sun50iw1p1_android_bpi-m64-lcd_card0.img

 

pack finish

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$pack

 

/home/wwt/bpi_a64_android/bpi_a64_android/lichee/tools/pack/sun50iw1p1_android_bpi-m64-lcd_uart0.img

 

pack finish

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/android$

 

 

 

 

4、编译uboot(可选)

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy$./build.sh -p sun50iw1p1

 

 

 CC      external/openssl_ext.c ...

make -C /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/spl/

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/ss_spl.c ...

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/spc_spl.c ...

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/smc_spl.c ...

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/gic_spl.c ...

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/debug.c ...

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/ctype.c ...

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/eabi_compat.c ...

 CC      /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/spl/efuse_spl.c ...

make -C /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/spl/lib/

make[3]: 没有什么可以做的为 `all'。

/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/../gcc-linaro/bin/arm-linux-gnueabi-gcc -E  -include /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/include/u-boot/u-boot.lds.h -DSBROMSWADDR="(0x10480)"  -ansi -D__ASSEMBLY__ -P - </home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/main/sboot.lds >/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/sboot.lds

/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/../gcc-linaro/bin/arm-linux-gnueabi-ld /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libchipid.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/dram/libdram.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/mmc/libmmc.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/arch/arm/cpu/armv7/sun50iw1p1/nand/libnand.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/flash/libflash.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/libs/libgeneric.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/load/libload.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/main/libmain.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/openssl/libopenssl.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/spl/libsource_spl.o /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/spl/lib/libgeneric.o -L /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/gcc-linaro/bin/../lib/gcc/arm-linux-gnueabi/4.6.3 -lgcc   -T/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/sboot.lds -o sboot.axf -Map sboot.map

/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/../gcc-linaro/bin/arm-linux-gnueabi-objcopy  -O binary /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/sboot.axf /home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/sunxi_spl/sbrom/sboot.bin

"sboot_sun50iw1p1.bin" -> "/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy/u-boot-2014.07/../../tools/pack/chips/sun50iw1p1/bin/sboot_sun50iw1p1.bin"

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee/brandy$

 

 

 

 

5、配置menuconfig(裁剪内核)

 

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee$./build.sh config

 

Welcome to mkscript setup progress

All available chips:

   0. sun50iw1p1

Choice: 0

All available platforms:

   0. android

   1. dragonboard

   2. linux

   3. camdroid

   4. secureandroid

Choice: 0

All available kernel:

   0. linux-3.10

   1. linux-3.4

Choice: 0

All available boards:

   0. bpi-m64-hdmi

   1. bpi-m64-lcd

Choice: 1

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee$ cd linux-3.10/

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee/linux-3.10$ cp .config bak1_orig.config

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee/linux-3.10$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee/linux-3.10$

rootroot@cm-System-Product-Name:/home/wwt/bpi_a64_android/bpi_a64_android/lichee/linux-3.10$make ARCH=arm64 menuconfig

 

 

1)改大打印缓存

General setup  --->

(17) Kernel log buffer size (16 => 64KB, 17 => 128KB)

修改为:

(18) Kernel log buffer size (16 => 64KB, 17 => 128KB)

 

 

2)只保留博通/正基的WIFI/BT:AP6212等

Device Drivers  --->

[*] Network device support  --->

[*]   Wireless LAN  --->

<M>   Broadcom FullMAC wireless cards support

(/system/vendor/modules/fw_bcmdhd.bin) Firmware path

(/system/vendor/modules/nvram.txt) NVRAM path

        Enable Chip Interface (SDIO bus interface support)  --->

        Interrupt type (Out-of-Band Interrupt)  --->

<M>   Realtek 8723B SDIO or SPI WiFi

<M>   Realtek 8723BS_VQ0 WiFi

<M>   Realtek 8189F SDIO WiFi

修改为:

< >   Realtek 8723B SDIO or SPI WiFi

< >   Realtek 8723BS_VQ0 WiFi

< >   Realtek 8189F SDIO WiFi

 

 

3)关闭SELinux安全内核方便调试

Security options  --->

[*] NSA SELinux Support

[*]   NSA SELinux boot parameter

(1)     NSA SELinux boot parameter default value

[ ]   NSA SELinux runtime disable

[*]   NSA SELinux Development Support

[*]   NSA SELinux AVC Statistics

(1)   NSA SELinux checkreqprot default value

[ ]   NSA SELinux maximum supported policy format version

修改为:

[ ] NSA SELinux Support

 

 

4)在内核中增加USB摄像头/打开UVC的驱动

Device Drivers  --->

<*> Multimedia support  --->

[ ]   Media USB Adapters  --->

修改为:

[*]   Media USB Adapters  --->

--- Media USB Adapters

      *** Webcam devices ***

< >   USB Video Class (UVC)

修改为:

<M>   USB Video Class (UVC)

[*]     UVC input events device support (NEW)

 

 

 

 

6、默认编译的IMG镜像的功能验证:

1)、LCD(MIPI)+CTP

2)、WIFI+BT:AP6212A0

3)、RJ45以太网Ethernet

4)、HDMI

5)、USB摄像头/UVC使用APP/APK:CameraFi实现。可以实现500万像素拍照和录像,太牛了!!!!

USB摄像头打开的时候,竟然没有/dev/video0,非常神奇。

root@bpi-m64-lcd:/dev # ls -l v*

ls -l v*

crw------- root     root       7,   0 2010-01-01 08:01 vcs

crw------- root     root       7,   1 2010-01-01 08:01 vcs1

crw------- root     root       7, 128 2010-01-01 08:01 vcsa

crw------- root     root       7, 129 2010-01-01 08:01 vcsa1

root@bpi-m64-lcd:/dev #

 

这篇关于20170406 bpi_a64_android的编译配置文件排版v1.2(分色排版)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/370479

相关文章

Java编译生成多个.class文件的原理和作用

《Java编译生成多个.class文件的原理和作用》作为一名经验丰富的开发者,在Java项目中执行编译后,可能会发现一个.java源文件有时会产生多个.class文件,从技术实现层面详细剖析这一现象... 目录一、内部类机制与.class文件生成成员内部类(常规内部类)局部内部类(方法内部类)匿名内部类二、

Android中Dialog的使用详解

《Android中Dialog的使用详解》Dialog(对话框)是Android中常用的UI组件,用于临时显示重要信息或获取用户输入,本文给大家介绍Android中Dialog的使用,感兴趣的朋友一起... 目录android中Dialog的使用详解1. 基本Dialog类型1.1 AlertDialog(

Spring Boot 配置文件之类型、加载顺序与最佳实践记录

《SpringBoot配置文件之类型、加载顺序与最佳实践记录》SpringBoot的配置文件是灵活且强大的工具,通过合理的配置管理,可以让应用开发和部署更加高效,无论是简单的属性配置,还是复杂... 目录Spring Boot 配置文件详解一、Spring Boot 配置文件类型1.1 applicatio

Android Kotlin 高阶函数详解及其在协程中的应用小结

《AndroidKotlin高阶函数详解及其在协程中的应用小结》高阶函数是Kotlin中的一个重要特性,它能够将函数作为一等公民(First-ClassCitizen),使得代码更加简洁、灵活和可... 目录1. 引言2. 什么是高阶函数?3. 高阶函数的基础用法3.1 传递函数作为参数3.2 Lambda

Android自定义Scrollbar的两种实现方式

《Android自定义Scrollbar的两种实现方式》本文介绍两种实现自定义滚动条的方法,分别通过ItemDecoration方案和独立View方案实现滚动条定制化,文章通过代码示例讲解的非常详细,... 目录方案一:ItemDecoration实现(推荐用于RecyclerView)实现原理完整代码实现

SpringBoot3使用Jasypt实现加密配置文件

《SpringBoot3使用Jasypt实现加密配置文件》这篇文章主要为大家详细介绍了SpringBoot3如何使用Jasypt实现加密配置文件功能,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编... 目录一. 使用步骤1. 添加依赖2.配置加密密码3. 加密敏感信息4. 将加密信息存储到配置文件中5

SpringBoot中配置文件pom.xml的使用详解

《SpringBoot中配置文件pom.xml的使用详解》SpringBoot的pom.xml文件是Maven项目的核心配置文件,用于定义项目的依赖、插件、构建配置等信息,下面小编就来和大家详细介绍一... 目录1. 基本结构2. 关键部分详解2.1 <modelVersion>2.2 项目坐标2.3 <p

Android App安装列表获取方法(实践方案)

《AndroidApp安装列表获取方法(实践方案)》文章介绍了Android11及以上版本获取应用列表的方案调整,包括权限配置、白名单配置和action配置三种方式,并提供了相应的Java和Kotl... 目录前言实现方案         方案概述一、 androidManifest 三种配置方式

Android WebView无法加载H5页面的常见问题和解决方法

《AndroidWebView无法加载H5页面的常见问题和解决方法》AndroidWebView是一种视图组件,使得Android应用能够显示网页内容,它基于Chromium,具备现代浏览器的许多功... 目录1. WebView 简介2. 常见问题3. 网络权限设置4. 启用 JavaScript5. D

Android如何获取当前CPU频率和占用率

《Android如何获取当前CPU频率和占用率》最近在优化App的性能,需要获取当前CPU视频频率和占用率,所以本文小编就来和大家总结一下如何在Android中获取当前CPU频率和占用率吧... 最近在优化 App 的性能,需要获取当前 CPU视频频率和占用率,通过查询资料,大致思路如下:目前没有标准的