Travis CI build doesn't work with Android Constraint Layout

前端 未结 6 1402
梦谈多话
梦谈多话 2020-12-25 13:07

I am trying to make Travis build my Android project. It fails when it tries to download the library for ConstraintLayout. Do you know what I have to do to make

6条回答
  •  一向
    一向 (楼主)
    2020-12-25 13:58

    Your build.gradle is attempting to pull in com.android.support.constraint:constraint-layout:1.0.0-alpha2. My SDK Manager only offers me 1.0.0-alpha1 (Rev 32 of the Android Support Repository). Perhaps Travis CI also only has 1.0.0-alpha1 as well.

    Since I presume that you have 1.0.0-alpha2 working on your development machine, I am not quite certain what is going on here. There might be a glitch in the distribution packaging of the Android Support Repository or something.

提交回复
热议问题