Google Play Uploading new APK file - android

I uploaded an APK for alpha which is version 1.0 and published as alpha. I made some changes in application and want to change the previous apk but it says 1.0 already exists. I tried to upload 1.0.1 but it says the same. What should I do?

old manifist file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.urlconnectionclass"
android:versionCode="1"
android:versionName="1.0.0" >
new manifest file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.urlconnectionclass"
android:versionCode="2"
android:versionName="1.1.0" >
always increse the value of versioncode and versionname while uploding apk of same production

Two important rules from Google:
The Version Code needs to be greater than that current version. Learn more about versioning your applications.
Example:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.package.name"
android:versionCode="2"
android:versionName="1.1">
<application android:icon="#drawable/icon" android:label="#string/app_name">
...
</application>
</manifest>
The updated APK needs to be signed with the same signature as the
current version.
All rules and requirements: Update your apps

You change version in android manifest?

Related

App in Google Play Store (Beta-Test) says "App not compatible with your devices"

i have written an android app with xamarin.android in visual studio and compiled a release build for android 4.1 and higher. testing directly with my devices works without problems.
after building an apk and uploading it in the play store for a beta test, it says: "app not compatible with your devices". i am pretty sure, that my test devices are not the problem. what could it be??
here is my manifest file:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="xxx" android:versionCode="1" android:versionName="1.1" android:installLocation="auto">
<uses-sdk android:minSdkVersion="14" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application android:label="alone" android:icon="#drawable/Icon"></application>
</manifest>
on developer interface it says 10106 supported devices:
any ideas? thanks for your help...
best regards from germany,
steven
I dont use xamarin , but using studio if your gradle hava a different min sdk it will overwrite whatever os on you manifest , check your gradle file .

Change android apk version with appcelerator

when i try to update my alpha release i receive the error that i need to change my apk version. But how can i do that? my android manifest:
<android xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.1">
<manifest>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23"/>
<application>
<activity android:configChanges="keyboardHidden"
android:name="org.appcelerator.titanium.TiActivity" android:screenOrientation="portrait"/>
<activity android:configChanges="keyboardHidden" android:name="ti.modules.titanium.ui.TiTabActivity"/>
</application>
</manifest>
</android>
Ah, you talk about APK version, not about Android SDK. The solution is simple. You need to change the version at a couple places.
Change the version tag with at least the 3rd number (patch) increased
<version>1.0</version>
Can become
<version>1.0.1</version> or <version>1.1</version>
Next, you also need to change the part in the android manifest
<manifest android:versionCode="1"
android:versionName="1.0.1" package="com.example.app"
xmlns:android="http://schemas.android.com/apk/res/android">
Increase version code every time, can be same as version, in my example 101 for example. Or just a build number (1, 2, 3, etc)
Versionname should be the same as the version in the version tag. Also don't forget to put your app ID in the same code ;)
In TiApp.xml add version code and version name to manifest
<manifest android:versionCode="1" android:versionName="1.0">
Google is mainly complaining about version code so check that and increase by one. These settings will override the version of the app specified in the tag for android
Each APK you submit to Google Play must have a unique, incremental build version, which on Android is android:versionCode.
Titanium will use the <version> tag in tiapp.xml to set the release version which on Android is android:versionName.
To set the build version you need to add/use a <manifest> element under the <android> element in tiapp.xml like this:
<android>
<manifest android:versionCode="1">
..
</manifest>
</android>
The 4.1.0 Sample included a Gruntfile.js to easily increment the iOS and Android build versions. It can even bump the major, minor or patch release version for you.
Please read the blog post on versioning your apps with Titanium 4.1.0 and later for more information.
you also have to increment
<version>1.1</version>

How can i import or set a version to my .apk file for recognize upgrading in AppMarkets

i have a question:
How can i import or set a version to my .apk file for recognize upgrading in AppMarkets?
have a good time
You'll find information on versioning your app on this site.
You should declare the version of your app in the manifest file. If it's higher than the one on the android device, it will recognize it as an updated version of your app. This version should be an integer value.
I'm talking about the version code, the versionName is your own choice. the versionCode has to be the integer and incrementing every time you launch an updated version of your app.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.package.name"
android:versionCode="2"
android:versionName="1.1">
<application android:icon="#drawable/icon" android:label="#string/app_name">
...
</application>

Android Error - Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml

I'm trying to upload an App onto the Market Place and i'm getting the following error "Market requires the minSdkVersion to be set to a positive 32-bit integer in AndroidManifest.xml." after i export the signed Application Package using Eclipse. My Manifest File looks like the following:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.recipes"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk minSdkVersion="7"
android:targetSdkVersion="8"/>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
Anyone know why i'm getting this error?
Thanks,
O

minSdkVersion Error when uploading APK to Android Market

When I try uploading the APK to the Android Market, I get this message:
Market requires the minSdkVersion to
be set to a positive 32-bit integer in
AndroidManifest.xml.
But I have defined android:minSdkVersion in my Manifest...
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mkainc.tabwidget"
android:versionCode="7"
android:minSdkVersion="7"
android:versionName="2.1">
...
Your SDK information needs to be contained in a uses-sdk tag:
<uses-sdk android:minSdkVersion="integer"
android:targetSdkVersion="integer"
android:maxSdkVersion="integer" />
See the documentation for details.

Categories

Resources