My app keeps crashing but I can\'t figure out why. Can someone please tell me
My Gradle:
apply plugin: \'com.android.application\'
android {
compile
Yes Its needed the real device you prefer real android device for check your build.you can use usb connect with android phone and debug mode you can also see error.
Try running on real Device, the problem is related to emulators or genymotion virtual machines.
check that you have google play services installed.
Download google play service sdk and add ACCESS_FINE_LOCATION permission in manifest if not added.
I had the same error while using Google Maps on my device. The problem was Google Map Service were not installed in my emulator.
Simply add google play services on your emulator. It will clear your problem.