Skip to content

fix(MSDK-4193): support AGP 9 in the library module build script - #267

Open
asadraza-usercentrics wants to merge 1 commit into
masterfrom
fix/MSDK-4193-android-agp9-targetsdk
Open

asadraza-usercentrics wants to merge 1 commit into
masterfrom
fix/MSDK-4193-android-agp9-targetsdk

Conversation

@asadraza-usercentrics

@asadraza-usercentrics asadraza-usercentrics commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

User description

Summary

React Native 0.87 pins AGP 9.2.1, which removed targetSdk from the library defaultConfig DSL, so the SDK's android/build.gradle.kts fails script compilation. The same build fails on the removed kotlinOptions API under Kotlin 2.2.
Jira: MSDK-4193 (blocks CTS-4824)

Changes

  • Remove targetSdk = 34 from defaultConfig. It has no effect on a library module, so there is no behaviour change for consumers.
  • Replace kotlinOptions { jvmTarget = "17" } with a top-level kotlin { compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } } block. The JVM target is still 17 and still matches compileOptions.
  • The sample app's own targetSdk is unchanged because it is an application module.

Testing

  • Before the fix, a fresh RN 0.87.0 app (AGP 9.2.1, Gradle 9.4.1, Kotlin 2.2.0) with this SDK failed with Unresolved reference 'targetSdk' and kotlinOptions errors.
  • After the fix, the same app passes :usercentrics_react-native-sdk:tasks and assembleDebug (arm64-v8a) and builds the SDK AAR.
  • Regression on the sample app (RN 0.81.4, AGP 8.7.2, Gradle 8.13, Kotlin 2.0.21): assembleDebug, testDebugUnitTest and koverXmlReport all pass.
  • Older consumer (RN 0.76.9: Kotlin 1.9.25, AGP 8.6.0, Gradle 8.10.2): :usercentrics_react-native-sdk:assembleDebug and :app:assembleDebug pass, so the compilerOptions DSL also works on Kotlin 1.9.
  • Runtime check of the sample app with the fix: it launches on an Android emulator (Pixel 6 API 34) and an iOS simulator (iPhone 16 Pro) and the consent banner renders.

Notes

  • The RN 0.87 and RN 0.76 apps were verified at build level only. The runtime check used the sample app (RN 0.81.4).
  • The deprecated $buildDir usage in sourceSets is intentionally left out of this PR to keep it minimal.
  • The CHANGELOG entry will be added in the release commit.

CodeAnt-AI Description

Fix Android SDK builds with Android Gradle Plugin 9

What Changed

  • Android builds no longer fail on unsupported library and Kotlin settings when using Android Gradle Plugin 9.

Impact

✅ Android builds succeed with AGP 9.x
✅ React Native 0.87+ apps can include the SDK

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Summary by CodeRabbit

  • Bug Fixes
    • Improved Android build compatibility with newer Android tooling and React Native versions, while retaining support for JVM 17.

@codeant-ai

codeant-ai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

CodeAnt  CodeAnt Review Status

✅  Review completed

Status Commit Started (UTC) Finished (UTC)
✅  #809b2 Reviewed your PR 1a26940 Nov 18, 2026 · 16:55 16:58

@codeant-ai

codeant-ai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Android module no longer sets targetSdk explicitly. It configures the Kotlin JVM target as JVM_17 through the compilerOptions DSL. The changelog records the Android build fix.

Changes: Android build configuration

Layer / File(s) Summary
Gradle settings and release note
android/build.gradle.kts, CHANGELOG.md
The Android module removes targetSdk = 34 and the kotlinOptions block. It sets the JVM target to JVM_17 through kotlin.compilerOptions. The changelog records the fix for Android Gradle Plugin 9.x with React Native 0.87+.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Suggested reviewers: uc-brunosouza

Merge Risk: Minimal · up to 1a269

