Skip to content

Unable to create an app with React native latest version 0.60.5, welcome screen is not coming. #26353

Closed
@akhter004

Description

I am creating an app using react native CLI using USB mode (android device) but welcome screen is not coming white screen is appearing in my device screen.

React Native version:
OS: Linux 4.15 Ubuntu 18.04.2 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 7.69 GB / 15.56 GB
Shell: 5.4.2 - /usr/bin/zsh
Binaries:
Node: 8.10.0 - /usr/bin/node
npm: 6.9.0 - /usr/local/bin/npm
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
npmGlobalPackages:
create-react-native-app: 2.0.2
react-native-cli: 2.0.1
node - v8.10.0

Steps To Reproduce

  1. I have installed Sdk as per the steps mention the fb doc
  2. Install Android Debug Bridge (adb)-
    sudo apt-get install android-tools-adb android-tools-fastboot
    3.Start Android Debug Bridge (adb)-
    sudo adb start-server
    sudo adb kill-server
    4.Install react native cli-
    sudo npm install -g react-native-cli
    5.Create project directory-
    sudo react-native init
  3. Set “SDK location" inside /home///android/local.properties
    7.Run React Native application
    cd
    run -- sudo react-native run-android
    sudo react-native start
    8.Using remote javascript debugging console log -
    1 - enable debug JS remotely from developer tools
    http://localhost:8081/debugger-ui/

**When i reload the app screen then the white screen is appearing. even Loading dependency graph, done.
BUNDLE [android, dev] ./index.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (563/563), done.
**

Describe what you expected to happen:

The welcome screen is not coming.

Screenshot from 2019-09-06 08-22-18
Screenshot from 2019-09-06 08-22-39

Please help me. what i am doing in wrong way the big prob is with only latest version same above steps work for 0.59 version.

Screenshot from 2019-09-06 08-47-25

After this screen i run sudo react-native start

Screenshot from 2019-09-06 08-48-07

Metadata

Assignees

No one assigned

    Labels

    BugPlatform: LinuxBuilding on Linux.StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions