当前位置:网站首页>增加PRODUCT_BOOT_JARS及类 提供jar包给应用
增加PRODUCT_BOOT_JARS及类 提供jar包给应用
2022-08-11 04:10:00 【android framework】
在Android开发中,为了方便移植和应用开发,在Android系统之外增加的部分framework,一般都会仿照framework打包为一个jar包供应用调用。
需要在device目录下的具体产品目录的mk中增加PRODUCT_BOOT_JARS的声明,不仅如此还需要在build目录下的package_whitelist.txt中声明包名,否则编译会出错。同理,可以把不需要的在这里删掉。
Demo
PRODUCT_BOOT_JARS +=
hitechmw
1
2
build/core/tasks/check_boot_jars/package_whitelist.txt
delete
telephony-common.jar
com.google…*
delete end
add
com.arcsoft…*
com.ice…*
com.himw…*
add end
边栏推荐
猜你喜欢

电力机柜数据监测RTU

【FPGA】day21-移动平均滤波器

Clang Code Model: Error: The clangbackend executable “X:/clangbackend.exe“ could not be started

Read the article, high-performance and predictable data center network

获取Qt的安装信息:包括安装目录及各种宏地址

"98 BST and Its Verification" of the 13th day of leetcode brushing series of binary tree series

LeetCode814算题第15天二叉树系列值《814 二叉树剪枝》

Get Qt installation information: including installation directory and various macro addresses

【FPGA】day22-SPI protocol loopback

The development of the massage chair control panel makes the massage chair simple and intelligent
随机推荐
移动端地图开发选择哪家?
MYSQLg高级------聚簇索引和非聚簇索引
机器学习是什么?详解机器学习概念
使用百度EasyDL实现施工人员安全装备检测
Introduction to c # a week of high-level programming c # - LINQ Day Four
Uni - app - access to Chinese characters, pinyin initials (according to the Chinese get pinyin initials)
如何进行AI业务诊断,快速识别降本提效增长点?
【yolov7系列三】实战从0构建训练自己的数据集
一文读懂 高性能可预期数据中心网络
洛谷P2580 于是他错误的点名开始了
Clang Code Model: Error: The clangbackend executable “X:/clangbackend.exe“ could not be started
蹭个热度-请勿打开
阿里云发布3大高性能计算解决方案
Mysql中事件和定时任务
使用jackson解析json数据详讲
使用百度EasyDL实现森林火灾预警识别
快速使用UE4制作”大场景游戏“
LeetCode Brush Questions Day 11 String Series "58 Last Word Length"
【实战场景】商城-折扣活动设计方案
uni-app - 城市选择索引列表 / 通过 A-Z 排序的城市列表(uview 组件库 IndexList 索引列表)