From 4fe1eb4b871d64bc79efbd4ac91af27fc2160506 Mon Sep 17 00:00:00 2001 From: Tommy270 Date: Wed, 19 Mar 2025 10:03:55 -0700 Subject: [PATCH 1/5] Added namespace to android/build.gradle for AGP compatibility --- android/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/build.gradle b/android/build.gradle index 4f31800..00b8ace 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -23,6 +23,7 @@ apply plugin: 'com.android.library' android { compileSdkVersion 33 + namespace 'com.example.video_thumbnail' defaultConfig { minSdkVersion 16 From 4b5f89aaca88f809355c057b8960456e017ecf96 Mon Sep 17 00:00:00 2001 From: Tommy270 Date: Wed, 19 Mar 2025 10:18:23 -0700 Subject: [PATCH 2/5] Removed package attribute from AndroidManifest.xml for AGP compatibility --- android/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index d5966dc..a978b15 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,3 +1,3 @@ + From 75ee963ba57eaf075fa2ff583f25786760b6b861 Mon Sep 17 00:00:00 2001 From: Tommy270 Date: Wed, 19 Mar 2025 20:58:17 -0700 Subject: [PATCH 3/5] Update build.gradle --- android/build.gradle | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 00b8ace..1269335 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,18 +4,17 @@ version '1.0-SNAPSHOT' buildscript { repositories { google() - jcenter() + mavenCentral() // Replaced jcenter() as it’s deprecated } - dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' + classpath 'com.android.tools.build:gradle:7.0.0' // Updated to a version supporting namespaces } } -rootProject.allprojects { +allprojects { repositories { google() - jcenter() + mavenCentral() } } @@ -23,7 +22,7 @@ apply plugin: 'com.android.library' android { compileSdkVersion 33 - namespace 'com.example.video_thumbnail' + namespace 'xyz.justsoft.video_thumbnail' // Matches the group for consistency defaultConfig { minSdkVersion 16 From 6d1a479d34f71b370aec860a738c2950556594b3 Mon Sep 17 00:00:00 2001 From: Tommy270 Date: Wed, 19 Mar 2025 21:08:18 -0700 Subject: [PATCH 4/5] Update build.gradle --- android/build.gradle | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 1269335..689cb0b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,17 +4,18 @@ version '1.0-SNAPSHOT' buildscript { repositories { google() - mavenCentral() // Replaced jcenter() as it’s deprecated + mavenCentral() // Replace jcenter() with mavenCentral() } + dependencies { - classpath 'com.android.tools.build:gradle:7.0.0' // Updated to a version supporting namespaces + classpath 'com.android.tools.build:gradle:7.4.2' // Update to a newer AGP version } } allprojects { repositories { google() - mavenCentral() + mavenCentral() // Replace jcenter() with mavenCentral() } } @@ -22,10 +23,10 @@ apply plugin: 'com.android.library' android { compileSdkVersion 33 - namespace 'xyz.justsoft.video_thumbnail' // Matches the group for consistency + namespace 'com.example.video_thumbnail' defaultConfig { - minSdkVersion 16 + minSdkVersion 24 // Align with your app’s minSdk 24 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { From a455ea636d395ec4b83abfaf6090ccf228b9a647 Mon Sep 17 00:00:00 2001 From: Tommy270 Date: Wed, 19 Mar 2025 21:15:12 -0700 Subject: [PATCH 5/5] Update AndroidManifest.xml --- android/src/main/AndroidManifest.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index a978b15..a2f47b6 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,3 +1,2 @@ -