将 Eclipse 项目导入 Android Studio 生成错误

Importing Eclipse Project to Android Studio Build Error

我是 Android Studio 的新手,我的第一个项目是从 Eclipse 导入的。

我收到一个引用 MP3 文件的构建错误(在 Eclipse 中,该文件位于 res/RaW 目录中)。 虽然我在 A.Studio 项目中没有看到相同的目录,但错误是:

Error:Execution failed for task ':dIveApp:mergeDebugResources'. /Users/callanmooneys/StudioProjects/DIveApp/dIveApp/src/main/res/RAW/cheer.mp3:1:1: Error: Content is not allowed in prolog.

感谢任何意见。

请尝试将文件夹从 "RAW" 重命名为 "raw",这可能是原因。

我认为错误的地方在于RAW文件夹的名称。 请将 /src/main/res/RAW 文件夹重命名为 /src/main/res/raw 并尝试。