I updated my application with Android L, and I have this exception, which I cannot understand:
NullPointerException: attempt to read from the field 'int android.support.v4.app.FragmentManagerImpl.mCurState' in relation to a reference to a null object
Can anybody help me?
in the build.gradle file:
dependencies { compile files('libs/libGoogleAnalyticsServices.jar') compile 'com.android.support:support-v4:21.0.3' compile 'com.android.support:appcompat-v7:21.0.3' compile 'com.google.android.gms:play-services:6.5.87' }
Stacktrace:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lucagrillo.myapp/com.lucagrillo.myapp.MainActivity}: android.view.InflateException: Binary XML file line
Thank you very much
source share