无法解决多模块/风味的依赖关系

时间:2019-11-21 14:59:40

标签: android gradle multi-module

我正在尝试构建具有风味的多模块应用程序,但是,一旦我将应用程序模块实现为登录模块中的依赖项,我就会收到“错误:无法解析依赖项”。 结合使用Kotlin Gradle DSL和buildSrc来保持依赖项可管理的atm,如果需要的话,我会发布代码

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="col-12">
  <div class="container ">
    <div class="inner">
      <div id="myDIV row" class="row no-margin ">

        <div class="card card1 col-4 active" id="card1">
          <center>
            <div class="cardheadertext">Panel 1</div>
            <div class="catdmaintext">Panel body text here. <br> Panel body text here. <br> Panel body text
              here. <br> Panel body text here. <br> Panel body text here. <br></div>
            <div class="cardlinktext"><a href="#">Click Here...</a></div>
          </center>
        </div>


        <div class="card col-4" id="card2">
          <center>
            <div class="cardheadertext">Panel 2</div>
            <div class="catdmaintext">Panel body text here. <br> Panel body text here. <br> Panel body text
              here. <br> Panel body text here. <br> Panel body text here. <br></div>
            <div class="cardlinktext"><a href="#">Click Here...</a></div>
          </center>
        </div>


        <div class="card col-4" id="card3">
          <center>
            <div class="cardheadertext">Panel 3</div>
            <div class="catdmaintext">Panel body text here. <br> Panel body text here. <br> Panel body text
              here. <br> Panel body text here. <br> Panel body text here. <br></div>
            <div class="cardlinktext"><a href="#">Click Here...</a></div>
          </center>
        </div>
      </div>
    </div>
  </div>

  <div class="qu-container" style="display: none;"><a href="#" class="qu-btn w-button active"
      onClick="validateForm('Request_More_Information')">Request more information</a>
  </div>
  <div class="qu-container" style="display: none;"><a href="#" class="qu-btn w-button active"
      onClick="validateForm('Request_More_Information')">Request more information</a>
  </div>
</div>

当尝试重建应用程序时,我得到以下信息

ERROR: Unable to resolve dependency for ':module_feature_login@rbmDebug/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@rbmDebugAndroidTest/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@rbmDebugUnitTest/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@rbmRelease/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@rbmReleaseUnitTest/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@metasaluteDebug/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@metasaluteDebugAndroidTest/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@metasaluteDebugUnitTest/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@metasaluteRelease/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login

ERROR: Unable to resolve dependency for ':module_feature_login@metasaluteReleaseUnitTest/compileClasspath': Could not resolve project :app.
Show Details
Affected Modules: module_feature_login 

0 个答案:

没有答案