Android errors

https://developer.android.com/

The mobile operating system of Google

Documented:

Top patterns

  1. You got an unhandled exception during activity initialization

    Check the body of your activity's onCreate(), onResusem methods and the initializations of variables

  2. BaseDexClassLoader.findClass() has thrown a ClassNotFoundException
    No solution
  3. You tried to access to a resource without permission

    Request the required permission, before you start to use the resource:

    https://developer.android.com/training/permissions/requesting


DescriptionException TypeEntry MethodWeb pages
RuntimeExceptionActivityThread.performLaunchActivity4347
ClassNotFoundExceptionBaseDexClassLoader.findClass2771
SecurityExceptionParcel.readException1431
ActivityNotFoundExceptionInstrumentation.checkStartActivityResult1227
NetworkOnMainThreadExceptionStrictMode$AndroidBlockGuardPolicy.onNetwork1158
SQLiteExceptionSQLiteConnection.nativePrepareStatement1098
ClassNotFoundExceptionPathClassLoader.findClass719
ClassNotFoundExceptionInstrumentation.newActivity661
ClassNotFoundExceptionActivityThread.performLaunchActivity650
Resources$NotFoundExceptionResources.getValue640
InflateExceptionLayoutInflater.createView607
WindowLeakedViewRootImpl.<init>606
WindowManager$BadTokenExceptionViewRootImpl.setView594
RuntimeExceptionActivityThread.performLaunchActivity572
RuntimeExceptionActivityThread.handleLaunchActivity571
OutOfMemoryErrorBitmapFactory.nativeDecodeAsset553
OutOfMemoryErrorBitmapFactory.decodeStream546
Resources$NotFoundExceptionResources.getText530
OutOfMemoryErrorBitmapFactory.decodeResourceStream526
WindowLeakedWindowManagerGlobal.addView496
WindowLeakedWindowManagerImpl.addView494
WindowManager$BadTokenExceptionWindowManagerGlobal.addView468
WindowManager$BadTokenExceptionWindowManagerImpl.addView464
OutOfMemoryErrorDrawable.createFromResourceStream460
ClassNotFoundExceptionBootClassLoader.findClass460
WindowLeakedDialog.show449
ClassNotFoundExceptionBootClassLoader.loadClass446
OutOfMemoryErrorResources.loadDrawable438
RuntimeExceptionHandler.<init>437
ViewRootImpl$CalledFromWrongThreadExceptionViewRootImpl.checkThread425
RuntimeExceptionActivityThread.deliverResults379
IllegalStateExceptionViewGroup.addViewInner377
IllegalStateExceptionViewGroup.addView371
ClassNotFoundExceptionLayoutInflater.createView368
CursorIndexOutOfBoundsExceptionAbstractCursor.checkPosition358
CursorIndexOutOfBoundsExceptionAbstractWindowedCursor.checkPosition356
RuntimeExceptionActivityThread.handleSendResult355
InflateExceptionLayoutInflater.createViewFromTag351
IllegalStateExceptionListView.layoutChildren350
OutOfMemoryErrorBitmap.nativeCreate342
OutOfMemoryErrorBitmap.createBitmap335
ClassNotFoundExceptionInstrumentation.newActivity333
ClassNotFoundExceptionActivityThread.performLaunchActivity331
ServiceConnectionLeakedLoadedApk$ServiceDispatcher.<init>328
ActivityNotFoundExceptionActivity.startActivity327
ActivityNotFoundExceptionActivity.startActivity326
ServiceConnectionLeakedLoadedApk.getServiceDispatcher325
WindowManager$BadTokenExceptionDialog.show321
OutOfMemoryErrorBitmapFactory.nativeDecodeStream320
OutOfMemoryErrorBitmapFactory.nativeDecodeAsset318
Package nameClass namePatterns foundSolution coverageDescription coverage
android.appActivityThread2538
android.viewLayoutInflater1245
android.viewViewGroup1236
android.viewView959
com.android.internal.osZygoteInit564
android.appActivity551
android.database.sqliteSQLiteDatabase274
android.content.resResources244
com.android.internal.osZygoteInit$MethodAndArgsCaller230
android.support.v7.appAppCompatActivity208
android.osLooper202
javax.cryptoCipher202
android.osParcel179
android.contentContextWrapper178
android.contentContentResolver175
android.widgetFrameLayout160
android.osHandler160
android.widgetTextView152
android.database.sqliteSQLiteOpenHelper133
android.widgetLinearLayout124
android.appInstrumentation122
android.support.v7.widgetRecyclerView113
android.osBinder109
android.appContextImpl107
android.mediaMediaPlayer101
android.widgetAbsListView101
android.widgetListView96
android.widgetImageView91
com.android.server.amActivityManagerService85
android.appDialog82
android.content.resTypedArray77
android.viewViewRootImpl76
android.webkitWebView76
android.graphicsBitmap76
android.osBundle70
android.database.sqliteSQLiteConnection70
android.appFragmentManagerImpl67
android.appActivityThread$H67
android.osAsyncTask66
android.databaseAbstractCursor63
android.appApplicationPackageManager62
android.contentIntent61
android.support.v7.appActionBarActivity60
android.support.v7.widgetLinearLayoutManager60
android.widgetArrayAdapter59
android.graphicsBitmapFactory55
android.database.sqliteSQLiteStatement49
android.viewWindowManagerImpl43
com.android.server.pmPackageManagerService40
android.contentContext39
Package nameClass nameMethod namePatterns foundSolution coverage
android.appActivityThreadmain699
android.appActivityThreadperformLaunchActivity603
com.android.internal.osZygoteInitmain563
android.viewLayoutInflaterinflate479
android.appActivityThreadhandleLaunchActivity433
android.viewLayoutInflaterrInflate365
android.viewViewmeasure316
android.viewViewGrouplayout301
android.viewViewGroupdispatchTouchEvent239
com.android.internal.osZygoteInit$MethodAndArgsCallerrun230
android.viewLayoutInflatercreateViewFromTag221
android.appActivitysetContentView205
android.osLooperloop194
android.appActivityThreadhandleBindApplication178
android.viewViewGroupmeasureChildWithMargins157
android.support.v7.appAppCompatActivitysetContentView143
android.viewViewGroupdispatchDraw142
android.viewViewdraw118
android.osHandlerdispatchMessage99
android.osBinderexecTransact92
android.appActivityThreaddeliverResults88
javax.cryptoCipherdoFinal85
android.widgetFrameLayoutonMeasure83
android.appActivityThreadperformResumeActivity82
android.viewLayoutInflaterrInflateChildren81
android.viewLayoutInflatercreateView77
android.appActivityThreadhandleReceiver76
android.content.resResourcesloadDrawable69
android.appActivitystartActivity68
android.contentContentResolverquery68
android.viewViewupdateDisplayListIfDirty67
android.appActivityThread$HhandleMessage67
android.appActivityThreadhandleServiceArgs65
android.appActivitystartActivityForResult64
android.viewViewlayout64
android.viewViewgetDisplayList62
android.widgetTextView<init>61
android.viewViewperformClick59
android.database.sqliteSQLiteOpenHelpergetWritableDatabase59
android.content.resResourcesgetDrawable55
android.viewViewrequestLayout54
javax.cryptoCipherinit54
android.appInstrumentationcallActivityOnCreate50
android.database.sqliteSQLiteDatabaseopenDatabase49
android.viewView<init>48
android.osAsyncTaskfinish47
android.appActivityThreadhandleCreateService46
android.widgetImageView<init>45
android.widgetAbsListViewobtainView44
android.content.resTypedArraygetDrawable43
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
android.viewLayoutInflaterinflateInflateException302
android.appActivityThreadperformLaunchActivityNullPointerException242
android.viewLayoutInflaterrInflateInflateException224
android.appActivityThreadhandleLaunchActivityRuntimeException196
android.appActivityThreadmainRuntimeException167
android.appActivityThreadmainNullPointerException166
android.appActivitysetContentViewInflateException144
com.android.internal.osZygoteInitmainNullPointerException128
android.viewViewmeasureNullPointerException122
android.viewViewGrouplayoutNullPointerException113
android.viewLayoutInflatercreateViewFromTagInflateException108
com.android.internal.osZygoteInitmainRuntimeException102
android.viewViewGroupdispatchTouchEventNullPointerException88
android.support.v7.appAppCompatActivitysetContentViewInflateException76
android.appActivityThreadmainIllegalStateException73
android.viewViewGroupmeasureChildWithMarginsNullPointerException65
android.viewViewmeasureIllegalStateException63
android.appActivityThreadperformLaunchActivityInflateException62
android.viewViewGrouplayoutIndexOutOfBoundsException61
android.appActivityThreaddeliverResultsNullPointerException61
android.appActivityThreadperformLaunchActivityIllegalStateException52
com.android.internal.osZygoteInit$MethodAndArgsCallerrunNullPointerException50
android.viewViewmeasureClassCastException48
android.appActivityThreadmainIllegalArgumentException47
com.android.internal.osZygoteInitmainNoClassDefFoundError45
android.viewViewGrouplayoutIllegalStateException44
android.appActivityThreadperformLaunchActivityIllegalArgumentException42
android.viewLayoutInflatercreateViewInvocationTargetException42
android.appActivityThread$HhandleMessageRuntimeException42
com.android.internal.osZygoteInit$MethodAndArgsCallerrunRuntimeException41
javax.cryptoCipherdoFinalBadPaddingException40
android.appActivityThreadperformLaunchActivityRuntimeException40
android.viewViewrequestLayoutViewRootImpl$CalledFromWrongThreadException39
android.widgetFrameLayoutonMeasureNullPointerException39
android.osLooperloopNullPointerException39
javax.cryptoCipherinitInvalidKeyException38
android.viewViewGroupdispatchDrawNullPointerException37
com.android.internal.osZygoteInitmainIllegalStateException37
android.viewViewGroupmeasureChildWithMarginsIllegalStateException36
android.osLooperloopRuntimeException34
android.appActivityThreadhandleBindApplicationRuntimeException34
android.content.resResourcesloadDrawableResources$NotFoundException34
android.viewViewdrawNullPointerException33
com.android.internal.osZygoteInitmainIllegalArgumentException32
android.viewViewGroupdispatchTouchEventIllegalArgumentException31
android.viewViewGroupdispatchDrawRuntimeException31
android.viewViewGroupdispatchTouchEventIllegalStateException30
android.viewViewgetDisplayListNullPointerException30
android.appActivityThreadhandleLaunchActivityNoClassDefFoundError28
android.content.resResourcesgetDrawableResources$NotFoundException28