赞
踩
- eChatHome {
-
- buildConfigField("String", "URL_REMOTE_PREFIX", "\"app/remote/\"")
- buildConfigField("String", "CLIENT_ID", "\"echat-app\"")
- buildConfigField("String", "CUSTOMER", '\"eChatHome\"')
- }
使用gradle8.1.1时编译报错
defaultConfig contains custom BuildConfig fields, but the feature is disabled.
解决办法是:
在gradle.properties文件中增加
android.defaults.buildfeatures.buildconfig=true
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。