Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
692 views
in Technique[技术] by (71.8m points)

apk 反编译后 versionCode 为什么和编译前的不一样?

编译前的:

// build.gradle
    defaultConfig {
        applicationId "***.***"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 2
        versionName "1.0.0"
        multiDexEnabled true
    }

反编译后的:

// apktool.yml

versionInfo:
  versionCode: '1048578'
  versionName: 1.0.0

为什么编译前的 versionCode 2,反编译后变成了 versionCode: '1048578' 呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...