Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Hms map , build Gradle missing namespace #400

Open
rafahkhaled96 opened this issue Jan 8, 2025 · 1 comment
Open

Hms map , build Gradle missing namespace #400

rafahkhaled96 opened this issue Jan 8, 2025 · 1 comment

Comments

@rafahkhaled96
Copy link

Description
the android build Gradle give error because is missing the name space in android section
Expected behavior
What you expected to happen?

Current behavior
What actually happened?

Screenshots
If applicable, add screenshots to help explain your issue

Logs
Post logs here or paste them to Ghostbin and insert the link here.

Environment

  • Platform:flutter
  • Kit: map
  • Kit Version ^6.11.2+304
  • OS Version android
  • Android Studio version (if applicable) [e.g. 4.1]
  • Platform version (if applicable)
  • Node Version (if applicable)
  • Your Location/Region Dubai

Other
Add any other context about the problem here

@dadrum
Copy link

dadrum commented Jan 10, 2025

try adding this to the /android/build.gradle file

subprojects {
afterEvaluate { project ->
if (project.name == "huawei_push") {
project.android.namespace = "com.huawei.hms.flutter.push"
}
}
}

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

No branches or pull requests

2 participants