Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio build/apk not visible

I'm using the Crashlytics plugin for beta testing, but the only way to upload an apk is to drag it from within Android Studio. In the terminal, I can access <app>/build/apk/, but in Android Studio, that folder is not showing up (I can see dex, lint etc). Any idea how to display it?

Thanks

like image 650
mbmc Avatar asked Apr 23 '26 20:04

mbmc


1 Answers

Android Studio automatically hides certain directories to reduce the load of indexing all those files. If you look in your module's iml file (e.g. root/main_module/main_module.iml), you'll see this line:

<excludeFolder url="file://$MODULE_DIR$/build/apk" />

If you remove that line, it will start showing root/main_module/build/apk/ in the file tree.

Unfortunately, Android Studio is smart enough to notice that it's missing and will add it again when it builds, so it's not really worth doing.

You can see a little more of the conversation I've had with one of the Googler's on the Android Studio project here: https://plus.google.com/104239612059033457922/posts/RVq9e9Viux5

like image 174
Phazor Avatar answered Apr 26 '26 16:04

Phazor