zoukankan      html  css  js  c++  java
  • weexplus真机调试

    一、连接真机

    
    C:UsersLenovo>adb devices
    List of devices attached
    C9K7N15722004375        device
    
    

    确定连接无误,否则执行weexplus run android会有如下提示

    D:YLKJProportal-app>weexplus run android
     => weexplus run android
    [weexplus] · img 同步!
    [weexplus] · font 同步!
    [weexplus] · file 同步!
    [weexplus] · 同步完毕!
    adb server version (31) doesn't match this client (41); killing...
    could not read ok from ADB Server
    * failed to start daemon
    adb.exe: failed to check server version: cannot connect to daemon
    adb devices failed, please make sure you have adb in your PATH.
    See http://stackoverflow.com/questions/27301960/errorunable-to-locate-adb-within-sdk-in-android-studio
    (node:2288) UnhandledPromiseRejectionWarning: undefined
    (node:2288) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    (node:2288) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    
    

    处理方法点击这里: adb server version (31) doesn’t match this client (41); killing…

    如果提示* daemon not running; starting now at tcp:5037 如下图
    在这里插入图片描述
    参考https://blog.csdn.net/qq_34817440/article/details/100060231

    二、运行weexplus run android

    一切ok后就可以直接,输入weexplus run android 联机测试了

    D:YLKJProportal-app>weexplus run android
     => weexplus run android
    [weexplus] · img 同步!
    [weexplus] · font 同步!
    [weexplus] · file 同步!
    [weexplus] · 同步完毕!
    Starting a Gradle Daemon (subsequent builds will be faster)
    null
    ARMEABI_Size: 1263300
    ARMEABIV7_Size:0
    X86_Size:0
    :app:checkDebugClasspath
    Download https://jcenter.bintray.com/com/tencent/mm/opensdk/wechat-sdk-android-with-mta/maven-metadata.xml
    Download https://jcenter.bintray.com/com/tencent/mm/opensdk/wechat-sdk-android-with-mta/5.4.0/wechat-sdk-android-with-mta-5.4.0.pom
    Download https://jcenter.bintray.com/com/tencent/mm/opensdk/wechat-sdk-android-with-mta/5.4.0/wechat-sdk-android-with-mta-5.4.0.jar
    :app:preBuild UP-TO-DATE
    :farwolf:preBuild UP-TO-DATE
    ......省略..........
    Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
    See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
    
    BUILD SUCCESSFUL in 5m 32s
    165 actionable tasks: 159 executed, 6 up-to-date
    Performing Push Install
    app-debug.apk: 1 file pushed. 8.1 MB/s (67406643 bytes in 7.965s)
            pkg: /data/local/tmp/app-debug.apk
    Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
    Starting: Intent { cmp=com.ylkj.portal/com.farwolf.weex.activity.SplashActivity_ }
    
  • 相关阅读:
    hdu1686 最大匹配次数 KMP
    洛谷 P5057 [CQOI2006]简单题(树状数组)
    洛谷 P5020 货币系统
    洛谷 P5019 铺设道路(差分)
    洛谷 P1119 灾后重建(Floyd)
    洛谷 P1082 同余方程(同余&&exgcd)
    洛谷 P2384 最短路
    洛谷 P3371 【模板】单源最短路径(弱化版) && dijkstra模板
    洛谷 P1387 最大正方形
    洛谷 P2866 [USACO06NOV]糟糕的一天Bad Hair Day
  • 原文地址:https://www.cnblogs.com/dengxiaoning/p/11681259.html
Copyright © 2011-2022 走看看