<div dir="ltr">Hi,<div><br></div><div>trying to run android-tutorial-3 and androidtutorial-5 in gst-sdk-tutorials. App crashes everytime with the following stacktrace</div><div><br></div><div><div>11-22 05:45:39.164 4976-4976/org.freedesktop.gstreamer.tutorials.tutorial_3 E/GStreamer+ahs: 0:00:02.552870127 0x5ac0ef80 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;</div><div>                                                                                             java.lang.NoSuchFieldError: no static field with name='TYPE_HEART_RATE' signature='I' in class Landroid/hardware/Sensor;</div><div>                                                                                                 at org.freedesktop.gstreamer.GStreamer.nativeInit(Native Method)</div><div>                                                                                                 at org.freedesktop.gstreamer.GStreamer.init(GStreamer.java:16)</div><div>                                                                                                 at org.freedesktop.gstreamer.tutorials.tutorial_3.Tutorial3.onCreate(Tutorial3.java:36)</div><div>                                                                                                 at android.app.Activity.performCreate(Activity.java:5372)</div><div>                                                                                                 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)</div><div>                                                                                                 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2257)</div><div>                                                                                                 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349)</div><div>                                                                                                 at android.app.ActivityThread.access$700(ActivityThread.java:159)</div><div>                                                                                             <span class="gmail-Apple-tab-span" style="white-space:pre">   </span>at android.app.ActivityThread$H.</div><div>11-22 05:45:39.164 4976-4976/org.freedesktop.gstreamer.tutorials.tutorial_3 E/GLib+stderr: **</div><div>                                                                                           ERROR:gst-android-hardware-sensor.c:157:gst_ah_sensor_sensor_sizes_deinit: 'sensor_sizes' should not be NULL</div><div>11-22 05:45:39.164 4976-4976/org.freedesktop.gstreamer.tutorials.tutorial_3 A/libc: Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 4976 (ials.tutorial_3)</div></div><div><br></div><div>This error also occurs in gst-player/android code. When I deleted all the files and then clone the repo again, error was not visible in gst-player/android.</div><div><br></div><div>Also, other times its not able to find GstreamerSurfaceView in the app, it is the classpath, compilation happens fine. </div><div><br></div><div>Does anyone know cause of these errors ? <br></div><div><br></div><div><br></div><div>Not sure what to do here, any help would be greatly appreciated ,</div><div><br></div><div>Thanks,</div><div>Mahendra Naik</div></div>