BuildConfig是公共的,应在名为BuildConfig.java的文件中声明 [英] BuildConfig is public, should be declared in a file named BuildConfig.java

查看:764
本文介绍了BuildConfig是公共的,应在名为BuildConfig.java的文件中声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我运行Android应用程序时,似乎都会出现此错误.

Seem to be getting this occurring error whenever I run my android application.

解决该问题的唯一方法是重建项目并再次正常运行.

The only way to get around it is by rebuilding the project and runs normally again.

如果有人知道其原因,将不胜感激

If anyone knows the reason for this will be much appreciated

推荐答案

固定更新:克隆了我的代码的新副本,并删除了一些此处不需要的无关文件

Fixed Update: Cloned a fresh copy of my code and deleted some of the irrelevant files not needed here What should be in my .gitignore for an Android Studio project?

这篇关于BuildConfig是公共的,应在名为BuildConfig.java的文件中声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