Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2041>
apply plugin: 'com.android.application'
android {
- compileSdkVersion 23
- buildToolsVersion '27.0.3'
+ compileSdkVersion 32
defaultConfig {
applicationId "org.freedesktop.gstreamer.play"
minSdkVersion 15
- targetSdkVersion 15
+ targetSdkVersion 32
versionCode 1
versionName "1.0"
-
externalNativeBuild {
ndkBuild {
def gstRoot
<application android:theme="@style/Theme.AppCompat.Light" android:label="@string/app_name">
<activity android:name=".Play"
- android:label="@string/app_name">
+ android:label="@string/app_name"
+ android:exported="true">
<!-- Files whose MIME type is known to Android -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
</activity>
</application>
-</manifest>
+</manifest>
include $(CLEAR_VARS)
LOCAL_MODULE := gstplayer
-LOCAL_SRC_FILES := player.c
+LOCAL_SRC_FILES := player.c dummy.cpp
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog -landroid
APP_PLATFORM = 15
APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64
+APP_STL = c++_shared
google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:3.1.1'
+ classpath 'com.android.tools.build:gradle:7.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip