Giter Site home page Giter Site logo

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified. about clipboard HOT 7 OPEN

tapz avatar tapz commented on June 2, 2024 6
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. Namespace not specified.

from clipboard.

Comments (7)

Kinqdos avatar Kinqdos commented on June 2, 2024 1

Doesnt works for me. Can someone just add a namespace to the build.gradle?

from clipboard.

Aymkdn avatar Aymkdn commented on June 2, 2024 1

Same issue here. Any solution?

from clipboard.

sten-nico avatar sten-nico commented on June 2, 2024

I got the same issue :(

from clipboard.

tapz avatar tapz commented on June 2, 2024

Downgrading to Gradle wrapper 8.2.1 helped. 8.3 does not seem to work with React Native.

from clipboard.

grant-devon avatar grant-devon commented on June 2, 2024

I have the same issue

from clipboard.

littlefrogyq avatar littlefrogyq commented on June 2, 2024

I had the same problem when I import opencv module.
Then I add some code to the build.gradle(opencv) file, and my problem solved:

android {
namespace 'com.example.mytestapp' // added
compileSdk 34
...

from clipboard.

eisodev avatar eisodev commented on June 2, 2024

This comes up when upgrading Android Gradle Plugin to >= 8.

Updating the package to try to solve this will add two new peerDependencies from 1.14.0:
"react-native-macos": "^0.73.0",
"react-native-windows": "^0.73.0"

Why do I need to install these two when they are not used? I don't develop for windows.
And this change is breaking too, and there is no mentions/docs for the new version.

from clipboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.