You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E/AndroidRuntime: FATAL EXCEPTION: main
Process: be.avondschool.vi.ocrtestappgooglemobilevisionapi, PID: 21179
java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=20, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {be.avondschool.vi.ocrtestappgooglemobilevisionapi/be.avondschool.vi.ocrtestappgooglemobilevisionapi.MainActivity}:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference
The text was updated successfully, but these errors were encountered:
imageUri = FileProvider.getUriForFile(MainActivity.this,
BuildConfig.APPLICATION_ID + ".provider", photo);
context = MainActivity@5033
authority = be.avondschool.vi.ocrtestappgooglemobilevisionapi
photo = /storage/emulated/0/picture.jpg
E/AndroidRuntime: FATAL EXCEPTION: main
Process: be.avondschool.vi.ocrtestappgooglemobilevisionapi, PID: 21179
java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=20, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {be.avondschool.vi.ocrtestappgooglemobilevisionapi/be.avondschool.vi.ocrtestappgooglemobilevisionapi.MainActivity}:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.String)' on a null object reference
The text was updated successfully, but these errors were encountered: