This file can not be opened as a file descriptor; it is probably compressed

Posted wishchin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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_苦逼的程序猿☺-CSDN博客

一个异常发现,在一个工程中可以使用的tflite文件在另外一个工程中不能载入,调试时候显示:FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed

解决方法:

android 
aaptOptions 
noCompress "tflite"  //表示不让aapt压缩的文件后缀

避免再次压缩tflite文件

以上是关于This file can not be opened as a file descriptor; it is probably compressed的主要内容,如果未能解决你的问题,请参考以下文章

This file can not be opened as a file descriptor; it is probably compressed

This file can not be opened as a file descriptor; it is probably compressed

TypeError: Argument ‘angle‘ can not be treated as a double

TypeError: Argument ‘angle‘ can not be treated as a double

The file “xxx.entitlements“ could not be opened和Library/MobileDevice/Provisioning Profiles, rb):

“Can't open file for writing”或“operation not permitted”的解决办法