Skip to content

Add Namespace into android/gradle.build for suport to gradle 8+ #182

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
SeltonJeff opened this issue Dec 18, 2024 · 0 comments
Open

Add Namespace into android/gradle.build for suport to gradle 8+ #182

SeltonJeff opened this issue Dec 18, 2024 · 0 comments

Comments

@SeltonJeff
Copy link

Please add "namespace" into /android/build.gradle => android, for compatibility with gradle 8+.
EX:

android {
namespace 'reactnativeexceptionhandler'
compileSdkVersion getExtValue(rootProject,'compileSdkVersion',23)
buildToolsVersion getExtValue(rootProject,'buildToolsVersion', "23.0.1")

defaultConfig {
    minSdkVersion getExtValue(rootProject,'minSdkVersion', 16)
    targetSdkVersion getExtValue(rootProject,'targetSdkVersion', 22)
    versionCode 1
    versionName "1.0"
}
lintOptions {
    abortOnError false
}

}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant