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

Android Gradle Issues #26

Open
peterson-umoke opened this issue Oct 11, 2024 · 5 comments
Open

Android Gradle Issues #26

peterson-umoke opened this issue Oct 11, 2024 · 5 comments

Comments

@peterson-umoke
Copy link

peterson-umoke commented Oct 11, 2024

Namespace not specified. Specify a namespace in the module's build file: /{{username}}.pub-cache/hosted/pub.dev/flutter_dtmf-3.0.2/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.

A problem occurred configuring project ':flutter_dtmf'.

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file: /{{username}}/.pub-cache/hosted/pub.dev/flutter_dtmf-3.0.2/android/build.gradle. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

@peterson-umoke
Copy link
Author

peterson-umoke commented Oct 11, 2024

solution to this is to simple add a namespace to your build.gradle file:

android {
    namespace "com.eopeter.flutter_dtmf"
    ...
}

@say-rahul
Copy link

I'm trying to do my first project in react native
It's throwing me an error..plz help me out

When i enter
npx react-native run-android

What went wrong:
Execution failed for task ':gradle-plugin:shared:compileKotlin'.

Could not resolve all files for configuration ':gradle-plugin:shared:compileClasspath'.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.9.24.
Required by:
project :gradle-plugin:shared
> Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.9.24.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.9.24/kotlin-stdlib-1.9.24.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.9.24/kotlin-stdlib-1.9.24.pom'.
> repo.maven.apache.org
Could not resolve com.google.guava:guava:31.0.1-jre.
Required by:
project :gradle-plugin:shared
> Could not resolve com.google.guava:guava:31.0.1-jre.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.pom'.
> Could not HEAD 'https://repo.maven.apache.org/maven2/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.pom'.
> No such host is known (repo.maven.apache.org)

@ooglek
Copy link

ooglek commented Dec 5, 2024

+1 needs an update or a new owner

@ooglek
Copy link

ooglek commented Dec 5, 2024

@eopeter Are you there?

@eopeter
Copy link
Owner

eopeter commented Dec 5, 2024

Yes

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

4 participants