This change makes the Android library build script compatible with AGP 9 and Kotlin 2.2 while keeping the JVM 17 target. No actionable merge-blocking risk remains, and the documented minimum Kotlin version (1.9.22) supports the new DSL.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: making the library module build script compatible with AGP 9. The changeset removes targetSdk from the library module's defaultConfig and moves the Kotlin JVM target f…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: making the library module build script compatible with AGP 9. The changeset removes targetSdk from the library module's defaultConfig and moves the Kotlin JVM target from kotlinOptions to the compilerOptions DSL, which matches the title's intent. The title is concise, specific, and follows the conventional commit style with a ticket reference.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 61fd9cf0-1613-4bff-8dc9-037cbc842f86
Commits

Reviewing files that changed from the base of the PR and between 71060b4 and 1a26940.

Files selected for processing: 2

  • CHANGELOG.md
  • android/build.gradle.kts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@codeant-ai codeant-ai Bot added the size:S This PR changes 10-29 lines, ignoring generated files label Nov 18, 2026
@qodo-code-review

qodo-code-review Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Fix Android library builds with AGP 9 and Kotlin 2.2

🐞 Bug fix 📝 Documentation 🕐 Less than 10 minutes

Grey Divider

AI Description

• Remove the library module’s unsupported targetSdk setting so AGP 9 can compile its build script.
• Migrate to Kotlin compilerOptions, preserving the JVM 17 target.
• Document the compatibility fix in the upcoming release notes.
Merge Risk 🟡 Medium

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • The changed settings govern one bounded integration outcome: producing the Android library artifact consumed by React Native applications.
  • The removed targetSdk and Kotlin compiler configuration are build inputs for that same artifact, not separate runtime capabilities or independent functional scopes.
Behavioral complexity 🟡 Medium 🧩 Compatibility cases

  • Before: the library used a module-level targetSdk declaration and Kotlin's kotlinOptions.jvmTarget assignment.
  • After: targetSdk is removed and JVM targeting is expressed through compilerOptions with JvmTarget.JVM_17.
  • New correctness condition: the library's Gradle configuration must remain valid across the supported AGP/Kotlin/React Native combinations while preserving Java/Kotlin JVM 17 compatibility.
  • This introduces a compatibility case around build-toolchain interpretation, but no new runtime state machine, algorithm, concurrency protocol, or coordinated invariant.
  • The underlying Java/Kotlin target values remain unchanged.
Sources

CHANGELOG.md[2-4]

### 2.X.X – Upcoming
## Fixes
* **[Android]** Fix build failure with Android Gradle Plugin 9.x (React Native 0.87+): remove the unsupported `targetSdk` from the library module and migrate `kotlinOptions` to the `compilerOptions` DSL
Potential damage 🟡 Medium 🩹 Temporary loss

  • If the revised DSL is incompatible with a consumer's build toolchain, the Android library or consuming application cannot be configured or compiled.
  • Recovery is generally available by correcting the build-toolchain/configuration combination or reverting this build change; there is no indication of persistent state corruption, data loss, or an external side effect.
  • The equal-importance baseline is used because no business-criticality declaration was supplied.
  • Recoverable by using a compatible AGP/Kotlin toolchain or restoring compatible Gradle configuration, followed by a successful rebuild.
  • No persistent state repair or external compensation is required.
Assessed commit 1a26940
Diagram

graph TD
  Host["RN host build"] --> Script["Library Gradle"] --> AGP["Android library plugin"] --> AAR[/"SDK AAR"/]
  Script --> Kotlin["Kotlin compiler"] --> AAR
Loading
High-Level Assessment

The focused DSL migration is appropriate: a library does not need targetSdk, and compilerOptions preserves JVM 17 without introducing version-specific build logic. Kotlin Gradle plugin 1.9 compatibility remains unverified.

Files changed (2) +10 / -5

Bug fix (1) +6 / -5
build.gradle.ktsUse AGP 9-compatible library and Kotlin configuration +6/-5

Use AGP 9-compatible library and Kotlin configuration

