错误:
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)
系统:
-
赢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)..
但我得到上面的错误