包com.google.android.maps不存在的Andr​​oid工作室

编程入门 行业动态 更新时间:2024-10-26 09:18:40
本文介绍了包com.google.android.maps不存在的Andr​​oid工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我一直在做一个项目,其中包括地图,但是我犯了一个错误,我不得不创建一个新项目。我已经在所有我的班,资源文件夹,图书馆等,但现在我得到101错误!复制

I've been working on a project which includes maps, however I made an error and I have had to create a new project. I have copied across all my classes, res folders, libraries etc. However now I am getting 101 ERRORS!!

有全部敲这个:

包com.google.maps不存在。

package com.google.maps does not exist.

我选择了谷歌的目标API:

I have selected a target google api:

我已经包含的jar文件作为依赖如下:

I've included the jar files as dependencies as follows:

这是在我的previous项目工作正常,但现在我不得不创建一个新项目不工作。我显然忽略的东西,但我想不出什么。我使用Android的工作室,这是一个构建的gradle

It was working fine in my previous project but now that I have had to create a new project it doesn't work. I'm obviously omitting something but I can't think of what. I am using Android Studio and it is a gradle build

如果有人可以帮助我,我真的很AP preciate它,因为它是非常令人沮丧...

If someone could help me I would really appreciate it because it is extremely frustrating...

呵呵,我有它在我的清单中声明

Oh and I have it declared in my manifest

<uses-library android:name="com.google.android.maps" />

所以请,如果说之前我想AP preciate它任何人遇到这种。我已经在网上搜索,并检查了这一点:

so please, if anyone has come across this before I'd appreciate it. I've already searched online and checked out this:

的$c$c.davidjanes/blog/2009/11/13/18-hours-of-jar-hell-with-android-google-maps/

虽然有用它告诉我什么,我已经知道了......所以请请帮助!

although helpful it told me what I already knew...so please please help!!

的 修改的

EDIT

好吧,我知道问题是什么,我只是不知道如何解决它。我引用maps.jar,然而,在这个项目中没有maps.jar,在我的previous项目有一个在外部库。外部库使用的是Android 4.1.2谷歌API和包括有maps.jar,但是,我似乎无法建立与外部库包含的是,我不知道为什么一个项目。我曾尝试通过将文件以更改构建目标 - >其他设置 - >默认的项目结构和转变它存在,但它不工作...任何人都可以提出,如果我创建了一个项目,我可能需要做保证包括在外部库中的谷歌API的?或者有什么变化,我需要对我的当前项目

Ok, I know what the problem is, I just don't know how to fix it. I am referencing maps.jar, however, in this project there is no maps.jar, in my previous project there was in the external library. The external library had Android 4.1.2 Google APIs and included there was maps.jar, however, I can't seem to create a project with the external library containing that, I don't know why. I have tried to change the build target by going file -> other setting -> default project structure and changing it there but it doesn't work...can anyone suggest what I might need to do to ensure if I create a project to have the Google APIs included in the external library? Or what changes I need to make to my current project

推荐答案

我跟着这个链接,它告诉我如何改变外部库,现在它的作品......感谢那些谁帮助

I followed this link, it showed me how to change the external library and now it works...thanks to those who helped

Android摇篮如何构建Android谷歌的API 4.2.2不为Android 4.2.2

更多推荐

包com.google.android.maps不存在的Andr​​oid工作室

本文发布于:2023-06-08 06:30:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/576136.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不存在   工作室   android   google   maps

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!