Giter Site home page Giter Site logo

Comments (5)

blabno avatar blabno commented on June 11, 2024 8

@atlj Interesting, I would never guess that in order to develop the plugin I have to open the example/android, but it works.
Thank you.

from react-native-builder-bob.

atlj avatar atlj commented on June 11, 2024 1

@Andersonfrfilho, assuming my older comment would fix your problem, I'm closing this issue. Please reopen it if it doesn't work for you.

from react-native-builder-bob.

atlj avatar atlj commented on June 11, 2024

Hey, could you provide more details about the steps you took?

Which project have you opened on Android Studio?
What is the full error?
Seems like the steps are not too specific, so could you provide a reproducible repository?

from react-native-builder-bob.

blabno avatar blabno commented on June 11, 2024

I'm also having this issue. When you generate the plugin project structure with create-react-native-library and open android folder in Android Studio then it tries to sync gradle project and ends up with the error

Failed to resolve: com.facebook.react:react-native:+

image

Also as you can notice no react native class is detected by AndroidStudio:

import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.module.annotations.ReactModule;

All of the above imports are in red.

from react-native-builder-bob.

atlj avatar atlj commented on June 11, 2024

Hey @blabno, could you try to open example/android instead of /android on Android Studio? You can see the CONTRIBUTING.md that's generated with your project for details.

from react-native-builder-bob.

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.