首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法解析符号“MoEInitializer”

无法解析符号“MoEInitializer”
EN

Stack Overflow用户
提问于 2021-02-02 19:16:44
回答 1查看 47关注 0票数 0

我正在尝试在我的flutter应用程序上安装MoEngage SDK。我需要根据文档将本地代码添加到我的项目中。我在SampleApplication.java文件中得到这个导入错误

我已经添加了依赖项

代码语言:javascript
复制
dependencies {
    implementation "com.android.support:support-v4:25.3.1"
    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 fileTree(dir: 'libs', include: ['*.jar'])
    implementation "androidx.core:core:1.3.1"
    implementation "androidx.appcompat:appcompat:1.2.0"
    implementation "androidx.lifecycle:lifecycle-process:2.2.0"
    implementation "com.moengage:moe-android-sdk:10.6.00"
    implementation 'com.google.firebase:firebase-messaging:21.0.1'
}
EN

回答 1

Stack Overflow用户

发布于 2021-11-10 08:52:13

您需要在flutter pubspec.yaml文件中添加依赖项

代码语言:javascript
复制
dependencies:
    moengage_flutter: $lastestVersion

另外,别忘了运行flutter pub get

正如纪录片所说的那样,here

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66008629

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档