The APK file or Android app bundle must be signed with a certificate for now

Issue

This Content is from Stack Overflow. Question asked by Nedaal Aed

You’ve uploaded an APK file or Android App Bundle, one of which is signed with an invalid certificate yet. The APK file or Android App Bundle must be signed with a certificate that is currently valid. Learn more about signing files or packages
It’s been two days and I’ve been trying to upload the app to Google Play but the message is still the same
I have removed and reinstalled Android Studio
I cleaned the project several times and rebuilt it
And changed the package name
I still get the same message

android {
    compileSdkVersion 32
    defaultConfig {
        applicationId "com.chat.aarabicc"
        minSdkVersion 29
        targetSdkVersion 32
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?