1. Download our Official Android App: Forums for Android!

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

Discussion in 'Android Development' started by Bee Torika, May 4, 2016.

  1. Bee Torika

    Bee Torika Member
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    35
    Joined:
    Nov 12, 2015

    Nov 12, 2015
    35
    2
    26
    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
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,308
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,308
    10,420
    1,988
    Male
    Software developer
    South West of England
    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.
     
  3. Bee Torika

    Bee Torika Member
    Thread Starter
    Rank:
    None
    Points:
    26
    Posts:
    35
    Joined:
    Nov 12, 2015

    Nov 12, 2015
    35
    2
    26

    Thank you for your kind answer : )
     

Share This Page

Loading...