Google Play 说我的 apk 使用两个本机平台(我的库),因此它支持 0 个设备 [英] Google Play says my apk uses two Native Platforms ( my libraries) and so it supports 0 devices

查看:21
本文介绍了Google Play 说我的 apk 使用两个本机平台(我的库),因此它支持 0 个设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Google Play 上发布 .apk 时,它说:支持 0 个设备.在 apk 描述的底部写着:Native Platforms: actionbarsherlock, SherlockNavigatorDrawer.这些是我用于我的项目的库.它们不是 .jars,它们是我放入应用程序 libs 文件夹中的文件夹.问题是:Google Play 将这两个库视为本机平台"(我不确定它的确切含义是什么),这会导致对设备支持进行过滤.我在想可能是什么原因造成的.我的项目是和一个朋友合作的,这个项目已经用eclipse运行构建了几次,并导出到Aide(Aide是一个可以让你用平板电脑开发应用程序的应用程序).也许这只是一个路径"问题,或者……?我在我的 Aide 的 lib 文件夹中有库,我已经在那里构建了 apk,但也许一些路径或其他关于库的东西仍然是 eclipse 的(也许在 eclipse 中我们没有把库放在 libs 文件夹中).

When i publish the .apk on Google Play it says: 0 devices supported. And on the bottom of the apk description it's written: Native Platforms: actionbarsherlock, SherlockNavigatorDrawer. These are the libraries i used for my project. They are not .jars, they are folders i put into the libs folder of the app. The problem is this: Google Play considers these two libraries as "Native Platforms" (I'm not sure what it exactly means or is), and this causes a filtering in the support of devices. I'm thinking about what can be the causes of this. My project is a collaboration with a friend and the project has been runned and builded several times with eclipse and exported to Aide (Aide is an app that allows you to develop apps with your tablet). Maybe this is only a "path" problem or...? I have the libraries on my lib folder of Aide and i have built the apk there, but maybe some path or something else about libraries remained the ones of eclipse (maybe in eclipse we didn't put the libraries inside the libs folder).

推荐答案

我设法找到了一个解决方案,我想帮助所有使用 Aide 的开发人员.当一个库依赖于另一个库时,例如 SherlockNavigationDrawer 和 actionbarsherlock,不要将一个放在另一个的 libs 文件夹中,而是从外部文件夹中引用它.项目和库的相同之处:不要将库(例如 ABS)放在项目的 libs 文件夹中,而是将其保留在外部文件夹中并写入对它的引用,并写入项目的 project.properties 文件.现在支持超过 3900 台设备.我希望这会有所帮助:-)

I managed to find a solution, and I would like to help all the developers who use Aide. When a library depends on another, like SherlockNavigationDrawer and actionbarsherlock, don't put one in the libs folder of the other, but reference it from an external folder. Same thing with projects and libraries: dont put a library (like ABS for example), in the libs folder of the project, but leave it in an external folder and write a reference to it writing the project.properties file of the project. More than 3900 devices supported now. I hope this will help :-)

这篇关于Google Play 说我的 apk 使用两个本机平台(我的库),因此它支持 0 个设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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