I have successfully used RequestFactory in my Android app for a very long time, but now that you are trying to upgrade to v2 cards, when I turn on
<fragment xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/map" android:layout_width="match_parent" android:layout_height="match_parent" class="com.google.android.gms.maps.SupportMapFragment" />
in my XML layout file, I get an error:
01-25 08:08:41.978: E/AndroidRuntime(19854): java.lang.RuntimeException: Unable to resume activity{com.xx/com.xx.MyActivity}: java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the com.xx.client.MyRequestFactory RequestFactory type
If I delete the fragment code from the XML layout file, everything works fine.
How does this snippet affect my RequestFactory validation and how can I fix it?
Thanks.
source share