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

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

问题描述

当我在Google Play上发布.apk时,它说:支持0种设备.在apk描述的底部写着:本机平台:actionbarsherlock,SherlockNavigatorDrawer.这些是我用于项目的库.它们不是.jars,而是我放入应用程序的libs文件夹中的文件夹. 问题是这样的:Google Play将这两个库视为本机平台"(我不确定其确切含义是什么),这会导致对设备支持的过滤.我正在考虑可能是什么原因造成的.我的项目是与朋友的协作,并且该项目已使用Eclipse运行和构建了多次,并已导出到Aide(Aide是一款允许您使用平板电脑开发应用程序的应用程序).也许这只是一个路径"问题,还是...?我将库放在Aide的lib文件夹中,并且在那里建立了apk,但是关于eclipse的某些途径或其他问题可能仍然存在(也许是在eclipse中,我们没有将库放在libs文件夹中). /p>

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文件夹中,而要从外部文件夹中引用它.与项目和库相同:不要在项目的libs文件夹中放入库(例如ABS),而是将其保留在外部文件夹中,并写一个引用以编写项目的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天全站免登陆