Android Studio 如何修復無法創建類文件錯誤? (Android Studio How to fix cannot create class-file error?)


問題描述

Android Studio 如何修復無法創建類文件錯誤? (Android Studio How to fix cannot create class‑file error?)

我正在按照此處提到的步驟操作:https://priyankvex.wordpress.com/2015/08/30/how‑to‑build‑tesseract‑ocr‑library‑for‑android‑studio/

< p>第 3 步告訴將 tess‑two 文件夾複製並粘貼到我的項目中,但是當我粘貼時,我收到一條錯誤消息,指出 Cannot create class‑file 而我的`.java' 文件被複製。

我哪裡出錯了?


參考解法

方法 1:

I don't know what the problem is but it works, if you copy the folder directly into the project folder instead of copying through the Android Studio.

Maybe for some reason the files are not copied in the Android Studio.

方法 2:

It is because some .class files are included in your copy files. Some IDE will not include .class file in project and show this tips.

(by human torchYashwanthHI.PENGFEI.LI)

參考文件

  1. Android Studio How to fix cannot create class‑file error? (CC BY‑SA 2.5/3.0/4.0)

#tesseract #android-studio #ocr #Android






相關問題

Android Studio 如何修復無法創建類文件錯誤? (Android Studio How to fix cannot create class-file error?)

Python - 程序收到信號 SIGSEGV,分段錯誤 (Python - Program received signal SIGSEGV, Segmentation fault)

Tesseract OCR 在線程中使用時崩潰 (Tesseract OCR crash when used in thread)

如何將 Leptonica Pix 對象轉換為 Android 的位圖 (How to convert Leptonica Pix Object to Android's Bitmap)

錯誤 2 在 pytesseract 中沒有這樣的文件或目錄 (Error 2 No such file or directory in pytesseract)

OCR:沒有得到想要的結果 (OCR : Not getting desired result)

在 x64 位機器上的 Visual Studio 2013 中鏈接 tesseract 和 opencv (Linking tesseract and opencv in Visual Studio 2013 on x64 bit machine)

如何提高讀取正方體的準確性? (How to improve read tesseract accuracy?)

如何將 C++ tesseract-ocr 代碼轉換為 Python? (how to convert C++ tesseract-ocr code to Python?)

Tesseract Worker.Load 掛在 Vercel 上 (Tesseract Worker.Load hangs on Vercel)

如何在窗口上使用 MinGW 編譯 tesseract baseapi.h? (How to compile tesseract baseapi.h with MinGW on window?)

Pytesseract 或 Keras OCR 從圖像中提取文本 (Pytesseract or Keras OCR to extract text from image)







留言討論