为什么Android studio生成的apk文件没有签名?

选择的是
图片说明
这个项

签名正常:

图片说明

版本是发布版本:

图片说明

程序日志:

图片说明

编译日志暂时不知道在哪 也请求大佬指点

app内gradle文件:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "com.xfq.spows"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility = '1.8'
        targetCompatibility = '1.8'
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.preference:preference:1.1.0-rc01'
    implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
    implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0-alpha03'
    testImplementation 'junit:junit:4.13-beta-3'
    androidTestImplementation 'androidx.test:runner:1.3.0-alpha02'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha02'
    implementation 'com.google.android.material:material:1.1.0-alpha09'
    //implementation 'com.google.android.gms:play-services-ads:17.2.0'
}

上传到酷安、腾讯云加固都显示apk未签名

如果还需要别的信息最好私聊我QQ:2996681473

谢谢了

大佬们我发现了 是签名信息不对 国家代码的问题 感谢各位大佬回答

腾讯加固需要二次签名 它所说的签名 不是你apk的签名,而是腾讯的签名。

配置签名文件信息到build.gradle
signingConfigs {
release {
storeFile file("***.***.jks")
storePassword "abc"
keyAlias "abc"
keyPassword "abc"
}
}

release {
minifyEnabled false
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}

你的操作肯定签名了,但腾讯加固时会去掉签名再签名的,需要下载加固的专用软件后在加固选项里勾选自动签名并配置签名数据才能再次签名