Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 运行基于google play services库的应用程序_Android_Eclipse_Api_Location_Google Play Services - Fatal编程技术网

Android 运行基于google play services库的应用程序

Android 运行基于google play services库的应用程序,android,eclipse,api,location,google-play-services,Android,Eclipse,Api,Location,Google Play Services,我正试图通过ANDROIDHIVE了解使用Google Play服务的Android定位API,但每当我尝试在genymotion中运行应用程序时,应用程序都不会启动。我已经检查了我开发的所有其他应用程序,它们运行得非常完美,甚至当我通过属性从应用程序中删除google play services库时,我的location API应用程序也会运行。它只在我添加此库时才运行。我正在使用eclipse,本教程也是针对eclipse用户的,我的GenyMoon版本是2.4,请仔细检查您的API/s设置

我正试图通过ANDROIDHIVE了解使用Google Play服务的Android定位API,但每当我尝试在genymotion中运行应用程序时,应用程序都不会启动。我已经检查了我开发的所有其他应用程序,它们运行得非常完美,甚至当我通过属性从应用程序中删除google play services库时,我的location API应用程序也会运行。它只在我添加此库时才运行。我正在使用eclipse,本教程也是针对eclipse用户的,我的GenyMoon版本是2.4,请仔细检查您的API/s设置。有很多因素要考虑为什么你的应用程序不运行。Emulator必须运行Android 4.2.2或更高版本。检查以查看您是否遵循了在项目中设置Google Play服务的步骤。另外,请注意,Google Play服务需要在Genymotion中进行侧加载。

无错误。。它根本不跑。。甚至没有提示显示我可能要运行的设备。。我必须通过运行配置手动执行此操作。。。我尝试删除除主活动中必要的java代码之外的所有java代码。。添加了库,但仍然无法运行我正在检查您的链接。从AVD管理器创建的仿真器怎么样?它们也需要侧向加载吗?为了测试目的,尝试同时进行这两种加载。