Skip to content

feat: add support for building with Android 15#118

Open
maureenorea-clores wants to merge 5 commits into
masterfrom
feat/android-15
Open

feat: add support for building with Android 15#118
maureenorea-clores wants to merge 5 commits into
masterfrom
feat/android-15

Conversation

@maureenorea-clores

Copy link
Copy Markdown
Contributor

No description provided.

@maureenorea-clores maureenorea-clores changed the title [WIP] feat: add support for building with Android 15 feat: add support for building with Android 15 Oct 24, 2025
@puneetksh

Copy link
Copy Markdown

@maureenorea-clores we need to add buildFeatures.buildConfig = true also in the config/android/android.gradle inside the android{...} DSL block.

Since, we are using buildConfigField("String","VERSION_NAME", "\"$project.version\"") , without that there shall be following error

A problem occurred configuring project ':xxxx'.
defaultConfig contains custom BuildConfig fields, but the feature is disabled.
To enable the feature, add the following to your module-level build.gradle:
android.buildFeatures.buildConfig = true

Comment thread publish/android.gradle
@@ -1,5 +1,13 @@
apply from: "$CONFIG.configDir/publish/base-artifact.gradle"

android {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

what is the objective of adding this block here ?
What is the issue if we don't have it i.e. why do we need it ?

Co-authored-by: Puneet <puneet.sharma>
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.

2 participants