0

ERROR:

SyntaxError: Strict mode does not allow function declarations in a lexically nested statement. (http://10.0.2.2:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:24821)

system:

  • win 10 x64
  • android studio 2.2.3
  • AVC Nexus_5x_API_23

I used react-native-cli and react-native run-android the CMD states `BUILD SUCCESSFUL

Total time: 1 mins 10.929 secs Starting the app on emulator-5554 (adb -s emulator-5554 shell am start -n com.albums/.MainActivity)..`

but I get the error above

Error of emulator

codeangler
  • 779
  • 8
  • 16

0 Answers0