【发布时间】:2013-07-08 19:15:23
【问题描述】:
出于某种原因,我可以编译我的 android 应用程序并将 .APK 文件通过电子邮件发送给自己并安装它。因此,我将我的应用程序提交到了 Google Play 市场。现在,出于某种原因,Google Play 商店显示“此项目与您的设备不兼容。”。如果我实际上可以通过 .APK 安装到我的手机,为什么会这样说?我必须怎么做才能告诉 Google Play 该应用确实与我的设备兼容?
我的一些朋友通过 google play 商店安装我的应用程序没有问题。但是其他一些人也有和我一样的问题,他们可以通过我的 .APK 文件安装,但不能通过 google play store。
我做错了什么?
清单文件如下:
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="17" />
<uses-feature
android:name="android.hardware.sip.voip"
android:required="true" />
<uses-feature
android:name="android.hardware.wifi"
android:required="true" />
<uses-feature
android:name="android.hardware.microphone"
android:required="true" />
<uses-permission android:name="android.permission.USE_SIP" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<application
android:allowBackup="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme" >
<activity
android:name="com.hello20.controller.MainActivity"
android:label="@string/app_name"
android:launchMode="singleInstance" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.hello20.controller.EventListing"
android:label="@string/title_activity_event_listing"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.hello20.controller.Conference"
android:label="@string/title_activity_conference"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.hello20.controller.ConferenceSignin"
android:label="@string/title_activity_conference_signin"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.hello20.controller.Etiquette"
android:label="@string/title_activity_etiquette"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.hello20.controller.MakeCall"
android:label="@string/title_activity_make_call"
android:screenOrientation="portrait" >
</activity>
<receiver
android:name="com.hello20.library.IncomingCallReceiver"
android:label="Call Receiver" >
</receiver>
<activity
android:name="com.hello20.controller.CallScreen"
android:label="@string/title_activity_call_screen"
android:screenOrientation="portrait" >
</activity>
<activity
android:name="com.hello20.controller.CallHistory"
android:label="@string/title_activity_call_history" >
</activity>
<activity
android:name="com.hello20.controller.WebViewer"
android:label="@string/title_activity_web_viewer" >
</activity>
</application>
更新
这是应用程序的链接:
如您所见,什么都没有启用……我们至少不适合我。我的帐户有四台设备可用。它们如下:
- 银河 S3:4.2.2
- Galaxy Tab 10.1:4.1.2(我认为)
- Galaxy Tab 7 第一版:4.2.2
- Galaxy S2 LTE:4.x.x。 (不知道,因为是我老婆)
附加说明
当我们从清单文件中删除所有uses-feature 元素,编译并上传时,所有设备都支持该应用程序。如果即使 uses-feature 元素之一在清单文件中,则任何设备都不支持它。那么在清单文件中使用uses-feature 元素的正确方法是什么?
【问题讨论】:
-
你有什么设备?
-
我的设备是 Galaxy Note 贝尔三星 SGH-I717R
-
我做错了什么? - 你忘了向我们提供任何细节。您不能指望我们猜测清单的内容、您发布应用程序时的任何应用程序设置以及您的设备型号。
-
如果没有必要,您是否尝试过降低最低 SDK?
-
我们需要那个版本的 SDK。我不记得哪个权限或代码需要它。无论哪种方式,我都在 S3 上运行 4.2.2。我已经多次部署到我的手机,并且我已经部署到运行 4.1.2 的 Galaxy Tab 10.1(我认为)。两者都成功了,但在应用商店中什么也没有显示。
标签: android google-play