Android Studio build/apk not visible

♀尐吖头ヾ 提交于 2019-12-10 21:45:35

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/24170818/android-studio-build-apk-not-visible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!