Try this once and make sure you are not getting any error in project Structure saying that “ComGoogleAndroidGmsPlay not added”
Open File > Project Structure
and check for below all. If error is shown click on Red bulb marked and click on “Add to dependency”.
This is a bug in Android Studio and fixed for the next release(0.4.3)
More Related Contents:
- com.android.build.transform.api.TransformException
- Execution Failed for task :app:compileDebugJavaWithJavac in Android Studio
- Android Studio 3.1.3 Gradle Sync Error. Could Not Download Gradle-Core.jar
- Gradle – What is a non-zero exit value and how do I fix it?
- UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define
- Manifest merger failed error
- :app:dexDebug ExecException finished with non-zero exit value 2
- Android studio – Failed to complete gradle execution – error in opening zip file
- Android studio – Failed to find target android-18
- Gradle sync failed: Unable to find method
- Failed to import new Gradle project: failed to find Build Tools revision *.0.0
- Android Studio Build gradle OutOfMemoryError
- Error:Timeout waiting to lock buildscript class cache for build file when change minSdkVersion
- Importing Facebook library in Android Studio: Could not find property ‘ANDROID_BUILD_SDK_VERSION’
- Android Studio 3.0 DexArchiveBuilderException
- Error:Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler
- Why is my app is crashing while using async task?
- Mapbox Greyed out on dialog/Popup [closed]
- Why my program crash when i press back Button
- Android Studio Error: Error:CreateProcess error=216, This version of %1 is not compatible with the version of Windows you’re running
- Error: Unable to run mksdcard SDK tool
- Android Studio cannot resolve symbol but code executes correctly
- How to include JAR dependency into an AAR library
- Android Studio Convert ISO string to “America/New_York” when adding to event to calendar
- How to print to the console in Android Studio?
- android studio with Java compiler error: string too large to encode using UTF-8 written instead as ‘STRING_TOO_LARGE’
- tools.jar seems to be not in Android Studio classpath on Windows 8
- How to update edittext whenever a quantity is added in android studio
- Exception in thread “main” java.lang.NoClassDefFoundError: junit/textui/ResultPrinter
- java.lang.SecurityException: attempting to read gservices without permission