08-16 14:10:37.319 10175-10175/com.example.DemoApp W/System.err: java.lang.RuntimeException: Missing type parameter.
at bji.getSuperclassTypeParameter(Unknown Source)
at com.example.DemoApp.V2.Home.tabfragments.HomeFragment$3.<init>(Unknown Source)
at com.example.DemoApp.V2.Home.tabfragments.HomeFragment.setFunction(Unknown Source)
08-16 14:26:11.388 11071-11071/com.example.DemoApp W/System.err: at com.example.DemoApp.V2.Home.tabfragments.HomeFragment.onCreateView(Unknown Source)
at android.support.v4.app.Fragment.performCreateView(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
08-16 14:26:11.390 11071-11071/com.example.DemoApp W/System.err: at android.support.v4.app.BackStackRecord.executeOps(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.executeOps(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.dispatchStateChange(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(Unknown Source)
08-16 14:26:11.391 11071-11071/com.example.DemoApp W/System.err: at android.support.v4.app.FragmentController.dispatchActivityCreated(Unknown Source)
08-16 14:26:11.391 11071-11071/com.example.DemoApp W/System.err: at android.support.v4.app.FragmentActivity.onStart(Unknown Source)
at android.support.v7.app.AppCompatActivity.onStart(Unknown Source)
at com.example.DemoApp.MainActivity.onStart(Unknown Source)
08-16 14:26:11.392 11071-11071/com.example.DemoApp W/System.err: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1174)
at android.app.Activity.performStart(Activity.java:5353)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2340)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2429)
08-16 14:26:11.393 11071-11071/com.example.DemoApp W/System.err: at android.app.ActivityThread.access$800(ActivityThread.java:151)
08-16 14:26:11.394 11071-11071/com.example.DemoApp W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5333)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
08-16 14:26:11.395 11071-11071/com.example.DemoApp W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
at dalvik.system.NativeStart.main(Native Method)
Solution for above error while generating signed APK is to Add following to your proguard-rules.pro at bji.getSuperclassTypeParameter(Unknown Source)
at com.example.DemoApp.V2.Home.tabfragments.HomeFragment$3.<init>(Unknown Source)
at com.example.DemoApp.V2.Home.tabfragments.HomeFragment.setFunction(Unknown Source)
08-16 14:26:11.388 11071-11071/com.example.DemoApp W/System.err: at com.example.DemoApp.V2.Home.tabfragments.HomeFragment.onCreateView(Unknown Source)
at android.support.v4.app.Fragment.performCreateView(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.moveToState(Unknown Source)
08-16 14:26:11.390 11071-11071/com.example.DemoApp W/System.err: at android.support.v4.app.BackStackRecord.executeOps(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.executeOps(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.dispatchStateChange(Unknown Source)
at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(Unknown Source)
08-16 14:26:11.391 11071-11071/com.example.DemoApp W/System.err: at android.support.v4.app.FragmentController.dispatchActivityCreated(Unknown Source)
08-16 14:26:11.391 11071-11071/com.example.DemoApp W/System.err: at android.support.v4.app.FragmentActivity.onStart(Unknown Source)
at android.support.v7.app.AppCompatActivity.onStart(Unknown Source)
at com.example.DemoApp.MainActivity.onStart(Unknown Source)
08-16 14:26:11.392 11071-11071/com.example.DemoApp W/System.err: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1174)
at android.app.Activity.performStart(Activity.java:5353)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2340)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2429)
08-16 14:26:11.393 11071-11071/com.example.DemoApp W/System.err: at android.app.ActivityThread.access$800(ActivityThread.java:151)
08-16 14:26:11.394 11071-11071/com.example.DemoApp W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5333)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
08-16 14:26:11.395 11071-11071/com.example.DemoApp W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
at dalvik.system.NativeStart.main(Native Method)
##---------------Begin: proguard configuration for Gson ----------
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature
# For using GSON @Expose annotation
-keepattributes *Annotation*
# Gson specific classes
-keep class sun.misc.Unsafe { *; }
#-keep class com.google.gson.stream.** { *; }
# Application classes that will be serialized/deserialized over Gson
-keep class com.google.gson.examples.android.model.** { *; }
##---------------End: proguard configuration for Gson ----------