Simple cashback explorer using Google maps. Utilized RxJava, Retrofit, Dagger2 along with MVVM design pattern.
1. LoginScreen (LoginActivity)
2. ExplorerScreen (MainActivity)
1. Make sure that 'Google Play services' is installed.
-
In Android Studio, go to SDK Manager -> SDK Tools -> Make sure 'Google Play services' is checked
-
In the AVD Manager, your emulator should show '(Google APIs)' next to the target field. (i.e. Android 6.0(Google APIs))
2. If the emulator doesn't show the map try the following after checking the internet connection of the emulator :
-
Option 1: If you are under x86_64 Mac OS, use x86_64 version of emulator image instead of universal x86.
-
Option 2: Create an emulator and change Emulated Performace -> Graphics setting into Hardware - GLES 2.0
-
Option 3: Try disabling hardware acceleration: Add the following attribute to the tag of the AndroidManifest.xml
<application android:hardwareAccelerated="false" ...>
- Fast & easy way: Use a real device