当我尝试进行应用内购买时,我不断收到此错误。我已经上传了这个应用程序的以前版本,我可以在其中成功进行应用程序内购买!我查看了 list 文件,它是相同的(版本代码除外)——但我无法摆脱这个错误:(
有文档描述如何处理这个吗?我已经尝试了本论坛中建议的所有补救措施,包括: - 确保我构建了一个未签名的 apk 并使用我的发布 key 对其进行了显式签名(是的 - 我已经检查以确保 key /密码准确无误) - 确保启用了正确的权限(自上次成功构建以来未更改此权限
我遗漏了一些微不足道的东西 - 但对于我来说,我想不出是什么!
请帮忙!
下面是我的 list 文件:
<?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>
最佳答案
你说你已经导出了一个签名的应用程序(“发布”版本),所以我能想到的唯一其他可能性是你设备上的发布版本是 higher比“发表”的要好。
关于android - 如何修复 - "This version of the application is not configured for Market Billing"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9425430/