Package com.google.android.maps does not exist Android Studio

I am working on a project that includes maps, however I made a mistake and I had to create a new project. I copied all classes, res folders, libraries, etc. However, now I get 101 ERRORS !!

All this knocks:

package com.google.maps does not exist.

I chose the target google api:

Target sdk

I included jar files as dependencies as follows:

dependencies

It worked fine in my previous project, but now that I had to create a new project, it does not work. I obviously omit something, but I can't think of it. I am using Android Studio and this is gradle build

If someone can help me, I would really appreciate it because it is very frustrating ...

Oh and I declared it in my manifest

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

, , - , . :

http://code.davidjanes.com/blog/2009/11/13/18-hours-of-jar-hell-with-android-google-maps/

, ... , , !

, , , , . maps.jar, maps.jar, . Android 4.1.2 API Google maps.jar, , , , . , → → , ... - , , , API Google, ?

+4
2

build.gradle

dependencies {
...
compile 'com.google.android.gms:play-services-base:7.3.0'
compile 'com.google.android.gms:play-services-location:7.3.0'
...
}
+2

Source: https://habr.com/ru/post/1527790/


All Articles