Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not getting updated apk file, project running on android studio

How to clean a project in Android Studio? I have changed the project from Eclipse and my apk file is not updating, it contains the old apk file from Eclipse. I did rebuild project, doesn't help. Also checked Out folder, no apk for this project is there. Also I changed my project name once while it was in Eclipse. Now the Out folder still contains the old projectname.apk file. Would really appreciate your help.

like image 607
MSIslam Avatar asked Jun 05 '13 16:06

MSIslam


2 Answers

When you think that Android Studio (or Intellij IDEA) isn't picking up an externally made change, sometimes File -> Invalidate Caches... can help.

like image 189
Barry O'Neill Avatar answered Oct 21 '22 11:10

Barry O'Neill


In my own case, deleting the existing/old apk in the output folder helped to resolve this issue. If you run into this problem, it might be worth trying the following sequence of steps:

  • I opened my file manager and deleted the existing apk file.
  • I opened Android studio and clicked on Build APK(s).
like image 36
Taslim Oseni Avatar answered Oct 21 '22 12:10

Taslim Oseni