10

I'm trying to inspect an APK of an Android app I'm developing. I was able to open and decompress APK files using the Archive Manager application (file-roller, the standard app for compressed files), but I don't know if it's because of the latest Android Studio IDE changes or if it has to do with Ubuntu 18.04 that now I can't.

If I try to open an APK file with this Archive Manger I fails with a dialog saying:

Could not open "app-debug.apk"

Archive type not supported.

  • 1
    I've got another machine with Ubuntu 16.04 on it and the archive manager can open the same APK there. – Akronix Jun 9 '18 at 14:59
7

Workaround: copy [whatever].apk to [whatever].zip

cp whatever.apk whatever.zip

Then Archive Manager will work with the .zip version

enter image description here

| improve this answer | |
  • Well it doesn't work just by changing the extension from apk to zip. Yes I remember it worked sometimes before but now with the latest Android Studio, SDK it doesn't work. Only default archive app of Windows can open it but not Ubuntu's.... – user924 Jul 23 '19 at 10:53
  • @user924 odd, it still works for me. Updated answer to include screenshot. – Organic Marble Jul 23 '19 at 17:02
  • Do you have the latest version of Android Studio and SDK 28/29 for building? – user924 Jul 23 '19 at 17:56
  • or I have to copy and not rename? – user924 Jul 23 '19 at 17:57
  • I don't use Android Studio or SDK. The apk's I have were downloaded from various sources. – Organic Marble Jul 23 '19 at 17:59
5

Apktool

It is the perfect tool for opening and analyzing apk files, and it is cross-platform and open source :D

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.