Я получаю это исключение в своем приложении после того, как попробовал его на Android Q Beta 3. Похоже, мне не хватает параметра majorVersion
... но я не нашел его в документации.Кто-нибудь сталкивался с этой проблемой?
java.net.ProtocolException: problem parsing majorVersion=null as int
at com.android.internal.util.XmlUtils.readIntAttribute(XmlUtils.java:1622)
at com.android.server.usage.UsageStatsXmlV1.read(UsageStatsXmlV1.java:391)
at com.android.server.usage.UsageStatsXml.read(UsageStatsXml.java:48)
at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:992)
at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:862)
at com.android.server.usage.UsageStatsDatabase.continueUpgradeLocked(UsageStatsDatabase.java:500)
at com.android.server.usage.UsageStatsDatabase.checkVersionAndBuildLocked(UsageStatsDatabase.java:369)
at com.android.server.usage.UsageStatsDatabase.init(UsageStatsDatabase.java:164)
at com.android.server.usage.UserUsageStatsService.init(UserUsageStatsService.java:108)
at com.android.server.usage.UsageStatsService.getUserDataAndInitializeIfNeededLocked(UsageStatsService.java:399)
at com.android.server.usage.UsageStatsService.onStart(UsageStatsService.java:249)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:129)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:116)
at com.android.server.SystemServer.startCoreServices(SystemServer.java:805)
at com.android.server.SystemServer.run(SystemServer.java:511)
at com.android.server.SystemServer.main(SystemServer.java:349)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:903)
тоже другое похожее исключение
java.net.ProtocolException: problem parsing minorVersion=null as int
at com.android.internal.util.XmlUtils.readIntAttribute(XmlUtils.java:1622)
at com.android.server.usage.UsageStatsXmlV1.read(UsageStatsXmlV1.java:397)
at com.android.server.usage.UsageStatsXml.read(UsageStatsXml.java:48)
at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:992)
at com.android.server.usage.UsageStatsDatabase.readLocked(UsageStatsDatabase.java:862)
at com.android.server.usage.UsageStatsDatabase.continueUpgradeLocked(UsageStatsDatabase.java:500)
at com.android.server.usage.UsageStatsDatabase.checkVersionAndBuildLocked(UsageStatsDatabase.java:369)
at com.android.server.usage.UsageStatsDatabase.init(UsageStatsDatabase.java:164)
at com.android.server.usage.UserUsageStatsService.init(UserUsageStatsService.java:108)
at com.android.server.usage.UsageStatsService.getUserDataAndInitializeIfNeededLocked(UsageStatsService.java:399)
at com.android.server.usage.UsageStatsService.onStart(UsageStatsService.java:249)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:129)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:116)
at com.android.server.SystemServer.startCoreServices(SystemServer.java:805)
at com.android.server.SystemServer.run(SystemServer.java:511)
at com.android.server.SystemServer.main(SystemServer.java:349)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:903)