Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play Store having new version of the app, but not showing update

I have my app installed in my cell with version 1.0.5 ( Version code 9)

In Google Play Store, I can see my app with version 1.0.7 ( Version code 11 ), but it doesn't show me the button update ( it is showing me the button "Open")

Is it something I have to include in my app???

Is it a bug in Play Store???

Is it a configuration problem???

I join my AndroidManifest.xml

<uses-sdk     android:minSdkVersion="16"     android:targetSdkVersion="20" />  <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="com.spg.googlemaps.permission.MAPS_RECEIVE" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" />  <!-- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.BATTERY_STATS" /> --> <uses-feature     android:name="android.hardware.camera"     android:required="true" /> <uses-feature     android:name="android.hardware.camera.front"     android:required="false" />  <permission     android:name="com.spg.googlemaps.permission.MAPS_RECEIVE"     android:protectionLevel="signature" />  <uses-feature     android:glEsVersion="0x00020000"     android:required="true" />  <application     android:name="com.myapp.MyApplication"     android:allowBackup="true"     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:logo="@drawable/ic_logo"     android:theme="@style/Theme.AppCompat" >     <uses-library android:name="com.google.android.maps" />      <meta-data         android:name="com.google.android.gms.version"         android:value="@integer/google_play_services_version" />      <activity         android:name="com.myapp.SplashScreen"         android:label="@string/app_name"         android:noHistory="true"         android:screenOrientation="portrait"         android:theme="@android:style/Theme.Black.NoTitleBar" >         <intent-filter>             <action android:name="android.intent.action.MAIN" />              <category android:name="android.intent.category.LAUNCHER" />         </intent-filter>     </activity>     <activity         android:name="com.myapp.LoginActivity"         android:label="@string/title_activity_login"         android:noHistory="true"         android:screenOrientation="portrait"         android:windowSoftInputMode="adjustResize|stateVisible" >     </activity>     <activity         android:name="com.myapp.DashBoard"         android:label="@string/app_name"         android:screenOrientation="portrait" >     </activity>     <activity         android:name="com.myapp.FragmentTabsPdv"         android:label="@string/app_name"         android:screenOrientation="portrait" >         <meta-data             android:name="android.support.PARENT_ACTIVITY"             android:value="com.myapp.DashBoard" />     </activity>      <meta-data         android:name="com.google.android.maps.v2.API_KEY"         android:value="@string/maps_key" />      <activity         android:name="com.myapp.RutaActivity"         android:label="@string/title_activity_ruta"         android:screenOrientation="portrait" >         <meta-data             android:name="android.support.PARENT_ACTIVITY"             android:value="com.myapp.FragmentTabsPdv" />     </activity>     <activity         android:name="com.myapp.BaseActivity"         android:label="@string/title_activity_base"         android:screenOrientation="portrait" >     </activity>     <activity         android:name="com.myapp.SettingsActivity"         android:label="@string/title_activity_settings"         android:screenOrientation="portrait" >         <meta-data             android:name="android.support.PARENT_ACTIVITY"             android:value="com.myapp.DashBoard" />     </activity>     <activity         android:name="com.myapp.InformacionPdvActivity"         android:label="@string/infoPdv"         android:screenOrientation="portrait" >         <meta-data             android:name="android.support.PARENT_ACTIVITY"             android:value="com.myapp.RutaActivity" />     </activity>      <receiver android:name="com.myapp.BaseActivity$NetworkChangeReceiver" >         <intent-filter>             <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />         </intent-filter>     </receiver>      <activity         android:name="com.myapp.MetricaTabs"         android:label="@string/title_activity_metrica_tabs"         android:screenOrientation="portrait"         android:windowSoftInputMode="adjustPan" >         <meta-data             android:name="android.support.PARENT_ACTIVITY"             android:value="com.myapp.RutaActivity" />     </activity>      <meta-data         android:name="com.crashlytics.ApiKey"         android:value="7d80161d908dd5424f232598dba254c7d2a43307" />      <activity         android:name="com.myapp.SendMessageActivity"         android:label="@string/title_activity_send_message" >     </activity> </application> 

like image 941
Juliatzin Avatar asked Nov 19 '14 15:11

Juliatzin


People also ask

Why is app not getting updated?

The first step is to reboot your device. Open the Google Play Store and try updating or downloading apps again. In case the issue persists, make sure to clear the locally-stored data from the Google Play Store. The Play Store has cached data like any other Android app and the data might be corrupt.


1 Answers

Make sure the app you have installed in your mobile is not an apk built with debug keystore. The play store will show always as "Open" button instead of "Update" if the play store app certificate doesn't match with the installed app certificate. I realized this when I did trial and error with debug and signed apk's only signed apk worked. And always use versionCode for comparing versions instead of versionName.

like image 200
Amit Tumkur Avatar answered Sep 21 '22 15:09

Amit Tumkur