zoukankan      html  css  js  c++  java
  • 〖Android〗查找Android中的/system/lib中增加的lib文件是否在apk文件中

    #!/bin/bash - 
    #===============================================================================
    #
    #          FILE: fin.sh
    # 
    #         USAGE: ./fin.sh 
    # 
    #   DESCRIPTION: 
    # 
    #       OPTIONS: ---
    #  REQUIREMENTS: ---
    #          BUGS: ---
    #         NOTES: ---
    #        AUTHOR: linkscue (scue), linkscue@gmail.com
    #  ORGANIZATION: 
    #       CREATED: 2013年08月22日 18时45分16秒 HKT
    #      REVISION:  ---
    #===============================================================================
    
    add_lib_lists=/media/Source/cm10.1/device/lenovo/stuttgart/tmp/0807_only_libs.txt
    find_apk_libs(){
        for n in $(ls *.apk);do
            lib="$1"
            ret=$(unzip -l $n | grep $lib)
            if [[ "$ret" != "" ]]; then
                echo ">>> $lib in the $n"
            fi
        done
    }
    for n in $(cat $add_lib_lists); do 
        find_apk_libs $n 2> /dev/null 
    done
  • 相关阅读:
    继承和多态
    访问限制
    返回函数
    类和实例
    requests
    函数的参数
    代码块的快速放置
    19进阶、基于TSP的直流电机控制设计
    18进阶、TLC语言
    17高级、Simulink代码生成技术详解
  • 原文地址:https://www.cnblogs.com/scue/p/3275721.html
Copyright © 2011-2022 走看看