美文网首页
快捷命令积累

快捷命令积累

作者: Guoke24 | 来源:发表于2018-11-07 21:31 被阅读0次
    • adb logcat | grep "Adding activity ActivityRecord"

    • 查看启动了Activity和app包名

    • 编译时,删除系统模块:service 的缓存文件:

    rm -rf 
    out/target/common/obj/JAVA_LIBRARIES/services_intermediates/ 
    out/target/product/tpw8735b_t3h/obj/JAVA_LIBRARIES/services_intermediates/
    
    • 编译时,删除app:systemservice 的缓存文件:
    rm -rf out/target/common/obj/APPS/systemservices_intermediates out/target/product/tpw8735b_t3h/obj/APPS/systemservices_intermediates
    

    编差分包:

    ./compile.sh mk-update Z505LBA_TOPODM_SQB_TOP_V1.1.8_userdebug/full_tpw8735b_t3h-target_files-1540369935.zip Z505LBA_TOPODM_SQB_TOP_V1.1.9_userdebug/full_tpw8735b_t3h-target_files-1540372842.zip V1.1.8-1.1.9_update.zip
    

    查看安装包
    adb shell pm list package -f |grep com.topwise.kdbpay

    启动安装包
    adb shell

    tpw8735b_t3h:/ $ pm list package -f |grep com.basewin.store
    package:/system/priv-app/smartappstore/smartappstore.apk=com.basewin.store

    tpw8735b_t3h:/ $ aapt dump badging /system/priv-app/smartappstore/smartappstore.apk|grep launchable-activity
    launchable-activity: name='com.basewin.store.ui.MainActivity' label='' icon=''

    tpw8735b_t3h:/ $ am start -n com.basewin.store/com.basewin.store.ui.MainActivity
    Starting: Intent { cmp=com.basewin.store/.ui.MainActivity }

    相关文章

      网友评论

          本文标题:快捷命令积累

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