- for /f tokens^=1-3^ delims^=^' %i in ('.\SDK\aapt2\aapt2.exe dump badging .\bak\cn.xiaochuankeji.tieba.apk') do echo %i
复制代码 结果
D:\android\【ADB】ALL>echo package: name=
package: name=
D:\android\【ADB】ALL>echo sdkVersion:
sdkVersion:
原内容
.\SDK\aapt2\aapt2.exe dump badging .\bak\cn.xiaochuankeji.tieba.apk
package: name='cn.xiaochuankeji.tieba' versionCode='501000' versionName='5.1.0' platformBuildVersionName='9' platformBuildVersionCode='28' compileSdkVersion='28' compileSdkVersionCodename='9'
sdkVersion:'16'
targetSdkVersion:'27' |