diff --git a/templates/java/libraries/okhttp-gson/build.gradle.mustache b/templates/java/libraries/okhttp-gson/build.gradle.mustache
index 3efb2314..57b7a863 100644
--- a/templates/java/libraries/okhttp-gson/build.gradle.mustache
+++ b/templates/java/libraries/okhttp-gson/build.gradle.mustache
@@ -136,8 +136,8 @@ dependencies {
androidTestImplementation 'androidx.test:core:1.5.0'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
- androidTestImplementation 'de.mannodermaus.junit5:android-test-core:1.10.0'
- androidTestRuntimeOnly 'de.mannodermaus.junit5:android-test-runner:1.10.0'
+ androidTestImplementation 'de.mannodermaus.junit5:android-test-core:1.4.0'
+ androidTestRuntimeOnly 'de.mannodermaus.junit5:android-test-runner:1.4.0'
{{/android}}
}
diff --git a/templates/java/statics/android/src/androidTest/AndroidManifest.xml b/templates/java/statics/android/src/androidTest/AndroidManifest.xml
index fd43cdf9..f807042a 100644
--- a/templates/java/statics/android/src/androidTest/AndroidManifest.xml
+++ b/templates/java/statics/android/src/androidTest/AndroidManifest.xml
@@ -2,6 +2,7 @@
xmlns:tools="http://schemas.android.com/tools">
+