Issue
I am trying to build an android application I coded, and I get the following error:
Error:build: Cannot determine build data storage root for project /Users/Flo/Programming/Android/workspace/<ProjectName>
I have marked src
and gen
as source folders
, and res
as resource folder
.
Any help? Thanks!
Solution
You should build a project(just as the workspace in Eclipse) first, it will generate a .idea directory. And then build a module(as the project in Eclipse) under that project. Finally, you can run your app successfully.
Answered By - jlucky
Answer Checked By - David Goodson (JavaFixing Volunteer)