应用程序与所有的设备不兼容的发布到市场后,但相同的是工作的时候直接移动到设备 [英] App is incompatible with all devices after publishing to the Market but same was working when moved directly to the device

查看:140
本文介绍了应用程序与所有的设备不兼容的发布到市场后,但相同的是工作的时候直接移动到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发使用的PhoneGap的应用程序和测试相同的不同版本的模拟器,也是我在摩托罗拉的光子。我还没有遇到在测试中的任何问题。

I have developed an app using PhoneGap and tested the same in different version of emulator and also in my Motorola Photon. I have not faced any problem in testing.

但是,当我发表在市场上也说了同样的这个程序是与所有设备不兼容。我的设备有不同的屏幕尺寸,不同的操作系统版本,从2.1到2.4。

But when I published the same in the market it says "This app is incompatible with all of your devices.". My devices are with different screen size, different OS version ranging from 2.1 to 2.4.

在发布的主页,它说:此应用程序可超过679的设备。它包括摩托罗拉光子4G和我所注册的在市场上下载的所有其他设备。

In publish home page, it says "This application is available to over 679 devices." It includes Motorola Photon 4g and all other devices which I have registered in the market download.

我已经通过更新基础上全部通过给出了计算器对这类问题的回答清单文件和java文件再版的code很多次。要列出它,

I have republished the code many times by updating manifest file and java file based on all the answers given through out the stackoverflow for this kind of issues. To list it,

  • 删除用户权限
  • 的支持屏
  • 在更新所有组合
  • 刷新保存按钮,在发布页面几次
  • 卸载应用程序在我的手机(不过,我有一些更多的设备,我没有测试过我的应用程序,但仍表示不兼容)
  • 运行AAPT工具
  • 删除从lib文件夹中的jar文件并参考了对外在Eclipse
  • 更多更改,我不能记得
  • Removing user-permission
  • Updating all combinations of supports-screens
  • Refreshing the save button in the publish page several times
  • Uninstalling the apps in my mobile (But I have few more devices where I have not tested my apps but still says incompatible)
  • Running aapt tool
  • Removing the jar files from lib folder and referring that externally in Eclipse
  • Few more changes that I cant recall

下面是清单文件

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.test.myapps"
android:versionCode="5" android:versionName="1.4">
<uses-sdk android:minSdkVersion="7" />
<supports-screens android:largeScreens="true"
    android:normalScreens="true" android:smallScreens="true"
    android:resizeable="true" android:anyDensity="true" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SET_WALLPAPER" /> 
<uses-permission android:name="android.permission.SEND_SMS"/> 
<application android:icon="@drawable/app_icon" android:label="@string/app_name">
<activity android:name="com.test.myapps.HomePage" android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

     <activity android:name="com.google.ads.AdActivity"
          android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize">
     </activity>
</application>
</manifest>

请帮我固定不变。在此先感谢....

推荐答案

你专门跑AAPT转储徽章&LT; .apkfile>

Did you specifically run "aapt dump badging <.apkfile> ?

Android的文档这里

Android docs here.

我也有类似的问题。原来我需要在我的清单中使用 机器人:要求=假的多种用途,功能,如:

I had a similar problem. Turns out I needed to use in my manifest the android:required="false" for several uses-features, like:

< uses-feature android:name="android.hardware.telephony" android:required="false" >

完整清单例如这里。转储徽章的结果表明,市场上又增加了多种用途,特性(有点 进一步向下AAPT的输出),排除大部分三星设备。

Full manifest example here. The results of dump badging showed that the market had added several uses-features (a bit further down in aapt output) that excluded mostly Samsung devices.

这篇关于应用程序与所有的设备不兼容的发布到市场后,但相同的是工作的时候直接移动到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