我正在安装react-native环境以开始开发但是当我运行命令react-native run-android
时出现此错误。
root @ pc:〜/ l3 / s2 / DevMobMultipltm / Wakapp#`
在/ root / l3 / s2 / DevMobMultipltm / Wakapp / node_modules(166ms)中扫描符号链接的文件夹 启动JS服务器...... 在设备上构建和安装应用程序(cd android&& ./gradlew installDebug)... 增量java编译是一个孵化功能。 :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :应用:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE :app:prepareComAndroidSupportSupportV42301Library UP-TO-DATE :app:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library UP-TO-DATE :app:prepareComFacebookFrescoDrawee130Library UP-TO-DATE :app:prepareComFacebookFrescoFbcore130Library UP-TO-DATE :app:prepareComFacebookFrescoFresco130Library UP-TO-DATE :app:prepareComFacebookFrescoImagepipeline130Library UP-TO-DATE :app:prepareComFacebookFrescoImagepipelineBase130Library UP-TO-DATE :app:prepareComFacebookFrescoImagepipelineOkhttp3130Library UP-TO-DATE :app:prepareComFacebookReactReactNative0553Library UP-TO-DATE :app:prepareComFacebookSoloaderSoloader010Library UP-TO-DATE :app:prepareOrgWebkitAndroidJscR174650Library UP-TO-DATE :应用:prepareDebugDependencies :app:compileDebugAidl UP-TO-DATE :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:mergeDebugShaders UP-TO-DATE :app:compileDebugShaders 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:incrementalDebugJavaCompilationSafeguard UP-TO-DATE :app:compileDebugJavaWithJavac UP-TO-DATE :app:compileDebugNdk UP-TO-DATE :app:compileDebugSources UP-TO-DATE :app:transformClassesWithDexForDebug UP-TO-DATE :app:mergeDebugJniLibFolders UP-TO-DATE :app:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE :app:processDebugJavaRes UP-TO-DATE :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE :应用:validateSigningDebug :app:packageDebug UP-TO-DATE :app:assembleDebug UP-TO-DATE :应用:installDebug 01:20:32 E / adb:adb服务器版本(36)与此客户端不匹配(39);杀... 01:20:35 E / adb:*守护进程成功启动 安装APK' app-debug.apk' on'电话(AVD) - 6.0'对于app:debug 安装在1台设备上。
建立成功
总时间:1分钟12.012秒
此版本可能更快,请考虑使用Gradle Daemon:https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html 运行adb -s emulator-5554反向tcp:8081 tcp:8081 在模拟器-5554上启动应用程序(adb -s emulator-5554 shell am start -n com.wakapp / com.wakapp.MainActivity)... 开始:意图{cmp = com.wakapp / .MainActivity}
我认为这是
的水平:app:bundleDebugJsAndAssets SKIPPED
错误 在我的模拟器上: the development server returned response error code 500
有人帮助我提前谢谢!!
注意:我在Linux上。
答案 0 :(得分:0)
错误消息中突出的是以下行:
adb server version (36) doesn't match this client (39); killing...
您的问题似乎与ADB server version (36) doesn't match this client (39)和adb server version doesn't match this client
重复