wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.03k stars 2.67k forks source link

Execution failed for task ':app:compileDebugJavaWithJavac'. #7526

Open 1adybug opened 2 years ago

1adybug commented 2 years ago

🐛 Bug Report

yarn android failed

To Reproduce

(Write your steps here:)

  1. npx react-native init rnnstudy --template react-native-template-typescript
  2. yarn add react-native-navigation
  3. npx rnn-link
  4. change index.js
    import { Navigation } from "react-native-navigation";
    import App from "./App";
    Navigation.registerComponent('com.myApp.WelcomeScreen', () => App);
    Navigation.events().registerAppLaunchedListener(() => {
    Navigation.setRoot({
        root: {
            stack: {
                children: [
                    {
                        component: {
                            name: 'com.myApp.WelcomeScreen'
                        }
                    }
                ]
            }
        }
    });
    });
  5. yarn android

Actual Behavior

Execution failed for task ':app:compileDebugJavaWithJavac'.

O2DUmR.png

Your Environment

huseyiniriss commented 2 years ago

same bug "react-native-navigation": "^7.27.1"

razsar commented 2 years ago

same bug with version 7.28.0

tukaAlalami commented 1 year ago

any help ?