Skip to content

Commit

Permalink
Do not add android:minSdkVersion as it reports:
Browse files Browse the repository at this point in the history
> Task :deps:processDebugManifest
/Users/soywiz/projects/korge-hello-world/deps/build/AndroidManifest.xml:3:5-74 Warning:
        uses-sdk:minSdkVersion value (18) specified in the manifest file is ignored. It is overridden by the value declared in the DSL or the variant API, or 1 if not declared/present. Current value is (1).
/Users/soywiz/projects/korge-hello-world/deps/build/AndroidManifest.xml:3:5-74 Warning:
        uses-sdk:targetSdkVersion value (30) specified in the manifest file is ignored. It is overridden by the value declared in the DSL or the variant API, or 1 if not declared/present. Current value is (1).
  • Loading branch information
soywiz committed Aug 27, 2024
1 parent a46c0a8 commit 5f6cd7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object AndroidConfig {
it.writeText(buildString {
appendLine("<?xml version=\"1.0\" encoding=\"utf-8\"?>")
appendLine("<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\">")
appendLine(" <uses-sdk android:minSdkVersion=\"${minSdk}\" android:targetSdkVersion=\"${targetSdk}\" />")
//appendLine(" <uses-sdk android:minSdkVersion=\"${minSdk}\" android:targetSdkVersion=\"${targetSdk}\" />")
appendLine("</manifest>")
})
}
Expand Down

0 comments on commit 5f6cd7e

Please sign in to comment.