<commit_before>## Versions
* openFrameworks : 0.9.8
* Android studio : 2.3.3.0
* tested in macOS (Sierra)


## Problem
Android Studio 2.3.3.0 is equipped with Gradle 3+, but, openFrameworks (0.9.8) was written for Gradle 2.x (2.2.1).

<img src='img/gradle0.png' />

* Instruction : http://openframeworks.cc/setup/android-studio/

* Error messages when building androidEmptyExample with default settings :
```
Error:(59, 0) Could not get unknown property 'assembleDebug' for root project 'androidEmptyExample' of type org.gradle.api.Project.xamples/android/androidEmptyExample/build.gradle">Open File</a>
```


## Settings
### Gradle : Project-level settings in Android Studio
```
/opt/gradle/gradle-2.2.1
```
<img src='img/gradle1.png' />

* How to setup ?
```
https://gradle.org/install/
https://services.gradle.org/distributions/gradle-2.2.1-bin.zip
```

## Summary
```
Warning: Android Studio 2.3.3.0 requires Gradle 2.14.1 (or newer) but project is using 2.2.1.
It is strongly recommended that you update Gradle to version 2.14.1 or newer.
```
그러나 일단 2.2.1로도 빌드 진행 잘 되었음.<commit_msg>updates<commit_after>## Versions
* openFrameworks : 0.9.8
* Android studio : 2.3.3.0
* tested in macOS (Sierra)
* Setup instruction : http://openframeworks.cc/setup/android-studio/

## Problem
Android Studio 2.3.3.0 is equipped with Gradle 3+, but, openFrameworks (0.9.8) was written for Gradle 2.x (2.2.1).

<img src='img/gradle0.png' />



* Error messages when building androidEmptyExample with default settings :
```
Error:(59, 0) Could not get unknown property 'assembleDebug' for root project 'androidEmptyExample' of type org.gradle.api.Project.xamples/android/androidEmptyExample/build.gradle">Open File</a>
```


## FIX
### Gradle : Project-level settings in Android Studio
```
/opt/gradle/gradle-2.2.1
```
<img src='img/gradle1.png' />

* How to setup a different Gradle? See
```
https://gradle.org/install/
https://services.gradle.org/distributions/gradle-2.2.1-bin.zip
```

## Summary
```
Warning: Android Studio 2.3.3.0 requires Gradle 2.14.1 (or newer) but project is using 2.2.1.
It is strongly recommended that you update Gradle to version 2.14.1 or newer.
```
그러나 일단 2.2.1로도 빌드 진행 잘 되었음.
{'fraction_non_alphanumeric': 0.1460520310360566, 'fraction_numerical': 0.04381560931081698, 'mean_word_length': 4.062355658198614, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2387277', 'n_tokens_mistral': 832, 'n_tokens_neox': 781, 'n_words': 218}