Error:Program type already present: android.arch.lifecycle.LiveData

前端 未结 10 929
迷失自我
迷失自我 2020-12-06 04:32

When I press the run button in Android Studio, my app compiles but shows this error (redacted):

Error:Program type a         


        
10条回答
  •  有刺的猬
    2020-12-06 05:01

    @Edric: since I couldn't replay with images in the thread I am answering your question here.

    Changes that worked for me:

    PS: I also upgraded distributionUrl in gradle-wrapper.properties to http://services.gradle.org/distributions/gradle-4.6-all.zip

提交回复
热议问题