• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps popup of 'changes have been made to .... '

Bee Torika

Newbie
Nov 12, 2015
35
2
Hi !

Whenever I change codes , there is popup 'Changes have been made to ~~~~~~ in memory and on disk'..

Why is this shown always, and how can I prevent this things happened..?
( I use Android studio 2.1)
(I save a project external hard disk to save project.)


a.png


It is shown too many times...

Any idea to solve this ?

Thanks
 
I think this is probably the Instant Run feature introduced with AS 2.0. It actually makes your development more efficient, because any changes to your code are detected, and hot-swapped into the running app. This avoids a redeployment of the APK, so things are a lot quicker.
However if you wish you can disable this feature:

Disabling Instant Run
To disable Instant Run:

  1. Open the Settings or Preferences dialog.
  2. Navigate to Build, Execution, Deployment > Instant Run.
  3. Uncheck the box next to Enable Instant Run.
 
Upvote 0
I think this is probably the Instant Run feature introduced with AS 2.0. It actually makes your development more efficient, because any changes to your code are detected, and hot-swapped into the running app. This avoids a redeployment of the APK, so things are a lot quicker.
However if you wish you can disable this feature:

Disabling Instant Run
To disable Instant Run:

  1. Open the Settings or Preferences dialog.
  2. Navigate to Build, Execution, Deployment > Instant Run.
  3. Uncheck the box next to Enable Instant Run.


Thank you for your kind answer : )
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones