BuildConfig not getting created correctly (Gradle Android)

前端 未结 10 743
一生所求
一生所求 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:38

    I had similar problem related to build types being setup using .initWith(someotherbuildtype), BuildConfig was not being created properly. I had to switch to the parent build variant and build that first, then the build types that initWith the parent built fine.

提交回复
热议问题