react-native-navigation
react-native-navigation copied to clipboard
Execution failed for task ':app:compileDebugJavaWithJavac'.
🐛 Bug Report
yarn android failed
To Reproduce
(Write your steps here:)
-
npx react-native init rnnstudy --template react-native-template-typescript -
yarn add react-native-navigation -
npx rnn-link - 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'
}
}
]
}
}
});
});
-
yarn android
Actual Behavior
Execution failed for task ':app:compileDebugJavaWithJavac'.
Your Environment
- React Native Navigation version: ^7.27.1
- React Native version: 0.68.2
- Platform(s) (iOS, Android, or both?): Android
same bug
"react-native-navigation": "^7.27.1"
same bug with version 7.28.0
any help ?
