Skip to content

Conversation

@bitsandfoxes
Copy link
Contributor

Follow up on #2231 - This slipped through when updating the Builder.cs

The default API level in Unity 2020 is 19, leading to the following error

  10:41:30.915 | /sentry-unity/samples/IntegrationTest/Temp/gradleOut/launcher/src/main/AndroidManifest.xml Error:
  10:41:30.915 | 	uses-sdk:minSdkVersion 19 cannot be smaller than version 21 declared in library [:sentry-android-ndk-release:] /home/gh/.gradle/caches/transforms-2/files-2.1/8d26493c05c6c8bf9a67a4b46bd75e75/sentry-android-ndk-release/AndroidManifest.xml as the library might be using APIs not available in 19
  10:41:30.916 | 	Suggestion: use a compatible library with a minSdk of at most 19,
  10:41:30.916 | 		or increase this project's minSdk version to at least 21,
  10:41:30.916 | 		or use tools:overrideLibrary="io.sentry.android.ndk" to force usage (may lead to runtime failures)

#skip-changelog

@bitsandfoxes bitsandfoxes merged commit 606140d into main Jul 9, 2025
73 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/android-2020-ci branch July 9, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants