BuildConfig not getting created correctly (Gradle Android)

前端 未结 10 700
一生所求
一生所求 2020-12-14 14:07

I am trying to convert our Android application to a gradle build. I have the project and it\'s libraries building successfully. I am now trying to create separate apks fo

10条回答
  •  醉梦人生
    2020-12-14 14:31

    Just in case that helps somebody else, in my case it was a missing import: import uk.co.yourpackage.yourapp.BuildConfig;

    Somehow, nowhere in the doc does it mention you need that include! Made me think it was automatically imported somehow but it ISN'T. not for me at least... So much time lost... Hope that helps another newbie like me!

提交回复
热议问题