As you know all the resources used in your xml file are converted into static fields in R class. As per the information got from http://tools.android.com/tech-docs/instant-run changing static fields are not supported by instant Run.
More Related Contents:
- How do I add a library project to Android Studio?
- OpenCV in Android Studio
- Instant run in Android Studio 2.0 (how to turn off)
- Android- Error:Execution failed for task ‘:app:transformClassesWithDexForRelease’
- How do you import an Eclipse project into Android Studio now?
- Huawei, logcat not showing the log for my app?
- Android Studio – unable to merge from SVN branch
- ActionBarActivity is deprecated [duplicate]
- How do I “select Android SDK” in Android Studio?
- Failed to resolve: com.android.support:appcompat-v7:27.+ (Dependency Error) [duplicate]
- How to downgrade Android Emulator
- Android Gradle Apache HttpClient does not exist?
- android studio adb Syntax error: “)” unexpected
- Android N requires the IDE to be running with Java 1.8 or later?
- Android Studio : unmappable character for encoding UTF-8
- no cached version available for offline mode
- Gradle Duplicate Entry: java.util.zip.ZipException
- Gradle 0.9.+/0.9.2 error: Unable to load class ‘com.android.builder.testing.api.DeviceProvider’
- NDK: how include *.so files in AndroidStudio
- Add pre-built .so files in project using Android Gradle plugin 0.7.3
- Getting error says – “Entry name ‘res/layout/test_toolbar.xml’ collided” while creating signed apk
- Android Studio – SDK is out of date or is missing templates
- How to perform minification and obfuscation with the JACK compiler?
- How to create a release android library package (aar) in Android Studio (not debug)
- Android Studio: how to generate signed APK using Gradle?
- Can’t change emulated performance of AVD in Android Studio
- Where is a “Sync project with gradle files” button in Android Studio 3?
- Difference between make and build in Android Studio
- “Duplicate lib file copied in APK-META-INF/license.txt ” error in Android Studio
- Android Studio SDK location