<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gradle on 只放拖鞋的鞋櫃</title><link>https://jchu.cc/tags/gradle/</link><description>Recent content in Gradle on 只放拖鞋的鞋櫃</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Fri, 30 Oct 2020 16:34:37 +0800</lastBuildDate><atom:link href="https://jchu.cc/tags/gradle/index.xml" rel="self" type="application/rss+xml"/><item><title>Gralde build error</title><link>https://jchu.cc/2020/10/30-gradle.html</link><pubDate>Fri, 30 Oct 2020 16:34:37 +0800</pubDate><guid>https://jchu.cc/2020/10/30-gradle.html</guid><description>&lt;p&gt;在 Android 的 app moudle 裡面，嘗試把一些獨立的類別搬到新增加的一個 library module 的時候，遇到了類似這樣的錯誤&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;gt; The consumer was configured to find an API of a component, as well as attribute &amp;#39;com.android.build.api.attributes.BuildTypeAttr&amp;#39; with value &amp;#39;debug&amp;#39;, attribute &amp;#39;org.jetbrains.kotlin.platform.type&amp;#39; with value &amp;#39;androidJvm&amp;#39;. However we cannot choose between the following variants of project :common-libs:&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>