Unable to start activity that contains MaterialViewPager and it does not contain images to cause the out of memory exception::
Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xx.xActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class unknown
Caused by android.view.InflateException: Binary XML file line #31: Binary XML file line #11: Binary XML file line #11: Error inflating class unknown
com.xx.xActivity.onCreate (xActivity.java:67)
Caused by android.view.InflateException: Binary XML file line #11: Error inflating class unknown
Caused by java.lang.reflect.InvocationTargetException:
Caused by java.lang.OutOfMemoryError: Failed to allocate a 318108 byte allocation with 115448 free bytes and 112KB until OOM
Unable to start activity that contains MaterialViewPager and it does not contain images to cause the out of memory exception::
Exception java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xx.xActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class unknown
Caused by android.view.InflateException: Binary XML file line #31: Binary XML file line #11: Binary XML file line #11: Error inflating class unknown com.xx.xActivity.onCreate (xActivity.java:67)
Caused by android.view.InflateException: Binary XML file line #11: Error inflating class unknown
Caused by java.lang.reflect.InvocationTargetException:
Caused by java.lang.OutOfMemoryError: Failed to allocate a 318108 byte allocation with 115448 free bytes and 112KB until OOM
Any help ?