How to fix - "This version of the application is not configured for billing in the market"?

I keep getting this error when I try to make an in-app purchase. I downloaded the previous version of this application, where I was able to successfully make in-app purchases! I looked at the manifest file and it is identical (except for the version code), but I can not get rid of this error: (

Is there a document describing how to handle this? I tried all the tools offered on this forum, including: - make sure I build unsigned apk and explicitly sign it using the release key (yes - I checked to make sure the key / password is accurate) - make sure allowed (havent changed this since the last successful build

I miss something trivial, but for life I can’t understand that!

Please, help!

Here is my manifest file below:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.foo.bar"
    android:versionName="1.4" android:versionCode="18">

    <uses-sdk android:minSdkVersion="9" 
          android:targetSdkVersion="9" />

    <uses-permission android:name="android.permission.WAKE_LOCK" >
    </uses-permission>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" >
    </uses-permission>
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.INTERNET" >
    </uses-permission>
    <uses-permission android:name="com.android.vending.BILLING" />

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true" />

    <application
        android:debuggable="false"
        android:icon="@drawable/video"
        android:label="@string/app_name" >
        <activity android:name="com.inappbilling.InappActivity" />
        <activity
            android:configChanges="orientation"
            android:label="@string/app_name"
            android:name=".SplashActivity"
            android:screenOrientation="landscape"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".Favorites"
            android:screenOrientation="landscape"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
        </activity>
        <activity
            android:name=".PlayVideo"
            android:screenOrientation="landscape"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
        </activity>
        <activity
            android:name=".Featured"
            android:screenOrientation="landscape"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
        </activity>
        <activity
            android:name=".FacebookLike"
            android:screenOrientation="landscape"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
        </activity>

        <service android:name="com.inappbilling.BillingService" />

        <receiver android:name="com.inappbilling.BillingReceiver" >
            <intent-filter >
                <action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
                <action android:name="com.android.vending.billing.RESPONSE_CODE" />
                <action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
            </intent-filter>
        </receiver>
    </application>

</manifest>
+5
source share
7 answers

You say that you have already exported a signed application (version "release"), so the only possibility I can think of is that the release version on your device is higher than the one that was published.

+10
source

I had this error and I tried various suggestions from other posts on this topic, but no one worked.

In the end, I found that it was caused by my debugger using a different key for the APK that I uploaded to Google Play.

I used default debug.keystore, which expires in a year.

debug.keystore, ( Google Play, ).

APK bin ( debug.keystore).

Windows 7 debug.keystore ( debug.keystore):

C:\Users\MyUserName\.android>"C:\Program Files\Java\jdk1.6.0\bin"\keytool.exe -genkey -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg RSA -validity 21900

keytool.exe , .

+8

PLease , , .

:

:

+3

, , . - APK .

+1

IDe (Eclipse)

Apk, Android

, , . Eclipse, , ,

0

, ( ), Debug.apk. , .apk , .apk, , .apk in-app

0

In-App-Billing.

  • When you download apk release (regardless of Alpha / Beta / Production), IAB will not work right away, you will have to wait a few hours before it can work.

  • Downloading a new apk version (higher version) will also be the same. You will have to wait a few hours for it to work eventually. The old version with IAB will still work. What I usually do is download my apk version as a beta, wait a few hours, and then when it is already working, push the apk to production.

0
source

All Articles