Android 市场 - 此应用程序可用于 0 多个设备?
我已将 apk 发布到 Android Market,并为所有国家/地区免费激活和安装。 Android Market 说,我的应用程序与任何设备都不兼容。当我从 PC 浏览器访问 Android Market 时,我可以看到应用程序,但无法从任何 Android 手机(发布前用于测试应用程序的同一设备)下载该应用程序。
如果我只有很少的要求,这怎么可能?在上传之前,我已经在一些相当旧的设备上测试了该应用程序,并且它有效。
来自发布选项的信息:
This application is only available to devices with these features, as defined in your application manifest.
Screen layouts: SMALL NORMAL LARGE XLARGE
Required device features
android.hardware.screen.portrait
android.hardware.touchscreen
*This application is available to over 0 devices.*
来自 APK 选项卡的信息:
VersionCode: 2
VersionName: 1.0.1
Size: 4.3M
Localized to: default
Permissions: android.permission.READ_PHONE_STATE, android.permission.INTERNET, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.ACCESS_NETWORK_STATE
Features: android.hardware.screen.portrait, android.hardware.touchscreen
API level: 7-15+
Supported screens: small-xlarge
OpenGL textures: all
如果还不够奇怪的话,我在同一个帐户上还有另一个非常相似的应用程序要求及其给我:此应用程序可用于超过 746 台设备。 到底是怎么回事?
更新:
因为许多答案都暗示了这样的内容:“只需激活您的 APK...” 我再次强调:
APK 已激活(如上所述)在问题的开头并在上面的屏幕截图中显示)。
I have published apk to the Android Market, activated and setup for free for all countries.
Android Market says, my application is not compatible with any of the devices. I can see an application when I access Android Market from the PC browser but I can not download it from any of the Android phone (the same device used to test application before release).
How is that possible if I have just few requirements? I have tested the application on a few quite old devices before upload and it worked.
Information from the Publishing options:
This application is only available to devices with these features, as defined in your application manifest.
Screen layouts: SMALL NORMAL LARGE XLARGE
Required device features
android.hardware.screen.portrait
android.hardware.touchscreen
*This application is available to over 0 devices.*
Information fron the APK tab:
VersionCode: 2
VersionName: 1.0.1
Size: 4.3M
Localized to: default
Permissions: android.permission.READ_PHONE_STATE, android.permission.INTERNET, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.ACCESS_NETWORK_STATE
Features: android.hardware.screen.portrait, android.hardware.touchscreen
API level: 7-15+
Supported screens: small-xlarge
OpenGL textures: all
If it is not strange enough, I have another application at the same account with very similar requirements and it gives me: This application is available to over 746 devices.
What is going on?
UPDATE:
Because many answers suggests something like: "Just activate your APK..." I emphasize it again:
APK is ACTIVATED (as stated at the beginning of the question and presented on the screenshot above).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
您上传的 APK 文件可能未激活。您可以在 APK 选项卡中检查这一点并切换到“高级模式”。这里应该有 2 个类别,“活动”和“非活动”。
您的文件可能位于“非活动”类别中,您可以通过单击其后面的“激活”链接来更改它。
Probably your uploaded APK file is not active. You can check this in the APK tab and switch to "Advanced mode". Here you should have 2 categories, "Active" and "Inactive".
Your file is probably in the Inactive category and you can change it by clicking the Activate link that should be behind it.
我的应用程序更新后可用于 0 台设备。
无论如何,我找到了适合我的情况的解决方案,因此您可以检查它是否也适合您。
我的错误是我包含 .jar 文件是为了添加一些外部库,而不是相应的外部类文件夹。当我删除 .jar 文件并添加类文件夹后,设备数量再次超过 700 个。
例如,我有 facebook API(旧的,不是当前的),并且我用它创建了一个 jar 文件,以便将它像这样包含在我的应用程序中。
因此,当我删除 jar 文件并添加 Facebook API 项目(项目属性 -> Java 构建路径 -> 项目 -> 添加...时,该应用程序对于 Android 市场来说是可以的。
My app after an update had was available for 0 devices.
Anyway I found the solution for my case, so you can check if it works for you as well.
my mistake was that I included .jar files in order to add some external libraries and not the respective external class folders. When I removed the .jar files and I just added the class folder then devices became over 700 again.
for example I had the facebook API (an old one, not the current) and I had created a jar file out of it in order to include it like this in my app.
So when I removed the jar files and added the Facebook API projecy (Project Properties -> Java Build Path -> Projects -> Add..., the app was OK for the android market.
作为记录,我发现一个重大改变解决了我的问题。完整说明请参见这篇文章 Android 市场产品组。
快速回答是从清单中删除以下
uses-feature
节点(如果存在):For the records, I've found that one significant change that solved my case. Full explanation is at this post on Android Market Product Group.
Quick answer is remove the following
uses-feature
nodes from your manifest if present:只需在 APK 文件选项卡上激活该应用程序即可。
Just activate the app on the APK files tab and you'll be ok.
我遇到了类似的问题,并按照 http://androidforums.com/threads/0-devices-support-my-app-no-known-devices-on-play-store.947943/ ,这将在
build.gradle
行compile 'org.apache.directory.studio:org.apache.commons.codec:1.8'
更改为compile 'commons -codec:commons-codec:1.8'
(因此可以得出或多或少的一般规则,您需要删除org.apache.(...)
直至包名称然后就在分号前加倍)。如果有人能指出我为什么会这样,我会很高兴。通过 Android Studio 在 Maven Central 中查找第二个术语实际上没有返回任何结果,所以我一开始怀疑它是否会起作用。
i had similar issue, and resolved it just following the advice from http://androidforums.com/threads/0-devices-support-my-app-no-compatible-devices-on-play-store.947943/ , which was to change in
build.gradle
linecompile 'org.apache.directory.studio:org.apache.commons.codec:1.8'
tocompile 'commons-codec:commons-codec:1.8'
(so more or less general rule can be drawn, that you need to deleteorg.apache.(...)
up to the package name and then just double it before semicolon).I would be glad though, if someone would point me out why it was like that. Looking for the second term in Maven Central through Android Studio returned no results actually, so I doubted at first if it is going to work at all.