Android 必知必会
来源:互联网 发布:电脑分辨率测试软件 编辑:程序博客网 时间:2024/05/21 14:59
如果移动端访问不佳,请访问 ==> Github 版
今天收到邮件提示 exploded-aar
目录问题在 gradle plugin 2.5
版本修复好了。
Marked as Fixed
in 2.3/2.4 you can look in the build cache entries and look in the input file that indicate the source of the cache entry (maven coordinate).
in 2.5+ we switched to Gradle’s own cache so you’ll have to look in the gradle folder.
If all you need is manually get the aar content you could also manually download the aar and unzip it yourself.
查看 Issue 详情(需要梯子):Issue 页
— 更新于 2017-05-11
升级到 Android Studio 2.3 后,Gradle Plugin 也升级到 2.3.0,对应推荐使用的 Gradle 版本是 3.3。
这时候会发现项目目录下 {module name}/build/intermediates/exploded-aar/
目录没了,经过一番查找,发现这并不是一个 Bug,是官方刻意为之,它会在 {user name}/.android/build-cache
下生成一部分缓存文件,来代替 exploded-aar
,如果需要生成它,可以配置项目目录下的 gradle.properties
,添加一行内容:
android.enableBuildCache=false
然后重建项目即可在 {module name}/build/intermediates/
看到 exploded-aar 目录了。
想重新开启 BuildCache
功能,可以修改为 android.enableBuildCache=true
或者直接删除本行内容即可。
- Android 必知必会
- Android 必知必会
- Android 必知必会
- Android 必知必会
- Android 必知必会
- Android 必知必会
- Android 必知必会
- Android 必知必会
- Android必知必会-Android Studio修改包名
- Android必知必会-Android Studio修改包名
- Android必知必会-Android Studio修改包名
- Android必知必会-Android Studio修改包名
- Android必知必会--GreenDao缓存
- Android HTTP必知必会
- 2016 Android App必知必会
- Android
- android
- Android
- 1629: [Usaco2007 Demo]Cow Acrobats
- 用react native模仿着写html5手机端的APP
- 作为一个程序猿,我的五年规划是这样的
- assembly方式打包maven jar
- Action
- Android 必知必会
- CGI和FastCGI的区别
- js函数覆盖
- 详谈内存管理技术(三)、线程模型
- sessionFactory与session
- Matplotlib数据集可视化图表细节
- android实现表情输入(极其简洁易懂)
- Java学习笔记(二)
- HDU1242