Resource android:attr/lStar not found
Unity: All versions | Appodeal SDK: 2.15.4 or higher
The error "AAPT: error: resource android:attr/lStar not found" happens if your project doesn't support the functionality of API 31, which is required for androidX libraries used by ad networks.
The error example from Unity Editor Log:
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':launcher:processReleaseResources'. > Android resource linking failed /Users/user/.gradle/caches/transforms-2/files-2.1/94b0d9b24708e966d39e2a2a45fc8edd/res/values/values.xml:4:5-13:25: AAPT: error: resource android:attr/lStar not found. error: failed linking references.
To solve the error:
Setup Target API level to 32 in File → Build Settings → Player Settings → Other Settings.