1.
Execution failed for task ':app:processDebugResources'.
java.io.IOException: Could not delete path 'E:RNdemoandroidappuildgeneratedsource debugcomcboy n'.
解决办法:
cd android && gradlew clean
cd .. && react-native run-android
https://stackoverflow.com/questions/35674066/errorexecution-failed-for-task-appprocessdebugresources-java-io-ioexcept
2.
Exception while parsing the supplied manifest file E:RNdemoandroidappsrcmainAndroidManifest.xml
> 与元素类型 "uses-permission" 相关联的属性 "Android:name" 的前缀 "Android" 未绑定。
解决办法
Android改写为android
3.
Execution failed for task ':app:installDebug'.
> com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_
FAILED_UPDATE_INCOMPATIBLE: Package com.demo signatures do not match the previously installed version; ignoring!
解决办法
卸载手机或者模拟器的版本,正式版和debug版本不能同时在手机上展示。