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
ACRA fails to detect any components if android:sharedUserId is set. This is because in that case, Thread.currentThread().getContextClassLoader() is replaced with a dummy, and ServiceLoader fails to locate the resources. The fix is to replace all code like
ServiceLoader.load(ReportSenderFactory.class)
with
// Really any class from current context can be used instead of getClass()
ServiceLoader.load(ReportSenderFactory.class, getClass().getClassLoader())
ACRA fails to detect any components if
android:sharedUserId
is set. This is because in that case,Thread.currentThread().getContextClassLoader()
is replaced with a dummy, andServiceLoader
fails to locate the resources. The fix is to replace all code likewith
Additional info:
grpc/grpc-java#1272
https://stackoverflow.com/questions/13407006/android-class-loader-may-fail-for-processes-that-host-multiple-applications
The text was updated successfully, but these errors were encountered: