Android的Studio生成/ APK不可见 [英] Android Studio build/apk not visible

查看:302
本文介绍了Android的Studio生成/ APK不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用beta测试的Crashlytics插件,但上载的apk的唯一方法是从Android Studio中拖动。在终端方面,我可以访问<应用> /编译/ APK / ,但在Android的工作室,该文件夹不会显示出来(我可以看到 DEX 皮棉等)。任何想法如何显示呢?

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?

感谢

推荐答案

Android的工作室自动隐藏某些目录索引减少所有这些文件的负荷。如果您在模块的IML文件(例如根/ main_module / main_module.iml)看,你会看到这一行:

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" />

如果您删除线,它就会开始显示根/ main_module /编译/ APK /在文件树。

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

不幸的是,Android的工作室是足够聪明,发现它缺少,当它构建将再次添加它,所以它不是真的值得做。

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.

您可以看到多一点的谈话我已经受够了的Google员工就到这里了Android Studio项目之一:<一个href=\"https://plus.google.com/104239612059033457922/posts/RVq9e9Viux5\">https://plus.google.com/104239612059033457922/posts/RVq9e9Viux5

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

这篇关于Android的Studio生成/ APK不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