简体   繁体   English

Flutter 找不到 com.google.android.gms.providerinstaller.dynamite 的本地模块描述符 class

[英]Flutter Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found

*W/DynamiteModule( 6380): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. *W/DynamiteModule(6380):找不到 com.google.android.gms.providerinstaller.dynamite 的本地模块描述符 class。 I/DynamiteModule( 6380): Considering local module com.google.android.gms.providerinstaller.dynamite:0 and remote module com.google.android.gms.providerin staller.dynamite:0 W/ProviderInstaller( 6380): Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. I/DynamiteModule(6380):考虑本地模块 com.google.android.gms.providerinstaller.dynamite:0 和远程模块 com.google.android.gms.providerin staller.dynamite:0 W/ProviderInstaller(无法加载 6380) providerinstaller 模块:找不到可接受的模块 com.google.android.gms.providerinstaller.dynamite。 Local version is 0 and remote version is 0. W/Firestore( 6380): (24.4.0) [Firestore]: Listen for Query(target=Query(users/firstName order by name );limitType=LIMIT_TO_FIRST) failed: Status{code= PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null} E/flutter ( 6380): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: [cloud_firestore/permission-denied] The caller does not have p ermission to execute the specified operation.本地版本为 0,远程版本为 0。W/Firestore(6380): (24.4.0) [Firestore]: Listen for Query(target=Query(users/firstName order by name );limitType=LIMIT_TO_FIRST) failed: Status{ code= PERMISSION_DENIED,description=Missing or insufficient permissions., cause=null} E/flutter (6380): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] 未处理的异常:[cloud_firestore/permission-denied] 调用者确实没有执行指定操作的权限。 E/flutter ( 6380): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7) E/flutter ( 6380): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18) E/flutter ( 6380): E/flutter ( 6380): #2 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:499:43) E/flutter ( 6380): E/flutter ( 6380): #3 MethodChannelDocumentReference.get (package:cloud_firestore_platform_interface/src/method_channel/method_channel_document_refe rence.dart:69:42) E/flutter ( 6380): E/flutter ( 6380): #4 _JsonDocumentReference.get (package:cloud_firestore/src/document_reference.dart:146:7) E/flutter ( 6380): E/flutter ( 6380): #5 ProductList.build. E/flutter (6380):#0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7) E/flutter (6380):#1 MethodChannel._invokeMethod (package:flutter/src/services/ platform_channel.dart:296:18) E/flutter (6380): E/flutter (6380):#2 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:499:43) E/flutter (6380) :E/flutter(6380):#3 MethodChannelDocumentReference.get(包:cloud_firestore_platform_interface/src/method_channel/method_channel_document_reference.dart:69:42)E/flutter(6380):E/flutter(6380):#4_JsonDocumentReference.get (package:cloud_firestore/src/document_reference.dart:146:7) E/flutter (6380): E/flutter (6380): #5 ProductList.build。 (package:firebasekurulum/basket.dart:16:28) E/flutter ( 6380): E/flutter ( 6380): W/Firestore( 6380): (24.4.0) [WatchStream]: (f4f9d06) Stream closed with status: Status{code=CANCELLED, description=Disconnecting idle stream. Timed out waiting for new targets., cause=null}. (包:firebasekurulum/basket.dart:16:28)E/flutter(6380):E/flutter(6380):W/Firestore(6380):(24.4.0)[WatchStream]:(f4f9d06)Stream关闭状态: Status{code=CANCELLED, description=Disconnecting idle stream. Timed out waiting for new targets., cause=null}. * *

import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'basket.dart';

void main() async{
  WidgetsFlutterBinding.ensureInitialized();
  await Firebase.initializeApp();
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          // This is the theme of your application.
          //
          // Try running your application with "flutter run". You'll see the
          // application has a blue toolbar. Then, without quitting the app, try
          // changing the primarySwatch below to Colors.green and then invoke
          // "hot reload" (press "r" in the console where you ran "flutter run",
          // or simply save your changes to "hot reload" in a Flutter IDE).
          // Notice that the counter didn't reset back to zero; the application
          // is not restarted.
          primarySwatch: Colors.blue,
        ),
        home: ProductList()
    );
  }
}
import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_core/firebase_core.dart';

class ProductList extends StatelessWidget {
  final fireStore = FirebaseFirestore.instance;

  @override
  Widget build(BuildContext context) {
    CollectionReference datas = fireStore.collection('users');
    var ref = datas.doc('firstName');
    return Scaffold(
      body: Center(
          child: TextButton(
        child: Text("press"),
        onPressed: () async {
          var response = await ref.get();
          print("here is your data :  $response['firsName']");
        },
      )),
    );
  }
}

I had this message and others too.我收到了这条消息和其他消息。 Following advice, I quit AndroidStudio and then started it up again, and those messages didn't return... Other error messages showed up, but those errors are based on my code: )按照建议,我退出 AndroidStudio,然后再次启动它,但这些消息没有返回……出现了其他错误消息,但这些错误是基于我的代码:)

Hope this helps.希望这可以帮助。

暂无
暂无

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

相关问题 在 Android 中与 Firebase 连接时出错 找不到 com.google.firebase.auth 的本地模块描述符 class - Error Connecting with Firebase in Android Local module descriptor class for com.google.firebase.auth not found W/DynamiteModule:找不到 com.google.firebase.auth 的本地模块描述符类 - W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found 无法加载 providerinstaller 模块:找不到可接受的模块。 本地版本为0,远程版本为0 || Flutter || Firebase - Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0 || Flutter || Firebase 无法加载 providerinstaller 模块:找不到可接受的模块。 本地版本为0,远程版本为0报错flutter - Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0 error flutter 找不到 ID 为“com.google.gms.google-services”的插件。 [ Android ] - Plugin with id 'com.google.gms.google-services' not found. [ Android ] 找不到 ID 为“com.google.gms.google-services”的插件 - Plugin with id 'com.google.gms.google-services' not found Flutter:使用 google_sign_in 时出现 PlatformException(sign_in_failed,com.google.android.gms.common.api.ApiException:10:,null) - Flutter : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) when using google_sign_in Flutter 发布应用程序后出现 Google 签名和电话身份验证错误 com.google.android.gms.common.Z8A5DA52ED1264747A8C3 - Flutter Google Sign and Phone Auth error after publishing the app com.google.android.gms.common.api.b 10 Flutter 和 google_sign_in 插件:PlatformException(sign_in_failed,com.google.android.gms.common.api.ApiException:10:,空) - Flutter and google_sign_in plugin: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null) PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10:, null, null) 尝试在 flutter 中使用 googleSignIn 时 - PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) When trying to use googleSignIn in flutter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM