I can not upload my app to the playstore console

1

I tried to upload my latest version of my app, but I get an error in the playstore

This is after updating compileSdkVersion to Android-P and bringing Android support dependencies 28.0.0-alpha1

I get this exactly in the playstore

The oradle of the project is as follows

buildscript {
    ext.kotlin_version = '1.2.30'
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:3.2.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven {
            url "https://jitpack.io"                
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

.

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
    compileSdkVersion 'android-P'
    defaultConfig {
        applicationId "miproyecto"
        minSdkVersion 15
        targetSdkVersion 27
        versionCode 22
        versionName "1.1.1"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        vectorDrawables.useSupportLibrary = true
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    dexOptions {
        javaMaxHeapSize "4g"
    }
    buildToolsVersion '27.0.3'
}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
    implementation 'com.android.support:design:28.0.0-alpha1'
    implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
    implementation 'com.android.support:cardview-v7:28.0.0-alpha1'
    implementation 'com.android.support:recyclerview-v7:28.0.0-alpha1'
    implementation 'com.android.support:support-vector-drawable:28.0.0-alpha1'
    implementation 'com.android.support:support-v4:28.0.0-alpha1'
    implementation 'androidx.multidex:multidex:2.0.0'
    implementation 'androidx.multidex:multidex-instrumentation:2.0.0'
    implementation 'org.jetbrains.anko:anko-commons:0.10.3'
    implementation 'org.jetbrains.anko:anko-sdk25:0.10.3'
    implementation 'org.jetbrains.anko:anko-sqlite:0.10.3'
    implementation 'org.jetbrains.anko:anko-appcompat-v7:0.10.3'
    implementation 'org.jetbrains.anko:anko-cardview-v7:0.10.3'
    implementation 'org.jetbrains.anko:anko-coroutines:0.10.3'
    implementation 'com.github.jd-alexander:LikeButton:0.2.3'
    implementation 'com.github.aakira:expandable-layout:1.6.0@aar'
    implementation 'com.github.chrisbanes:PhotoView:2.1.3'
    implementation 'com.github.pchmn:MaterialChipsInput:1.0.8'
    implementation 'com.google.code.gson:gson:2.8.2'
    implementation 'com.google.firebase:firebase-core:16.0.0'
    implementation 'com.google.firebase:firebase-messaging:17.0.0'
    implementation 'com.squareup.retrofit2:retrofit:2.4.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
    implementation 'com.squareup.okhttp3:okhttp:3.10.0'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.ethanhua:skeleton:1.1.0'
    implementation 'io.supercharge:shimmerlayout:2.0.0'
    implementation 'com.miguelcatalan:materialsearchview:1.4.0'
    implementation 'com.synnapps:carouselview:0.1.4'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
apply plugin: 'com.google.gms.google-services'

Maybe it's due to the dependencies that are in alpha? There is some way I can upload it with that oradle or similar, but that does not affect so much since I'm using the design that comes with version 28.

    
asked by Sebastian Peredo Murga 08.06.2018 в 03:09
source

1 answer

0

There are 2 reasons why you can not add an update to an application in the Google Play Store:

  
  • The .APK is signed with a different keystore with which the current published application was signed.
  •   
  • The package (package name) of the application or applicationId is different from what the current application has.
  •   

I notice an important detail, in your file build.gradle you have defined the applicationId "miproyecto"

the applicationId should be the package for your application. Fix it and create the .apk again

    
answered by 08.06.2018 в 17:51