Comments (5)
@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.
@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.
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.
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:+
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.
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)
- "is not annotated as @Input" simlink on macOS android
- Build fails for typescript target in Windows HOT 2
- latest 0.34.1 fails to create a Native module on Linux : blocking HOT 2
- React Native Vector Icon is Not working HOT 1
- EMFILE error HOT 1
- Example iOS fails to build HOT 10
- Parsing error: Cannot find module '@react-native/babel-preset' HOT 5
- npm pack issue HOT 2
- Error while installing pods with swift library HOT 2
- Error during build-ios workflow action HOT 1
- Error when trying to run on ios HOT 1
- No Xcode project in native module library HOT 2
- Backwards compat "package doesn't seem to be linked" in "old arch" app HOT 2
- Cannot install a Android library which is deployed in Github Packages. HOT 5
- Error exposing view ios HOT 1
- React Native Gradle Plugin Shouldn't only be for New Architecture HOT 7
- View can't receive touch down event: Got DOWN touch before receiving UP or CANCEL from last gesture HOT 1
- Remove Typescript warnings and use cascading tsconfigs or cli switches instead HOT 3
- Not able to install the packages inside react native example app.
- Build iOS - Turbo Module with Backward Compatibility - Fails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-builder-bob.