Getting app build.gradle Sync issue while upgrading to gradle 3.+

前端 未结 1 1468
鱼传尺愫
鱼传尺愫 2021-01-26 23:12

I am in the process of updating a project with many different libs and flavors across all of them. I was able to resolve all of the libs in the project but I am facing an issue

相关标签:
1条回答
  • 2021-01-27 00:03

    Your modules currently doesn't have dimensions, so you should only use one dimension, like into you app's build.gradle flavorDimensions flavor.default.

    (See this part of the documentation and see what are the multiple outputs when you use flavorDimensions.)

    vnfmdata

    ...
    //With only one dimension, you can omit 'dimension' into your flavors
    flavorDimensions flavor.default
    
    productFlavors {
        regular {
            dimension flavor.default
            ...
        }
        no_meridian {
            dimension flavor.default
        }
    }
    

    vnlocationservice

    ...
    //With only one dimension, you can omit 'dimension' into your flavors
    flavorDimensions flavor.default
    
    productFlavors {
        no_meridian {
            dimension flavor.default
        }
        meridian {
            dimension flavor.default
            dependencies {
                ...
            }
        }
    }
    
    0 讨论(0)
提交回复
热议问题