android - Ionic Cordova 应用程序在某些设备中不起作用
问题描述
我的应用程序遇到了一些问题。它仅在某些设备中停止工作。这是 Android 工作室 LogCat。这只发生在选定的设备上,在其他手机上它工作正常。
2019-01-14 12:40:03.065 31254-31346/? I/GoogleConversionReporter: Pinging: https://www.googleadservices.com/pagead/conversion/1001694263/?bundleid=com.vsdirect.android&appversion=2.6.2&osversion=8.0.0&sdkversion=ct-sdk-a-v2.2.4&gms=1&lat=0&rdid=e41424eb-5ca8-444c-8011-0d1344099e76×tamp=1547458.801&auto=1&usage_tracking_enabled=1
2019-01-14 12:40:03.072 31384-31409/? D/StrictMode: StrictMode policy violation: android.os.StrictMode$StrictModeDiskReadViolation: policy=65599 violation=2
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1438)
at java.io.UnixFileSystem.checkAccess(UnixFileSystem.java:251)
at java.io.File.exists(File.java:807)
at android.app.ContextImpl.ensurePrivateDirExists(ContextImpl.java:565)
at android.app.ContextImpl.ensurePrivateDirExists(ContextImpl.java:556)
at android.app.ContextImpl.getPreferencesDir(ContextImpl.java:512)
at android.app.ContextImpl.getSharedPreferencesPath(ContextImpl.java:704)
at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:372)
at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:178)
at com.google.android.finsky.ah.f.a(SourceFile:4)
at com.google.android.finsky.ah.q.a(SourceFile:5)
at com.google.android.finsky.analytics.al.a(SourceFile:32)
at com.google.android.finsky.application.impl.c.a(SourceFile:92)
at com.google.android.finsky.application.impl.c.br(SourceFile:88)
at com.google.android.finsky.application.impl.bo.a_(SourceFile:7)
at b.b.a.f.a(SourceFile:11)
at com.google.common.util.concurrent.s.a(SourceFile:5)
at com.google.common.util.concurrent.r.run(SourceFile:17)
at com.google.common.util.concurrent.bn.run(SourceFile:3)
at com.google.android.apps.gsa.a.f.a.i.run(SourceFile:7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at com.google.android.finsky.bn.w.run(Unknown Source:5)
at java.lang.Thread.run(Thread.java:764)
2019-01-14 12:40:03.077 4938-6773/? D/ConnectivityService: filterNetworkStateForUid() uid: 10443 networkInfo: [type: WIFI[] - WIFI, state: CONNECTED/CONNECTED, reason: (unspecified), extra: "Acumen", failover: false, available: true, roaming: false, metered: false]
2019-01-14 12:40:03.085 31384-31409/? D/StrictMode: StrictMode policy violation: android.os.StrictMode$StrictModeDiskReadViolation: policy=65599 violation=2
at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1438)
at android.app.SharedPreferencesImpl.awaitLoadedLocked(SharedPreferencesImpl.java:233)
at android.app.SharedPreferencesImpl.contains(SharedPreferencesImpl.java:300)
at com.google.android.finsky.ah.k.a(SourceFile:5)
at com.google.android.finsky.ah.q.a(SourceFile:5)
at com.google.android.finsky.analytics.al.a(SourceFile:32)
at com.google.android.finsky.application.impl.c.a(SourceFile:92)
at com.google.android.finsky.application.impl.c.br(SourceFile:88)
at com.google.android.finsky.application.impl.bo.a_(SourceFile:7)
at b.b.a.f.a(SourceFile:11)
at com.google.common.util.concurrent.s.a(SourceFile:5)
at com.google.common.util.concurrent.r.run(SourceFile:17)
at com.google.common.util.concurrent.bn.run(SourceFile:3)
at com.google.android.apps.gsa.a.f.a.i.run(SourceFile:7)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at com.google.android.finsky.bn.w.run(Unknown Source:5)
at java.lang.Thread.run(Thread.java:764)
感谢任何可能的帮助
提前致谢
解决方案
推荐阅读
- python - 如何在 tkinter 中使用 Entry.get() 函数?
- tensorflow - 在不更改客户端代码的情况下使用 AWS Elastic Inference
- python - Css没有在Django中加载
- php - 是否可以在本地主机上使用 Instagram 基本显示 API?
- reactjs - Object 或 Boolean 如何在 Typescript 中声明类型
- null - express + express-graphql helloworld returns null
- c# - 部署的 azure 函数从 GraphApi Rest 调用收到错误请求,但操作成功
- unity3d - Unity3d 文本资源
- c# - 有没有办法使 Web API 方法成为内部方法?
- scala - Doobie 和 AWS Xray 追踪