I've researched articles on this and nothing seems to work. I am trying to run the code with an emulator. All the data is wiped on the emulator.
When i run the code on the emulator I get an error:
When I click OK. I get this error:
I am unsure how to get rid of this message. Any help?
Things done so far:
Did you tried below steps -
Turn off Instant Run feature from settings(File ~> Settings ~> Build, Execution, Deployment).
Perform a clean build.
Turn on Instant Run feature from settings.
Perform a clean build.
Invalidate Cache/ Restart
from menu
option
Note :- If you have any device connected with system then disconnect first.