React Native(RN)开发遇到错误集合

官方错误解决方案:https://github.com/facebook/react-native/issues

1. SDK找不到:react-native:SDK location not found. Define location with sdk.dir in the local.properties file ...

2. JDK的Tools.jar找不到:react-nativeCould not find tools.jar.Please check that D:\ProgramFile\java\jre8 contains a valid JDk

3.  Module `AccessibilityInfo` does not exist in the Haste module map

4. error: more than one device/emulator 'adb' is not recognized as an internal or external command,

5. error: more than one device/emulator 'adb' is not recognized as an internal or external command,

6. Process 'command 'D:\ProgramFile\Android\androidsdk\build-tools\26.0.3\aapt.exe'' finished with non-zero exit value 1

7. NDK is missing a "platforms" directory. If you are using NDK, verify the ndk.dir is set to a valid NDK directory.

8. error: bundling failed: Error: Unable to resolve module `AccessibilityInfo` from ...Module `AccessibilityInfo` does not exist in the Haste module map

9. 'react-native' 不是内部或外部命令,也不是可运行的程序 或批处理文件。

 

 

你可能感兴趣的:(Android开发,React,Native开发)