Where is BuildConfig.DEBUG?

后端 未结 4 960
闹比i
闹比i 2021-02-01 16:54

My project doesn\'t seem to be aware of this new constant that\'s apparently auto-generated in Android Tools r17 builds:

\"Added a feature that allows you to run some co

4条回答
  •  渐次进展
    2021-02-01 17:28

    IntelliJ apparently doesn't support generation of this file. I use IntelliJ to edit my code but ant to compile it, and the BuildConfig stuff is being generated for me. So you could either wait for IntelliJ to produce an update which generates BuildConfig or switch to ant for compilation.

提交回复
热议问题