0
When I create in my project a new -> Google -> Google Maps Activity he creates everything correctly.
Then add the key to google_maps_api.xml
.
<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">
chave . . .
</string>
However, when I compile the project presents the following error:
Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.process.Processexception: org.gradle.process.internal.Execexception: Process 'command 'C: Program Files (x86) Java jdk1.8.0_65 bin java.exe'' finished with non-zero Exit value 2 Information:BUILD FAILED Information:Total time: 37.338 secs Information:1 error Information:0 warnings Information:See complete output in console
It automatically puts it in the dependencies (Compile 'com.google.android.gms:play-services:9.4.0')
If I switch to version 8.4.0 (Compile 'com.google.android.gms:play-services:8.4.0') it stops giving the error but when I enter the map’s Activity, it does not appear. only the google logo appears at the bottom left corner of the screen.
Can’t add the full stack trace?
– leofontes
Whoa, I updated the question
– CristianCotrena