starting android development
Sérgio Agostinho
sergio.r.agostinho at gmail.com
Tue Apr 7 03:40:15 PDT 2015
Hi Leonardo,
So I downloaded your code, created a new project and imported your 'app'
module into it. Then I noticed your Android.mk had these lines
ifndef GSTREAMER_SDK_ROOT
ifndef GSTREAMER_SDK_ROOT_ANDROID
$(error GSTREAMER_SDK_ROOT_ANDROID is not defined!)
endif
GSTREAMER_SDK_ROOT := $(GSTREAMER_SDK_ROOT_ANDROID)
endif
GSTREAMER_NDK_BUILD_PATH :=
$(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build
which is strange since the env that 1.4.5 uses is
GSTREAMER_ROOT
So I set the env, added
import org.freedesktop.gstreamer.GStreamer;
into your main activity and voilá, the file got copied into the right place
and no more complains about the missing Gstreamer class. Then I noticed you
had the following file and folder structure (from a previous build I guess)
src/main/src/*com/gstreamer/Gstreamer.java*
My preliminary conclusion is that you are not using 1.4.5 and you're using
the android binaries from gstreamer.com.
Cheers,
Sérgio
2015-04-03 22:45 GMT+02:00 Forzaferrarileo <leonardo.ferroro at gmail.com>:
> i tried to add GSTREAMER_JAVA_SRC_DIR := java , but the result is the
> same..
> I can't figure out the problem ( in eclipse everything works fine )
>
> I uploaded the whole code here :
> https://bitbucket.org/Forzaferrarileo/gstreamer-androidstudio
> could you please watch it ?
>
>
> Thank you
> Leonardo
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/starting-android-development-tp4671223p4671448.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150407/d8e96a28/attachment.html>
More information about the gstreamer-devel
mailing list