当前位置:网站首页>增加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
边栏推荐
猜你喜欢

2022-08-10 The sixth group Hiding spring study notes

无线电射频能量的收集

【FPGA】设计思路——I2C协议

Basic understanding of MongoDB (2)

【FPGA】day20-I2C读写EEPROM

【C语言】入门

Echart地图的省级,以及所有地市级下载与使用

Kubernetes集群搭建Zabbix监控平台

Multi-serial port RS485 industrial gateway BL110

"98 BST and Its Verification" of the 13th day of leetcode brushing series of binary tree series
随机推荐
"98 BST and Its Verification" of the 13th day of leetcode brushing series of binary tree series
Interchangeability and Measurement Techniques - Tolerance Principles and Selection Methods
移动端地图开发选择哪家?
Introduction to c # a week of high-level programming c # - LINQ Day Four
shell monitors gpu usage
MYSQLg advanced ------ return table
What is ensemble learning in machine learning?
2022-08-10 The sixth group Hiding spring study notes
Get the length of the linked list
《卫星界》刊评“星辰大海”计划:孙宇晨为太空旅游带来新的机遇
MYSQLg高级------回表
【FPGA】day21-移动平均滤波器
无线电射频能量的收集
[Likou] 22. Bracket generation
shell监视gpu使用情况
Use jackson to parse json data in detail
set_new_handler(0)是什么意思?有什么用?
【人话版】WEB3将至之“权益的游戏”
MySQL database storage engine and database creation, modification and deletion
What is Machine Reinforcement Learning?What is the principle?