Different variable values for debug and release

(Ruslan Ivakhnenko) #1

Hi, I have an Android project. I need to have a different value when I build debug or release project in Java code. I have a file /src/packagename/myfile.java with variable : private boolean isServerSide = false; How can I replace value of this variable when I build a repease or debug apk file?