获取的Andr​​oid的.apk文件VERSIONNAME或版本code,而无需安装APK无需安装、版本、文件、Andr

2023-09-04 07:55:58 作者:南城逆流

如何才能让编程。

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="xxx.xx.xxx"
    android:versionCode="1"
    android:versionName="1.1" >

例如我要检查是否有新版本上传到我的IIS服务之后对设备进行安装,如果没有一个新的版本,我不想安装它。

For example I want to check if a new version is uploaded on my IIS service after that install it on device, if not a new version I don't want to install it.

推荐答案

以下为我工作的命令行:

Following worked for me from the command line:

aapt dump badging myapp.apk
 
精彩推荐
图片推荐