当前位置:网站首页>FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
2022-08-04 01:40:00 【Is Peter Pan there?】
FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
When the size of a single compressed file in the assets or raw directory exceeds 1024K, appt will forcibly process this file at compile time, so that we will receive a file when reading it at runtime
This file can not be opened as a file descriptor; it is probably compressedThe solution is to disable compression for this file extension:
1. Change your resource file suffix to the suffix listed above.
Add in build.gradle:
android {aaptOptions {noCompress "pdf"//your file extension}}2. Use the -0 parameter on the command line to specify the file suffix that does not need to be compressed.There is currently no known way to pass the -0 parameter to aapt when you use ADT within Eclipse.
3. Divide your resource file into files below UNCOMPRESS_DATA_MAX(1M).
边栏推荐
猜你喜欢

LeetCode third topic (the Longest Substring Without Repeating Characters) trilogy # 3: two optimization

循环绕过问题

实例040:逆序列表

typescript57 - Array generic interface

Electronics manufacturing enterprise deployment WMS what are the benefits of warehouse management system

Observability:你所需要知道的关于 Syslog 的一些知识

字符串变形

Installation and configuration of nodejs+npm

114. How to find the cause of Fiori Launchpad routing error by single-step debugging

Flask框架初学-05-命令管理Manager及数据库的使用
随机推荐
esp32发布机器人电池电压到ros2(micro-ros+CoCube)
如何通过API接口从淘宝(或天猫店)复制宝贝到拼多多接口代码对接教程
DDTL:远距离的域迁移学习
工程制图复习题(带答案)
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
Is there any jdbc link to Youxuan database documentation and examples?
2022 中国算力大会发布“创新先锋”优秀成果
如何用C语言代码实现商品管理系统开发
typescript57 - Array generic interface
typescript52 - simplify generic function calls
【Untitled】
redis中常见的问题(缓存穿透,缓存雪崩,缓存击穿,redis淘汰策略)
Summary of GNSS Articles
哎,又跟HR在小群吵了一架!
网络带宽监控,带宽监控工具哪个好
静态/动态代理模式
FeatureNotFound( bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested:
Slipper - virtual point, shortest path
5.scrapy中间件&分布式爬虫
this巩固训练,从两道执行题加深理解闭包与箭头函数中的this