首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:无法解决:受影响的模块:应用程序

错误:无法解决:受影响的模块:应用程序
EN

Stack Overflow用户
提问于 2019-05-20 09:01:02
回答 2查看 4.6K关注 0票数 1

错误:无法解决:受影响的模块:应用程序

依赖关系是

代码语言:javascript
复制
dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })

    implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
    implementation 'com.android.support:design:27.0.1'
    implementation 'com.android.support:appcompat-v7:27.0.1'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    implementation 'com.android.support:cardview-v7:27.0.1'
    implementation 'com.github.vivchar:ViewPagerIndicator:v1.0.1'
    implementation 'com.android.support:support-v4:27.0.1'
    implementation 'com.google.code.gson:gson:2.6.2'
    implementation 'com.squareup.retrofit2:retrofit:2.0.2'
    implementation 'com.squareup.retrofit2:converter-gson:2.0.2'
    implementation 'com.squareup.okhttp3:okhttp:3.3.1'
    implementation 'com.jakewharton.timber:timber:3.1.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:3.2.0'
    implementation 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.0.2'
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.android.support:multidex:1.0.1'
    implementation 'com.github.jd-alexander:LikeButton:0.2.3'
    implementation 'de.hdodenhof:circleimageview:2.1.0'
    implementation 'com.leo.simplearcloader:simplearcloader:1.0.+'
    implementation 'com.github.GrenderG:Toasty:1.2.5'
    implementation 'com.facebook.android:facebook-android-sdk:[4,5)'
    implementation 'com.facebook.android:facebook-share:[4,5)'
    implementation 'com.google.android.gms:play-services-auth:11.4.0'
    implementation 'com.google.firebase:firebase-core:11.4.0'
    implementation 'com.google.firebase:firebase-messaging:11.4.0'
    implementation 'com.google.firebase:firebase-ads:11.4.0'
    implementation 'com.anjlab.android.iab.v3:library:1.0.44'
    implementation 'com.getbase:floatingactionbutton:1.10.1'
    implementation 'com.github.shalskar:PeekAndPop:1.1.0'
    implementation 'com.google.android.exoplayer:exoplayer:r2.5.2'
    implementation 'com.facebook.android:audience-network-sdk:4.99.1'
    implementation 'com.google.android.ads.consent:consent-library:1.0.3'
    implementation 'devlight.io:navigationtabbar:1.2.5'
    implementation 'com.miguelcatalan:materialsearchview:1.4.0'
    implementation 'com.github.bhargavms:DotLoader:1.1.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.1'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'

}
apply plugin: 'com.google.gms.google-services'
EN

回答 2

Stack Overflow用户

发布于 2019-05-20 09:08:57

错误:无法解决:受影响的模块:应用程序

将其添加到根build.gradle部分

代码语言:javascript
复制
allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

你应该用

代码语言:javascript
复制
implementation 'com.github.GrenderG:Toasty:1.4.2'
票数 2
EN

Stack Overflow用户

发布于 2019-05-20 10:42:30

吉普烤版1.2.5没有在服务器上找到,请尝试使用更新版本

先决条件

将其添加到根build.gradle文件(而不是模块build.gradle文件)中:

代码语言:javascript
复制
allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

并将其添加到模块的build.gradle文件(确保版本与JitPack匹配):

代码语言:javascript
复制
dependencies {
    ...
    implementation 'com.github.GrenderG:Toasty:1.4.2'
}
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56217539

复制
相关文章

相似问题

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