Get application version name using adb

后端 未结 5 1996
一整个雨季
一整个雨季 2021-01-30 02:20

Is there an easy way to get the version name of an application on an Android device using adb shell?

I found the application version number (not the version name) in /d

5条回答
  •  北海茫月
    2021-01-30 02:51

    If you don't want install *.apk on device but you need get version of app, you can do it as follow

    $ANDROID_HOME/build-tools/28.0.3/aapt dump badging app/build/outputs/apk/app.app
    

提交回复
热议问题