It does not works for me, I'm not able to run the examples. Here a recap of what I've done:
I've downloaded the last release (18/9) and I've changed this file https://github.com/openframeworks/openFrameworks/commit/b295e41913a544b56f4387c6253e595d6e14bca0 that is not already in the current nightly release.
I've followed the steps on the tutorial https://github.com/openframeworks/openFrameworks/blob/master/docs/android_studio.md
until "Build and Run". It takes around 3 minutes to compile, the builds finishes and i can run the emulator. I do not see anything except the android desktop in the amulator, but the log looks good
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/cc.openframeworks.androidEmptyExample"
pkg: /data/local/tmp/cc.openframeworks.androidEmptyExample
Success
Launching application: cc.openframeworks.androidEmptyExample/cc.openframeworks.androidEmptyExample.OFActivity.
DEVICE SHELL COMMAND: am start -n "cc.openframeworks.androidEmptyExample/cc.openframeworks.androidEmptyExample.OFActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=cc.openframeworks.androidEmptyExample/.OFActivity }
- In order to try out the examples, i do the following, i copy "the generated android app", that I assume is
OF/apps/myApps/androidEmptyExample
to "a subdirectory of apps, at the same level as the sample", that I assume isOF/apps/myApps
. And here the problem, double clicking on build.gradle opens the AndroidStudio dialog. I can not check the option "Use local gradle wrapper", but I've to specify a local one, that I don't have. Also, i do not have asettings.gradle
file that I can edit on the copied project folder.
I think I will try Eclipse, Android Studio seems still too experimental.