Flucso icon indicating copy to clipboard operation
Flucso copied to clipboard

Gradle build

Open sciack opened this issue 11 years ago • 3 comments

Hi Giorgio, let's try this time. Create branch and simple gradle build. Gradel wrapper added so is not needed to install gradle, only to configure ANDROID_HOME variable to the location of Android SDK:

http://tools.android.com/tech-docs/new-build-system/user-guide

Rollback the previous changes so should be fine

sciack avatar Oct 06 '14 20:10 sciack

Works well on Android Studio 0.8.2

cagnulein avatar Oct 07 '14 09:10 cagnulein

Explain like you would to a three-year-old ;-)

I'd like to build Flucso in Android Studio. Android Studio complains I should use gradle (which I don't know), so I grab this patch, apply it to my code and open the "Flucso" folder in Android Studio. What I get is a module called "gradle" in the project pane and no source code whatsoever, doesn't even look like an Android application.

Where did I go wrong?

agnul avatar Oct 07 '14 12:10 agnul

My solution:

  1. grab builld.gradle, gradlew gradlew.bat and gradle dir
  2. define ANDROID_HOME env variable pointing your AndroidSDK installation
  3. import the project as gradle project in AndroidStudio (I use plain IntelliJ Community without any issue)

Use JDK 1.7, for my build, maybe if you start porting for 4.2 you should use a 1.6

sciack avatar Oct 07 '14 13:10 sciack