美文网首页
Could not find :app-ptt-release:

Could not find :app-ptt-release:

作者: 晓晓桑 | 来源:发表于2019-05-31 14:40 被阅读0次

    bug信息:
    Could not find :app-ptt-release:.
    Required by:
    project :app > project :fusion
    Search in build.gradle files

    添加

    allprojects {
        repositories {
            jcenter()
            maven { url "https://jitpack.io" }
            /**子模块含有aar:添加全局引用*/
            flatDir {
                // 由于Library module中引用了 fusion 库的 aar,在多 module 的情况下,
                // 其他的module编译会报错,所以需要在所有工程的repositories
                // 下把Library module中的libs目录添加到依赖关系中
                dirs project(':fusion').file('libs')
            }
        }
    }
    
    /**子模块含有aar*/
        repositories {
            flatDir {
                dirs 'libs','../fusion/libs' //我的aar在fusion Module下
            }
        }
    

    相关文章

      网友评论

          本文标题:Could not find :app-ptt-release:

          本文链接:https://www.haomeiwen.com/subject/thowtctx.html