I am trying to run the code (GeofenceDetection.zip) at:

The app keeps crashing in the emulator and also a real phone (Galaxy S3).

All I am doing is - downloading the code, adding google play services as Library and then building it with Android 4.4.2.

enter image description here

Updating with LogCat: enter image description here

有帮助吗?

解决方案

You are probably missing line <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> in your project manifest file.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top