当前位置: 首页 > 知识库问答 >
问题:

firebase_messaging:^4.0.0+4不工作

韶镜
2023-03-14

应用程序级Build.Gradle

adroid.manifest.xml

<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:largeHeap="true" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
    <!-- This keeps the window background of the activity showing
    until Flutter renders its first frame. It can be removed if
    there is no splash screen (such as the default splash screen
    defined in @style/LaunchTheme). -->
    <meta-data android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" android:value="true" />

    <intent-filter>
        <action android:name="android.intent.action.MAIN"/>
        <category android:name="android.intent.category.LAUNCHER"/>
    </intent-filter>

</activity>

共有1个答案

空英达
2023-03-14
 dependencies {
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'com.android.support.test:runner:1.0.2'
        androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
        implementation 'com.google.firebase:firebase-core:16.0.1' } 
apply plugin: 'com.google.gms.google-services' com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck
    = true
 类似资料:
  • 找不到com.android.tools.build:Gradle:4.0.0. https://jcenter.bintray.com/com/android/tools/build/gradle/4.0.0/gradle-4.0.0.pom

  • 在过去的几天里,我一直在进行故障排除,我似乎无法让表达式hasRole工作。我使用的是sping-Security 4.0.1 我的Spring Securityxml 我的所有角色都存储在数据库中,其模式类似于此链接中的1。在自定义的userDetailService中,我将从数据库中加载它。我的角色价值观是这样的 我甚至试着加上前缀“ROLE\uux”,但我似乎无法实现。 下面是关于如何使用h

  • 路线。php 控制器:admin_news.php 型号:News_model.php 视图:管理员/新闻/edit.php

  • 从git在Angular 4 cli中创建指令 /Angular/projectName$ng生成指令DirectiveName 应该管用 [注意:DirectiveName是唯一的,与组件名称或模块名称不匹配] 但我犯了一个错误 错误:多个模块匹配。使用跳过导入选项跳过将组件导入最近的模块。多个模块匹配。使用跳过导入选项跳过将组件导入最近的模块。

  • 我的spring security xml 我的所有角色都存储在数据库中,并且有一个类似于此链接中的1的模式。在我的自定义中,我将从数据库加载它。我的角色价值观是这样的 我甚至尝试过把前缀“role_”,但我似乎不能让它工作。

  • 我无法在我的web应用中使用ResourceHandler。这是我的ResourcesHandler实现 我的项目结构: 我的应用在tomcat8 webapp文件夹: 我尝试使用javascript编写此代码,但不起作用: 我试图删除addResourceHandler中的"classpath:",但没有成功。我怎么才能修好它?