androidmedia: Android application crashes for build 1.9.90

Sebastian Dröge sebastian at centricular.com
Wed Nov 9 10:03:32 UTC 2016


On Mon, 2016-11-07 at 12:15 +0000, urchikkamath at yahoo.com wrote:
> Hello,
> Our Android application running without any issues with previous
> build 1.4.5 and it has been tested for QA cycle including accessing
> hardware codecs for Video encoding and decoding. However we've
> updated cerbero build and NDK to support latest version of android
> i.e 6.0/7.0. I've successfully build the cerbero for version 1.9.90
> and updated NDK for android-ndk-r12b. With these latest changes our
> Android application crashes while launching app. Debug logs points to
> androidmedia(gst_android_hardware_sensor_init) plugin is culprit. 
> 
> W/GStreamer+amc(14205): 0:00:01.284946250 0x78f74a20
> gstamc.c:3531:gst_amc_codec_info_to_caps Unsupported mimetype
> 'audio/ac3'
> E/GStreamer+ahs(14205): 0:00:01.295211375 0x78f74a20 gst-android-
> hardware-sensor.c:598:_init_classes Failed to initialize Android
> classes: Failed to get static field ID TYPE_HEART_RATE (I):
> java.lang.NoSuchFieldError: no static field with
> name='TYPE_HEART_RATE' signature='I' in class
> Landroid/hardware/Sensor;
> E/GStreamer+ahs(14205): java.lang.NoSuchFieldError: no static field
> with name='TYPE_HEART_RATE' signature='I' in class
> Landroid/hardware/Sensor;
> E/GStreamer+ahs(14205): 	at
> org.freedesktop.gstreamer.GStreamer.nativeInit(Native Method)
> E/GStreamer+ahs(14205): 	at
> org.freedesktop.gstreamer.GStreamer.init(GStreamer.java:16)
> E/GStreamer+ahs(14205): 	at
> com.iVideo.videotrans.Video.init(iVideoTrans.java:135)
> E/GStreamer+ahs(14205): 	at
> com.iVideo.GstVideoApp.iDemoApp.onCreate(iDemoApp.java:56)
> E/GStreamer+ahs(14205): 	at
> android.app.Activity.performCreate(Activity.java:5426)
> E/GStreamer+ahs(14205): 	at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java
> :1105)
> E/GStreamer+ahs(14205): 	at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 2269)
> E/GStreamer+ahs(14205): 	at
> android.app.ActivityThread.handleLaunchActivity(A
> E/GLib+stderr(14205): **
> E/GLib+stderr(14205): ERROR:gst-android-hardware-
> sensor.c:157:gst_ah_sensor_sensor_sizes_deinit: 'sensor_sizes' should
> not be NULL
> (attached detail log)

See https://bugzilla.gnome.org/show_bug.cgi?id=774048

This will be fixed in 1.10.1

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-android/attachments/20161109/feb330c0/attachment.sig>


More information about the gstreamer-android mailing list