[Bug 796570] Android tutorials: add gradle build system
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 13 07:18:39 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=796570
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #372661|none |needs-work
status| |
--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 372661:
--> (https://bugzilla.gnome.org/review?bug=796570&attachment=372661)
Looks mostly good, just fix the below and merge :)
::: examples/tutorials/android/android-tutorial-5/build.gradle
@@ +30,3 @@
+
+ // All archs except MIPS and MIPS64 are supported
+ abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
Should stop building armeabi (non-v7a) for the 1.15/1.16 releases
::: markdown/installing/for-android-development.md
@@ +206,3 @@
+```bash
+$ cd examples/tutorials/android
+$ GSTREAMER_ROOT_ANDROID=/path/to/gst-android-1.14/
PATH=~/dev/android/tools/bin:~/dev/android/ndk-bundle:$PATH
ANDROID_HOME="$HOME/dev/android/" ./gradlew :android-tutorial-1:installDebug
Should always put the path into gradle.properties instead. Environment
variables are awkward for Windows users.
Maybe also add an paragraph for how to do all this in Android Studio?
@@ -195,0 +195,18 @@
+#### Using gradle from the command-line
+
+To build and deploy the tutorials to your device, use a command similar to:
... 15 more ...
Or alternatively just start the app from the app launcher on the device :)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list