The variable BuildConfig cannot be found, how to deal with android studio

question:

Could not find BuildConfig class name

import package name.BuildConfig

Solution:

Follow the picture below:
1. First select the type of module build
2. Select the module whose BuildConfig class cannot be found
3. Build ——> Make Module "module name" to generate the BuildConfig class, and the system will automatically supplement the import statement

Guess you like

Origin blog.csdn.net/asdcls/article/details/128378678