Open lanjinli opened 5 years ago
启动 AndroidStudio,在logcat里面看一下异常信息。我的是这个错误: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/conn/scheme/SchemeRegistry。
然后查了一下,发现新版本Android SDK里面,默认禁用了 Apache HTTP库,在AndroidManifest.xml文件的 <uses-library android:name="org.apache.http.legacy" android:required="false"/>
react-native-cli: 2.0.1 react-native: 0.55.4
react-native link react-native-qq APP启动闪退