dancingbush
dancingbush

Reputation: 2281

Importing Eclipse Project to Android Studio Build Error

I am new to Android Studio and have imported my first project from Eclipse.

I am getting a build error referring to a MP3 file (In Eclipse the file sits in the res/RaW directory ). Although I don't see the same directory in the A.Studio project, error is :

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.

Any input appreciated.

Upvotes: 0

Views: 96

Answers (2)

Mohammad Tauqir
Mohammad Tauqir

Reputation: 1815

I think the point of error is in name of RAW folder. Please rename /src/main/res/RAW folder to /src/main/res/raw and try.

Upvotes: 1

Derek Fung
Derek Fung

Reputation: 8211

Please try to rename the folder from "RAW" to "raw", it could be the cause.

Upvotes: 1

Related Questions