Questions tagged [buildconfig]

A class created automatically by the Android Development Tools (ADT) plugin for Eclipse, with information about how the project build was configured.

94 questions
0
votes
1 answer

How can I document or exclude the generated BuildConfig class in my documentation?

Apparently, since Android SDK 17, builds generate an automatic class called BuildConfig and add it to my package. http://android-developers.blogspot.com/2012/03/updated-sdk-tools-and-adt-revision-17.html says: Added a feature that allows you to run…
Michael Levy
  • 13,097
  • 15
  • 66
  • 100
0
votes
1 answer

OpenCV samples get "Failed to create BuildConfig class"

I am currently trying to run the OpenCV samples for Android found here (I have tried with more recent versions, but I followed the suggestion from this question's answer) and am running into the error Failed to create BuildConfig class as well as…
Noha Kareem
  • 1,748
  • 1
  • 22
  • 32
-1
votes
2 answers

BuildConfig.DEBUG expecting member declaratuon Error

Why using BuildConfig.DEBUG inside companion object cause expecting member declaratuon Error? code: class API { companion object { private lateinit var instance: Retrofit private const val baseUrl = baseURL if…
SadeQ digitALLife
  • 1,403
  • 4
  • 16
  • 22
-1
votes
1 answer

errors when database-migration plugin is defined in BuildConfig

My attempt to follow suggested good practice and put plugins in BuildConfig.groovy instead of application.properties, won't work for database-migration. I have tried defining it with scopes of compile, build and runtime. When I run grails…
1 2 3 4 5 6
7