Android模拟器错误消息,从react-native-cli运行React Native演示

时间:2016-12-12 04:55:29

标签: android react-native android-studio-2.2 react-native-cli

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)

系统:

  • win 10 x64
  • android studio 2.2.3
  • AVC Nexus_5x_API_23

我使用 react-native-cli react-native run-android CMD声明`BUILD SUCCESSFUL

总时间:1分钟10.929秒 在模拟器-5554上启动应用程序(adb -s emulator-5554 shell am start -n com.albums / .MainActivity)..`

但我得到上面的错误

Error of emulator

0 个答案:

没有答案