一个异常发现,在一个工程中可以使用的tflite文件在另外一个工程中不能载入,调试时候显示:FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
解决方法:
android { aaptOptions { noCompress "tflite" //表示不让aapt压缩的文件后缀 }
避免再次压缩tflite文件
一个异常发现,在一个工程中可以使用的tflite文件在另外一个工程中不能载入,调试时候显示:FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
解决方法:
android { aaptOptions { noCompress "tflite" //表示不让aapt压缩的文件后缀 }
避免再次压缩tflite文件