这真让我紧张.我尝试了一切让我的应用程序在一些更奇特的标签上工作!
现在已经发布了一个测试应用程序(只是一个没有别的eclipse安卓项目)来尝试不同的清单设置.但是,我无法让我的应用程序在Android Market的标签页上运行.它可以直接在设备上进行调试.
我测试的内容:Android 2.2 Android 2.3
补充一下:
<uses-feature
android:name="android.hardware.bluetooth"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-feature
android:name="android.hardware.wifi"
android:required="false" />
<uses-feature
android:name="android.hardware.microphone"
android:required="false" />
Run Code Online (Sandbox Code Playgroud)
试过这个:
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity = "true"/>
Run Code Online (Sandbox Code Playgroud)
然后是所有这些的所有组合.我在此测试应用中没有使用权限.
我没有得到的奇怪的事情是一些应用程序工作,我似乎无法找到他们工作的原因,而不是其他一些.我有不同的设备,我使用网站兼容性检查和他们刚刚工作的一些应用程序,有些则没有.
我想知道的是,为什么某个应用与该特定设备的Android电子市场不兼容.有没有办法把这些信息拿出来?我想这应该是找到的地方,因为它有时有效,有时不适用.
请帮我找到解决这个问题的方法.
(我不是在设备上寻找变通方法/ root,已经在某些设备上完成了这个以使应用程序正常工作.我想知道原因)
----编辑----我现在为我的测试应用找到并运行了这个命令:./ aapt dump badging testapp.apk
然后我看到这个:支持 - 任何密度:'真'密度:'120''160''240'在我的设备上运行screeninfo说它的密度为200.所以我想这就是问题所在.所以现在问题是,如何在该列表中添加200.不想改变设备的密度.
这是我的表现:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="se.whatnapp.mainfesttester"
android:versionCode="8"
android:versionName="1.9" >
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".MainfestTesterActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter> …Run Code Online (Sandbox Code Playgroud) android android-2.2-froyo android-2.3-gingerbread android-market-filtering google-play