美文网首页
ReactNative run-android 报错error:

ReactNative run-android 报错error:

作者: 野小火 | 来源:发表于2017-03-01 23:40 被阅读226次
    :app:incrementalDebugJavaCompilationSafeguard
    :app:compileDebugJavaWithJavac
    :app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
    :app:compileDebugNdk UP-TO-DATE                
    :app:compileDebugSources
    :app:transformClassesWithDexForDebug                 
    Running dex in-process requires build tools 23.0.2.
    For faster builds update this project to use the latest build tools.
    :app:mergeDebugJniLibFolders                         
    :app:transformNative_libsWithMergeJniLibsForDebug                 
    :app:transformNative_libsWithStripDebugSymbolForDebug                 
    :app:processDebugJavaRes UP-TO-DATE
    :app:transformResourcesWithMergeJavaResForDebug
    :app:validateSigningDebug
    :app:packageDebug                 
    :app:assembleDebug
    :app:installDebug                 
    Installing APK 'app-debug.apk' on 'SCH-I959 - 5.0.1' for app:debug
    Installed on 1 device.            
                                      
    BUILD SUCCESSFUL
    
    Total time: 34.224 secs
    Running C:\Users\jijunpeng\Dev\Android\SDK/platform-tools/adb -s 4d005d564f1480ed reverse tcp:8081 tcp:8081
    Starting the app on 4d005d564f1480ed (C:\Users\jijunpeng\Dev\Android\SDK/platform-tools/adb -s 4d005d564f1480ed shell am start -n com.jijunpeng.zentaomobile/.MainActivity)...
    error: unknown host service
    

    将电脑上占用5037端口的程序杀死,然后重新运行react-native run-android即可

    相关文章

      网友评论

          本文标题:ReactNative run-android 报错error:

          本文链接:https://www.haomeiwen.com/subject/wxthgttx.html