問題描述
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 torch、Yashwanth、HI.PENGFEI.LI)