• Removes targetSdk from the library defaultConfig, where it has no consumer effect. Replaces kotlinOptions with top-level compilerOptions while retaining JVM 17 to match Java compileOptions.

android/build.gradle.kts

Documentation (1) +4 / -0
CHANGELOG.mdDocument the AGP 9 Android build fix +4/-0

Document the AGP 9 Android build fix

• Adds an upcoming-release entry explaining that the library removes its unsupported targetSdk setting and migrates to the compilerOptions DSL.

CHANGELOG.md

@pantoaibot

pantoaibot Bot commented Nov 18, 2026

Copy link
Copy Markdown

PR Summary:

Support AGP 9 compatibility by removing unsupported library-level targetSdk and migrating Kotlin JVM target to the new compilerOptions DSL; update release notes.

  • android/build.gradle.kts

    • Removed targetSdk from the library module's defaultConfig (AGP 9 disallows targetSdk in library modules).
    • Removed the legacy kotlinOptions block and added the new kotlin { compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } } DSL so the Kotlin JVM target is configured in the AGP 9–compatible way.
    • Kept compileSdk = 34 and Java source/targetCompatibility = 17 unchanged.
    • No dependency version changes or functional code changes; build script-only modification to fix build failures on Android Gradle Plugin 9.x (React Native 0.87+).
  • CHANGELOG.md

    • Added an "Upcoming" entry documenting the fix for AGP 9 build failures and the Kotlin compilerOptions migration.

Impact:

  • Build-time change only; runtime behavior unchanged.
  • Host app must provide targetSdk (typical for library modules); ensure project uses AGP 9+ compatibility for the new kotlin.compilerOptions DSL.

Reviewed by Panto AI

@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (1) 📜 Skill insights (0)

Grey Divider


Action required

1. Kotlin 1.9 apps fail during configuration 🐞 Bug ≡ Correctness
Description
The new top-level kotlin { compilerOptions { ... } } block unconditionally uses a Kotlin Gradle
plugin 2.0+ DSL, while this module applies the consuming build’s kotlin-android plugin. Consumers
using the documented minimum Kotlin 1.9.22 encounter a build-script configuration failure before the
library can build.
Code

android/build.gradle.kts[R72-75]

