应用程序在调试模式下工作,而在发布模式下不工作

时间:2020-06-26 03:17:04

标签: flutter dart

[GetToken] GetToken failed with status code: BadAuthentication
 2020-06-26 08:43:50.562 4651-5918/? W/Auth: [GoogleAuthUtil]
 GoogleAuthUtil 2020-06-26 08:43:50.578 4618-5370/? E/Auth:
 [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION.
 Account: <ELLIDED:1343047086>, App: com.google.android.gms, Service:
 oauth2:https://www.googleapis.com/auth/login_manager
     rmh: Long live credential not available.
         at gbk.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):18)
         at fzt.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):166)
         at cqz.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):227)
         at cqz.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):106)
         at cqz.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):243)
         at cox.onTransact(:com.google.android.gms@201817021@20.18.17 (040408-311416286):5)
         at android.os.Binder.transact(Binder.java:604)
         at csu.onTransact(:com.google.android.gms@201817021@20.18.17 (040408-311416286):2)
         at android.os.Binder.transact(Binder.java:604)
         at zww.onTransact(:com.google.android.gms@201817021@20.18.17 (040408-311416286):16)
         at android.os.Binder.execTransact(Binder.java:674) 2020-06-26 08:43:50.578 4618-5370/? W/Auth: [GetToken] GetToken failed with
 status code: BadAuthentication 2020-06-26 08:43:50.591 1726-1777/?
 E/SQLiteLog: (13) statement aborts at 7: [INSERT OR REPLACE  INTO
 stats(tenantid,statsvalue) VALUES (?,?)] database or disk is full
 2020-06-26 08:43:50.600 4651-5918/? W/Auth: [GoogleAuthUtil]
 GoogleAuthUtil 2020-06-26 08:43:50.605 1726-1777/? E/SQLiteLog: (13)
 statement aborts at 7: [INSERT OR REPLACE  INTO
 stats(tenantid,statsvalue) VALUES (?,?)] database or disk is full
 2020-06-26 08:43:50.616 4618-5370/? E/Auth:
 [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION.
 Account: <ELLIDED:1343047086>, App: com.google.android.gms, Service:
 oauth2:https://www.googleapis.com/auth/login_manager
     rmh: Long live credential not available.
         at gbk.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):18)
         at fzt.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):166)
         at cqz.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):227)
         at cqz.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):106)
         at cqz.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):243)
         at cox.onTransact(:com.google.android.gms@201817021@20.18.17 (040408-311416286):5)
         at android.os.Binder.transact(Binder.java:604)
         at csu.onTransact(:com.google.android.gms@201817021@20.18.17 (040408-311416286):2)
         at android.os.Binder.transact(Binder.java:604)
         at zww.onTransact(:com.google.android.gms@201817021@20.18.17 (040408-311416286):16)
         at android.os.Binder.execTransact(Binder.java:674) 2020-06-26 08:43:50.616 4618-5370/? W/Auth: [GetToken] GetToken failed with
 status code: BadAuthentication 2020-06-26 08:43:50.633 4651-5918/?
 W/Auth: [GoogleAuthUtil] GoogleAuthUtil 2020-06-26 08:43:50.649
 2575-4787/? V/AlarmManager: APP set(PendingIntent{14f8fa9:
 PendingIntentRecord{fad19df com.google.android.gms startService}}) :
 type=3 triggerAtTime=6195234 win=-1 tElapsed=6195234
 maxElapsed=6195234 interval=0 flags=0x0 2020-06-26 08:43:50.649
 2575-4787/? D/AlarmManager: set alarm to RTC 6195234 Type: 3
 2020-06-26 08:43:50.654 4651-5918/? W/ChromeSync: [Sync,SyncAdapter]
 Failed to sync.
     qmw: com.google.android.gms.auth.UserRecoverableAuthException: BadAuthentication
         at qrh.b(:com.google.android.gms@201817021@20.18.17 (040408-311416286):133)
        at qrb.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):31)
         at sie.onPerformSync(:com.google.android.gms@201817021@20.18.17
 (040408-311416286):9)
         at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)
      Caused by: com.google.android.gms.auth.UserRecoverableAuthException:
 BadAuthentication
         at fwl.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):3)
         at fwg.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):5)
         at fwl.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):8)
         at fwl.c(:com.google.android.gms@201817021@20.18.17 (040408-311416286):14)
         at fwl.b(:com.google.android.gms@201817021@20.18.17 (040408-311416286):1)
         at fwf.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):2)
         at seg.b(:com.google.android.gms@201817021@20.18.17 (040408-311416286):0)
         at scy.d(:com.google.android.gms@201817021@20.18.17 (040408-311416286):4)
         at sdn.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):32)
         at qrh.b(:com.google.android.gms@201817021@20.18.17 (040408-311416286):131)
         at qrb.a(:com.google.android.gms@201817021@20.18.17 (040408-311416286):31) 
         at sie.onPerformSync(:com.google.android.gms@201817021@20.18.17
 (040408-311416286):9) 
         at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)

Flutter doctor --verbose
[✓] Flutter (Channel stable, v1.17.4, on Linux, locale en_US.UTF-8)
    • Flutter version 1.17.4 at /home/midhilajm/flutter
    • Framework revision 1ad9baa8b9 (8 days ago), 2020-06-17 14:41:16 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/midhilajm/Android/Sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /home/midhilajm/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[!] Android Studio (version 3.4)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 39.0.1
    • Dart plugin version 183.6270
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 3.5)
    • Android Studio at /home/midhilajm/android-studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] VS Code (version 1.44.2)
    • VS Code at /usr/share/code
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Lenovo K8 Plus • HNB4KQM7 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 2 categories.
Process finished with exit code 0



环境: sdk:“> = 2.7.0 <3.0.0”

dependencies:
  flutter:
    sdk: flutter


  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.3
  fancy_bottom_navigation: ^0.3.2
  search_widget: ^1.0.2
  firebase_auth: ^0.16.1
  firebase_core: ^0.4.5
  # Add the dependency for the FlutterFire plugin for Google Analytics
  firebase_analytics: ^5.0.14
  # Add the dependencies for any other Firebase products you want to use in your app
  cloud_firestore: ^0.13.6
  http: ^0.12.1
  cached_network_image: ^2.2.0+1
  carousel_pro: ^1.0.0
  flutter_rating_bar: ^3.0.1+1
  url_launcher: ^5.4.10
  badges: ^1.1.1
  file_picker: ^1.9.0+1
  firebase_storage: ^3.1.6
  progress_dialog: ^1.2.3
  flutter_secure_storage: ^3.3.3
  shimmer: ^1.1.1
  firebase_messaging: ^6.0.16
  camera:
  path_provider:
  path:
  visibility_detector: ^0.1.5
  intl: ^0.16.1
  video_player: ^0.10.11+1
  image_downloader: ^0.19.2
  get: ^2.11.0
  flutter_phoenix: ^0.1.0
  video_thumbnail: ^0.2.1
  esys_flutter_share: ^1.0.2
  auto_size_text: ^2.1.0
  flutter_progress_button: ^1.0.0
  fluttertoast: ^4.0.1
  imei_plugin: ^1.1.6



E/flutter: [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings.
    [ERROR:flutter/runtime/dart_vm.cc(248)] Could not setup VM data to bootstrap the VM from.
    [ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart VM instance.
A/flutter: [FATAL:flutter/shell/common/shell.cc(268)] Check failed: vm. Must be able to initialize the VM.
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16702 (s.sharechapplus), pid 16702 (s.sharechapplus)

0 个答案:

没有答案