akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.19k stars 952 forks source link

Creating a new project fails reactnative cli #1787

Closed techUdayMungalpara closed 8 months ago

techUdayMungalpara commented 8 months ago

🐛 Bug Report

npx @react-native-community/cli doctor

Steps to reproduce the behavior:

~/Desktop/react native/01$ npx @react-native-community/cli doctor
⠧ Running diagnostics...
info Detected that command has been run outside of React Native project, running basic healthchecks.
Common
 ✓ Node.js - Required to execute JavaScript code
 ✓ yarn - Required to install NPM dependencies
 ✓ npm - Required to install NPM dependencies

Android
 ✓ Adb - Required to verify if the android device is attached correctly
###  ✖ JDK - Required to compile Java code
   - ### Version found: 11.0.20.1
   - Version supported: >= 17 <= 20
 ✓ Android Studio - Required for building and installing your app on Android
 ✓ ANDROID_HOME - Environment variable that points to your Android SDK installation

Errors:   1
Warnings: 0

as per react native offical documentaion React Native currently recommends version 11 of the Java SE Development Kit

react native documentaion

Link to runnable example or repository (highly encouraged)

Environment information

  System:
    OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
    Memory: 2.14 GB / 7.49 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.8.0 - /snap/node/7844/bin/node
    Yarn: 1.22.19 - /snap/node/7844/bin/yarn
    npm: 10.1.0 - /snap/node/7844/bin/npm
  Managers:
    Apt: 2.4.10 - /usr/bin/apt
  IDEs:
    Android Studio: AI-223.8836.35.2231.10811636
    Nano: 6.2 - /usr/bin/nano
    VSCode: 1.83.1 - /usr/bin/code
  Languages:
    Bash: 5.1.16 - /usr/bin/bash
    Java: 11.0.20.1 - /usr/bin/javac
    Perl: 5.34.0 - /usr/bin/perl
    Python3: 3.10.12 - /usr/bin/python3
  Databases:
    SQLite: 3.42.0 - /home/uday/Android/Sdk/platform-tools/sqlite3
  Browsers:
    Chrome: 118.0.5993.117

Yesterday i created one project with react native cli work fine and if open that project still work fine but getting error with new project