A class created automatically by the Android Development Tools (ADT) plugin for Eclipse, with information about how the project build was configured.
Questions tagged [buildconfig]
94 questions
1
vote
0 answers
Android Studio - Cannot resolve symbol 'BuildConfig'
I am trying to import
import com.example.app.BuildConfig;
but When I am doing so, this error is coming
Cannot resolve symbol 'BuildConfig'
and then I am doing this:-
TextView version = findViewById(R.id.version);
…

Prachi Chouksey
- 21
- 2
1
vote
1 answer
Use environment variable with oc patch
I am currently trying to modify my image:tag in my build config from shell command using oc patch.
My command is as such :
oc patch bc/my-bc-name --patch '{"spec":{"strategy":{"sourceStrategy":{"from":{"name": "image:tag" }}}}}'
what i want to do…

Jason dricks
- 51
- 1
- 1
- 5
1
vote
1 answer
Using BuildConfig.FLAVOR with android databinding
I have used below code in my layout file to change two different view visibility according to flavor type of the application. I haven't seen any problems with debug build but i believe there is an issue with release build because I have been…

caneru
- 391
- 1
- 2
- 15
1
vote
1 answer
OpenShift BuildConfig Docker strategy spec.output.to.name using environment variable for tagging
I have defined the following OpenShift BuildConfig:
output:
to:
kind: DockerImage
name: myregistry.com/myapp:${TAG}
strategy:
type: Docker
dockerStrategy:
from:
kind: ImageStreamTag
…

Kok How Teh
- 3,298
- 6
- 47
- 85
1
vote
2 answers
I am not getting FLAVOR string in BuildConfig , it is Missing in BuildConfig in Android Studio
How to generate the missing one ? public static final String FLAVOR = "";`
Missing FLAVOR in BuildConfig in Android Studio.It should be like this
public final class BuildConfig {
public static final boolean DEBUG =…

anwar alam
- 582
- 5
- 19
1
vote
1 answer
Using Project Config with Delphi 2009 and Finalbuilder 6
Does anyone have any experience of using the project config option with the Delphi Compile Action in Finalbuilder 6.
Currently the build server is set up to manually have all the correct search paths, Compiler options etc set directly on the compile…

Toby Allen
- 10,997
- 11
- 73
- 124
1
vote
2 answers
Persist Cordova settings in Xcode
I'd like to be able to build my project and open it in Xcode, without having to manually set variables through the Xcode UI. I started using Cordova's buildConfig parameter to specify some settings (especially using the legacy build system and…

Crag
- 1,723
- 17
- 35
1
vote
1 answer
shared libraries not found while running the executable, even the shared library exists in the specified path
I am trying to run an executable in Ubuntu 16.04. but it is giving me below error.
error while loading shared libraries: libswscale.so.3: cannot open shared object file: No such file or directory
:~/ga-projects/gaminganywhere-master/bin$ ldconfig…

Satya Harish
- 88
- 1
- 10
1
vote
1 answer
Xcode - How to auto select resource based on build config?
So just like the question's title, does Xcode have this feature so that we can select which resource to compile based on build config?
For example I have 2 build config: A and B
can I do something like this in my project structure:
- A
--…

shiody_
- 11
- 3
1
vote
1 answer
In IAR v8.11, is there a predefined variable name for build configuration?
I am using IAR V 8.11.
I am currently using the build configuration to build for different platforms.
I want to be able to output the files that are generated from the build process into directories that are labelled with the build configuration…

chumbaloo
- 671
- 6
- 16
1
vote
1 answer
How can I build a git tag on Openshift Origin?
How can create BuildConfig to build an specific git tag on Openshift Origin?
I did not found on documentation
I have tried commit and taglike following:
source:
type: Git
git:
uri: 'https://github.com/luiscoms/gravity-world.git'
…

LuisComS
- 452
- 4
- 20
1
vote
1 answer
Consistent build type in CMake and Visual Studio
Is it possible to pass the build type (Debug, Release) from Visual Studio to CMake? Currently I am doing this manually in a two step process:
Change the CMakeLists.txt file in the top project directory as:
cmake_minimum_required (VERSION 3.1.0)
set…

NameRakes
- 463
- 6
- 12
1
vote
1 answer
Android runtime error with release version but not debug version
The following error is occurring when running the release version of my app, but not the debug version:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cloud3squared.meteogram/com.cloud3squared.meteogram.Meteogram}:…

drmrbrewer
- 11,491
- 21
- 85
- 181
1
vote
0 answers
Declare variables in gradle to use in Android project
I am reading config fields from an environment.properties file that I would like to reuse in my Android application. I have tried various ways to get values from gradle's build without success (Gradle 2.7):
buildTypes {
debug {
…

Jerec TheSith
- 1,932
- 4
- 32
- 41
1
vote
0 answers
Grails 2.4.4 - Includes Guava, I need guava 14.x or newer
How does one go about, excluding Grails provided libraries from projects that require later versions of certain libraries?
An example I have is the need to use a later version of Guava. Grails or Intellij include it from $GRAILS_HOME/libs.
$ find…

Chris Collins
- 11
- 3