Skip to content

run app on a device is throwing an error index.android.js not found #14828

Closed
@Mirodil

Description

@Mirodil

Is this a bug report?

yes

Have you read the Bugs section of the Contributing to React Native Guide?

yes

Environment

MacOS

  1. react-native -v: react-native-cli: 2.0.1 react-native: 0.45.1
  2. node -v: v7.10.0
  3. npm -v: 4.2.0
  4. yarn --version (if you use Yarn): 0.27.5

Then, specify:

  1. Target Platform (e.g. iOS, Android): Android
  2. Development Operating System (e.g. macOS Sierra, Windows 10): MacOS
  3. Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant):

Steps to Reproduce

(Write your steps here:)

  1. run create-react-native-app AwesomeProject
  2. run react-native run-android
  3. then you can see this error

Expected Behavior

I hope it will work

Actual Behavior

error cannot found index.android.js or index.ios.js
photo_2017-07-04_16-55-21

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

I have tried solution from: #3442, #5174, #14246 did not work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions