12

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
  • 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, 2018 at 14:59

2 Answers 2

12

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

8
  • 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, 2019 at 10:53
  • @user924 odd, it still works for me. Updated answer to include screenshot. Jul 23, 2019 at 17:02
  • Do you have the latest version of Android Studio and SDK 28/29 for building?
    – user924
    Jul 23, 2019 at 17:56
  • or I have to copy and not rename?
    – user924
    Jul 23, 2019 at 17:57
  • I don't use Android Studio or SDK. The apk's I have were downloaded from various sources. Jul 23, 2019 at 17:59
6

Apktool

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

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.