React-Native run-android报错以及adb 命令不识别
来源:互联网 发布:Java编程思想豆瓣 编辑:程序博客网 时间:2024/05/18 02:53
在遇到adb 命令不识别,或者genymotion的模拟器不识别,找不到的问题。都是genymotion配置的不正确。
打开genymotion的adb设置,androidSDK的配置选择自己下载的androidsdk,而不是genymotion默认的选项就可以解决了。
如下是我遇到的错误:
S server already running.Building and installing the app on the device (cd android && ./gradlew installDebug)...:app:preBuild UP-TO-DATE:app:preDebugBuild UP-TO-DATE:app:checkDebugManifest:app:preReleaseBuild UP-TO-DATE:app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE:app:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE:app:prepareComAndroidSupportSupportV42301Library UP-TO-DATE:app:prepareComFacebookFrescoDrawee081Library UP-TO-DATE:app:prepareComFacebookFrescoFbcore081Library UP-TO-DATE:app:prepareComFacebookFrescoFresco081Library UP-TO-DATE:app:prepareComFacebookFrescoImagepipeline081Library UP-TO-DATE:app:prepareComFacebookFrescoImagepipelineOkhttp081Library UP-TO-DATE:app:prepareComFacebookReactReactNative0222Library UP-TO-DATE:app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE:app:prepareDebugDependencies:app:compileDebugAidl UP-TO-DATE:app:compileDebugRenderscript UP-TO-DATE:app:generateDebugBuildConfig UP-TO-DATE:app:generateDebugAssets UP-TO-DATE:app:mergeDebugAssets UP-TO-DATE:app:generateDebugResValues UP-TO-DATE:app:generateDebugResources UP-TO-DATE:app:mergeDebugResources UP-TO-DATE:app:bundleDebugJsAndAssets SKIPPED:app:processDebugManifest UP-TO-DATE:app:processDebugResources UP-TO-DATE:app:generateDebugSources UP-TO-DATE:app:processDebugJavaRes UP-TO-DATE:app:compileDebugJavaWithJavac UP-TO-DATE:app:compileDebugNdk UP-TO-DATE:app:compileDebugSources UP-TO-DATE:app:preDexDebug UP-TO-DATE:app:dexDebug UP-TO-DATE:app:validateDebugSigning:app:packageDebug UP-TO-DATE:app:zipalignDebug UP-TO-DATE:app:assembleDebug UP-TO-DATE:app:installDebug FAILEDFAILURE: Build failed with an exception.What went wrong:Execution failed for task ':app:installDebug'.com.android.builder.testing.api.DeviceException: No connected devices!Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.BUILD FAILEDTotal time: 15.174 secsCould not install the app on the device, read the error above for details.Make sure you have an Android emulator running or a device connected and haveset up your Android development environment:https://facebook.github.io/react-native/docs/android-setup.html
2 0
- React-Native run-android报错以及adb 命令不识别
- react-native run-android报错了
- react-native run-android 报错
- 关于初次搭建环境第一次运行react-native run-android命令报错问题
- 解决react-native run-android报DeviceException Could not create ADB Bridge错误
- react-native run-adnroid报错
- react-native run-ios报错
- ubuntu react-native run-android 报watchman的错误
- 解决react-native run-android 的时候报错connection time out
- react-native run-android报错A problem occurred configuring project ':app'. > SDK location not found
- react-native run-ios 报错 No bundle url present
- react-native run-android error
- react-native run-android 慢
- react-native run-android 慢
- react-native---配置reactnative报红,run-Android时候报错unable to load script from assets 'index.android.bundl
- react-native开发:运行react-native run-ios报错--Print: Entry, ":CFBundleIdentifier", Does Not Exist
- react-native android编译报错
- react-native run-android 找不到模拟器
- Linux下安装RabbitMQ
- jQuery.validate使用手册,详解
- 编译器的工作过程
- 1014 of greedy strategy
- 15电气郄慧敏vb作业4VB中数字的交换
- React-Native run-android报错以及adb 命令不识别
- Java经典设计模式(2):七大结构型模式(附实例和详解)
- 二分查找【模板】
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED解决方法
- 左侧ListView,右侧联动ListView,且右侧中ListView中嵌套GridView
- Android中Service与Activity的有关于进程与线程的问题
- IOS面试题一
- 蓝牙模块HC_05、HC_06配置
- iOS 声明属性关键字