PPilmeyer / drawchemy

Abstract drawing application on Android.
10 stars 4 forks source link

How to import this into Android Studio? #6

Open ShadowKyogre opened 8 years ago

ShadowKyogre commented 8 years ago

I've tried cloning this and going into File > Import Project.

No matter what I do, I can't get any of the Android java files to list under the Android pane. It's also impossible to build with Android Studio S:.

I want to try building this to fix #5.

PPilmeyer commented 8 years ago

It has been a while since I wrote a line for this project, I will try this week-end.

PPilmeyer commented 8 years ago

the root directory is not a android studio project, it is a directory which contains an android studio project.

  1. File > Open
  2. Project Structure > Project and set the SDK
  3. Project Structure > Module > Add > New Module > Application Module
  4. Add the drawchemy/Drawchemy/src/main/java as source dir and drawchemy/Drawchemy/src/main/res as resources
  5. Go to the Android Module you created at step 3 and correct the manifest location, the resources directory in the Structure tab and the directory for generated sources in Generated Sources
  6. Apply
PPilmeyer commented 8 years ago

Ok, seems there is still some issue with gradle.