Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行./gradlew clean :app:resChiperDebug 命令之后,直接就完成了aab的打包,那我的签名秘钥该如何植入,求大哥告知,纯新人 #9

Open
liujje opened this issue Mar 22, 2024 · 3 comments
Labels
question Further information is requested solved The issue having tag 'solved' are either resolved by the original poster (OP) or by another party.

Comments

@liujje
Copy link

liujje commented Mar 22, 2024

No description provided.

@liujje
Copy link
Author

liujje commented Mar 22, 2024

android {
namespace 'com.dating.test'
compileSdk 33

defaultConfig {
    applicationId "com.dating.test"
    minSdk 20
    targetSdk 33
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
release {
    storeFile file('app.jks')
    storePassword '123456'
    keyPassword '123456'
    keyAlias 'key0'
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        signingConfig signingConfigs.release
    }
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}这样可以吗

@liujje
Copy link
Author

liujje commented Mar 22, 2024

解决了

@goldfish07 goldfish07 added the question Further information is requested label Mar 22, 2024
@goldfish07
Copy link
Owner

android { namespace 'com.dating.test' compileSdk 33

defaultConfig {
    applicationId "com.dating.test"
    minSdk 20
    targetSdk 33
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
release {
    storeFile file('app.jks')
    storePassword '123456'
    keyPassword '123456'
    keyAlias 'key0'
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        signingConfig signingConfigs.release
    }
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}这样可以吗

是的,这是正确的
Yes, this is correct

@goldfish07 goldfish07 added the solved The issue having tag 'solved' are either resolved by the original poster (OP) or by another party. label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested solved The issue having tag 'solved' are either resolved by the original poster (OP) or by another party.
Projects
None yet
Development

No branches or pull requests

2 participants