Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changes file in values.xml android not reflect to run app

I am having problems with android application android studio and already built. Try to change values in the values.xml App->Intermediates->res->debug->values->values.xml file located in the folder. Every time I make a change and compile the application changes are lost. I read about this problem and Instant run, I have applied the possible solutions and I could not get it.

I disabled in Instant Run "Enable instant run to ..." and also "Restart activity ...." without much success. I am working with Studio Android 2.1.3 and the same version for Gradle.

like image 845
sioesi Avatar asked Dec 24 '22 02:12

sioesi


1 Answers

You are changing values in file which is generated by Android Studio, so it is changed every time you build your project. All files inside build folders are generated and there is no need in changing them.

Instead you should put your values in values.xml under app->src->main->res->values.

like image 97
dzikovskyy Avatar answered Dec 26 '22 16:12

dzikovskyy