I struggled with this for a while, so I decided to share it with stackoverflow. I described a simple fix for this issue on my development blog .
Here is the short version:
Just add a view to the layouts you want to display, for example:
<FrameLayout android:id="@+id/gps_popup" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_marginTop="20dp" />
When your layout is ready, you must execute it inside your activity or fragment:
Games.setViewForPopups(getApiClient(), findViewById(R.id.gps_popup));
You must be sure that your GoogleApiClient is connected, although otherwise your application will fail.
source share