简体   繁体   中英

Android studio dont run an updated app version

Few weeks ago I finished develop a new app in android studio. I moved the project folder into a hard-disk, formated my computer and download android studio again. I have opened the project and run it and it work perfectly, but when I do some changes in the code and run it again, its just run the old version and not the updated. No matter what I edit in the code, its does not affect the app.

What can I do?

Are you emulating on your computer or the actual device? If you delete the app off the device and run again maybe that will launch the new version. It seems that android studio is running your old project so somewhere in the run configurations you need to make sure that android studio launches the most recent activity file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM