TfLite (2) 썸네일형 리스트형 [ANDROID] java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed assets 에 파일을 집어넣고, 해당 파일을 앱에서 읽는 부분에서 아래와 같은 에러가 발생했다. java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed 문제의 해결은 gradle build 옵션에서 특정 확장자를 압축하지 말라는 지시를 추가하여 해결되었다. build.gradle (:app) android { ... aaptOptions { noCompress "tflite" } } [Android] Error type 3 Activity class does not exist. 너무 한참 고생을 해서 노트를 남김. 분명 이전에 기기에 잘 설치해서 돌았던 앱을 수정하여 다시 빌드하고 실행하였는데, 제목과 같은 에러 메시지가 나오면서 도대체 실행이 되지 않았다. 에러 메시지는 다음과 같다. 02/20 15:24:28: Launching 'app' on LGE Nexus 5X. $ adb shell am start -n "org.tensorflow.lite.examples.classification/org.tensorflow.lite.examples.classification.ClassifierActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Error while executing: .. 이전 1 다음