+kotlin {
+    compilerOptions {
+        jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
+    }
Evidence
The library applies kotlin-android without pinning its version, its new configuration uses the
Kotlin 2.0+ DSL, and both the requirements and requirements-check script still accept Kotlin 1.9.22.
The sample configures a newer Kotlin plugin, so its successful build does not cover that supported
minimum.

android/build.gradle.kts[14-17]
android/build.gradle.kts[72-76]
README.md[37-46]
scripts/check-requirements.sh[195-207]
sample/android/settings.gradle.kts[8-11]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new compiler-options DSL requires Kotlin Gradle plugin 2.0+, but Kotlin 1.9.22 remains a documented supported minimum.

## Fix Focus Areas
- android/build.gradle.kts[72-76]
- README.md[42-46]
- scripts/check-requirements.sh[195-207]

## Recommended Fix
Keep a compatible JVM-target configuration path for Kotlin 1.9 while using compilerOptions for Kotlin 2.x/AGP 9, and verify both builds. If Kotlin 1.9 support is intentionally ending instead, raise and enforce the stated minimum and communicate the breaking change.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗



Remediation recommended

2. Changelog entry has a placeholder heading instead of version and date 📘 Rule violation ⚙ Maintainability
Description
The new entry heading is ### 2.X.X – Upcoming, which has no concrete version number and no `Mon D,
YYYY` date. The entry sits at the top of CHANGELOG.md, so the ordering is correct, but the heading
format does not match the documented release-entry format. The PR description says the CHANGELOG
entry will be added in the release commit, which suggests this placeholder is meant to be replaced
later, but as written it would ship in this PR's history with the wrong heading.
Code

CHANGELOG.md[R2-3]

+### 2.X.X – Upcoming
+## Fixes
Evidence
Compliance rule 2 requires a new release entry to use a ### X.Y.Z – Mon D, YYYY heading. The added
heading ### 2.X.X – Upcoming uses a placeholder version and no date, so it fails the required
heading format.

CLAUDE.md: Maintain Release Changelog Order and Format
CHANGELOG.md[2-4]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

Issue description
The new CHANGELOG.md entry uses the heading `### 2.X.X – Upcoming`, which does not follow the required `### X.Y.Z – Mon D, YYYY` format.

Fix Focus Areas
- CHANGELOG.md[2-4]

Recommended Fix
Replace the `2.X.X – Upcoming` heading with the actual release version and date in the `### X.Y.Z – Mon D, YYYY` format, or move the entry into the release commit as the PR description intends. Keep the `## Fixes` section and the entry at the top of the file.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


Grey Divider

Context sources
❌ Tickets: failed to load — Ticket collection could not establish complete evidence
Review mode: Auto: ⚖️ Balanced: Build compatibility changes affect consumers and remain unverified for Kotlin 1.9.

Grey Divider

Tip of the day
💡 Did you know, you can type 'qodo, fix this' on a finding and the fix lands right on your PR

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

Comment thread CHANGELOG.md
Comment on lines +2 to +3
### 2.X.X – Upcoming
## Fixes

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remediation recommended

2. Changelog entry has a placeholder heading instead of version and date 📘 Rule violation ⚙ Maintainability

The new entry heading is ### 2.X.X – Upcoming, which has no concrete version number and no `Mon D,
YYYY` date. The entry sits at the top of CHANGELOG.md, so the ordering is correct, but the heading
format does not match the documented release-entry format. The PR description says the CHANGELOG
entry will be added in the release commit, which suggests this placeholder is meant to be replaced
later, but as written it would ship in this PR's history with the wrong heading.
Agent Prompt
Issue description
The new CHANGELOG.md entry uses the heading `### 2.X.X – Upcoming`, which does not follow the required `### X.Y.Z – Mon D, YYYY` format.

Fix Focus Areas
- CHANGELOG.md[2-4]

Recommended Fix
Replace the `2.X.X – Upcoming` heading with the actual release version and date in the `### X.Y.Z – Mon D, YYYY` format, or move the entry into the release commit as the PR description intends. Keep the `## Fixes` section and the entry at the top of the file.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗

Comment thread android/build.gradle.kts
Comment on lines +72 to +75
kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. Kotlin 1.9 apps fail during configuration 🐞 Bug ≡ Correctness

The new top-level kotlin { compilerOptions { ... } } block unconditionally uses a Kotlin Gradle
plugin 2.0+ DSL, while this module applies the consuming build’s kotlin-android plugin. Consumers
using the documented minimum Kotlin 1.9.22 encounter a build-script configuration failure before the
library can build.
Agent Prompt
## Issue description
The new compiler-options DSL requires Kotlin Gradle plugin 2.0+, but Kotlin 1.9.22 remains a documented supported minimum.

## Fix Focus Areas
- android/build.gradle.kts[72-76]
- README.md[42-46]
- scripts/check-requirements.sh[195-207]

## Recommended Fix
Keep a compatible JVM-target configuration path for Kotlin 1.9 while using compilerOptions for Kotlin 2.x/AGP 9, and verify both builds. If Kotlin 1.9 support is intentionally ending instead, raise and enforce the stated minimum and communicate the breaking change.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗

Comment thread android/build.gradle.kts
Comment on lines +72 to +76
kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[CRITICAL_BUG] The top-level kotlin { compilerOptions { jvmTarget.set(...) } } DSL requires the Kotlin Gradle plugin 2.0+; consumers/builds using Kotlin <2.0 (e.g. 1.9.x) will fail with an unresolved "kotlin"/DSL error. Provide a backwards-compatible fallback to avoid breaking projects that still use older Kotlin plugin versions. Example fallback to add (place after the kotlin { ... } block) which sets the JVM target via the KotlinCompile task when the top-level kotlin DSL is not available:

// Fallback for older Kotlin Gradle plugin versions
try {
// If Kotlin Gradle plugin 2.x+ is present, the above kotlin {} block will apply
} catch (e: Exception) {
// Configure kotlinOptions on KotlinCompile tasks for compatibility with older plugins
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java).configureEach {
kotlinOptions.jvmTarget = "17"
}
}

