简体   繁体   English

运行 Android 的 flutter 应用程序时出现此异常

[英]Getting this exception while running flutter app for Android

Can anybody tell me what to do about these error.谁能告诉我如何处理这些错误。 Everything is working fine when I run the same app on ios.当我在 ios 上运行相同的应用程序时,一切正常。 For android I am getting the below exception.对于 android 我得到以下异常。 One error is plugin not found.一个错误是未找到插件。 Another one is some compilation issues.另一个是一些编译问题。

Plugin project :firebase_auth_web not found. Please update settings.gradle.
Plugin project :firebase_core_web not found. Please update settings.gradle.
Plugin project :cloud_firestore_web not found. Please update settings.gradle.


Note: /Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.13.7/android/src/main/java/io/flutter/plugins/firebase/cloudfirestore/CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.12+1/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerPlugin.java:8: error: package android.support.annotation does not exist
import android.support.annotation.VisibleForTesting;
                                 ^
  symbol:   class VisibleForTesting
  location: class ImagePickerDelegate
/Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.12+1/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java:73: error: cannot find symbol
  @VisibleForTesting static final int REQUEST_CODE_TAKE_VIDEO_WITH_CAMERA = 2353;
   ^
  symbol:   class VisibleForTesting
  location: class ImagePickerDelegate
/Users/daljitsingh/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.4.12+1/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java:74: error: cannot find symbol
  @VisibleForTesting static final int REQUEST_EXTERNAL_VIDEO_STORAGE_PERMISSION = 2354;
   ^
  symbol:   class VisibleForTesting
  
FAILURE: Build failed with an exception.

Update the Android Integration part of each of these plugins pub page: https://pub.dev/packages/firebase_auth ...更新每个插件发布页面的 Android 集成部分: https://pub.dev/packages/firebase_auth ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM