I'm Using Redmi 3s mobile. I got same problem.
Solution: This issue is common on Xiaomi phones running MIUI 8. This can resolved by turning off MIUI optimizations from Developer Options in Settings app. Then recompile the app and voila it works.
Settings --> Additional settings --> Developer options --> Turn Off MIUI optimization
Or
Settings --> Developer options --> Turn Off MIUI optimization
I got the same problem , just choose clean project then rebuild project from build menu , it's solved my problem
Disable Instant Run
Preferences > Build, Execution, Deployment > Instant Run
Source: comment by @user77309
Today I phased this error and solved it easily.
Path: Android Studio