This keeps compatibility with older consumers while allowing Kotlin 2.x users to use the new compilerOptions API. (Reference: previous kotlinOptions usage in this file / reference block android/build.gradle.kts lines 15-70.)

android {
    // ... existing android block ...

    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_17
        targetCompatibility = JavaVersion.VERSION_17
    }

    // Fallback for projects using older Kotlin Gradle plugin (< 2.0)
    // where the top-level `kotlin { compilerOptions { ... } }` DSL is not available.
    tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
        kotlinOptions {
            jvmTarget = "17"
        }
    }
}

// Preferred configuration for Kotlin Gradle plugin 2.0+
// (AGP 9.x / RN 0.87+ toolchain)
kotlin {
    compilerOptions {
        jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
    }
}

Comment thread CHANGELOG.md
Comment on lines +2 to +4
### 2.X.X – Upcoming
## Fixes
* **[Android]** Fix build failure with Android Gradle Plugin 9.x (React Native 0.87+): remove the unsupported `targetSdk` from the library module and migrate `kotlinOptions` to the `compilerOptions` DSL

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[NITPICK] The changelog entry correctly mentions the build fixes for AGP 9.x and migrating kotlinOptions. Add a short note that the change requires Kotlin Gradle plugin 2.0+ (or that a fallback is provided) so integrators upgrading to this SDK know about the Kotlin plugin compatibility implications.

### 2.X.X – Upcoming
## Fixes
* **[Android]** Fix build failure with Android Gradle Plugin 9.x (React Native 0.87+): remove the unsupported `targetSdk` from the library module and migrate `kotlinOptions` to the `compilerOptions` DSL (requires Kotlin Gradle plugin 2.0+)

@pantoaibot

pantoaibot Bot commented Nov 18, 2026

Copy link
Copy Markdown

Reviewed up to commit:1a2694079c16a26cc7f104a000e18344bf782729

Reviewed by Panto AI

Comment thread android/build.gradle.kts
Comment on lines +72 to +76
kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: With the documented Kotlin 1.9.22 minimum, this Kotlin 2.x-only DSL fails during Gradle configuration, preventing consumers from building the SDK.

Assessment: 🟠 Major · 🔁 Occurrence: Sometimes · 🏷️ Api mismatch

Use CodeAnt Skill Fix in Cursor Fix in VSCode Claude

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** android/build.gradle.kts
**Line:** 72:76
**Comment:**
	*Api Mismatch: With the documented Kotlin 1.9.22 minimum, this Kotlin 2.x-only DSL fails during Gradle configuration, preventing consumers from building the SDK.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.
Once fix is implemented, also check other comments on the same PR, and ask user if the user wants to fix the rest of the comments as well. if said yes, then fetch all the comments validate the correctness and implement a minimal fix
👍 | 👎

@codeant-ai

codeant-ai Bot commented Nov 18, 2026

Copy link
Copy Markdown

CodeAnt  CodeAnt PR Risk

🟡  Medium Risk

  • The PR needs attention before merging.
  • The new compilerOptions DSL may fail Gradle configuration for consumers using the documented Kotlin 1.9.22 minimum.

Assessed commit: 1a2694079c16

@Under-Warz Under-Warz left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My actual patch remove targetSdk = 34 and it's working fine :)

Comment thread android/build.gradle.kts

defaultConfig {
minSdk = 24
targetSdk = 34

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this intended?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is what the ticket was about. we need to remove this according to the AGP 9+ they give unresolved targetSdk error because it is removed in the latest versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants