AndroidStudio 多层级 Module 对 aar 引用问题
最近碰到这么个恶心的问题
问题:有个arr文件被放到Module A中引用,现在Module B又依赖了Module A,则在编译过程中会发生错误,Module B找不到aar文件。(同时如果又有Module C 依赖了Module B,C也会出同样的问题)
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeYAAABICAYAAAAj8lblAAAfbklEQVR4Ae2dCXAU15nH/yMElmTAII80QhKHwSCBETiAiUFiOQLZTbwWSA5UZdcOqfUBDthOdjdOxRAfHE7Zm1StsV2AHVfAzuaAGHHEccpcwkiY2EAM4rAENpeuGY3EYZDQNbP1ve7X09PqnhlJI4kZvq6CPt573/e933v9Xn9fvx7ZpuRM8yLKNu+A8cj71zvw+bv7cC7GFmW14+owASbABJhANBOI9UbZtDxsxr9j5hAbzn/8Hs7abECU1S+aOyPXjQkwASbABADb/dnR5zFzwzIBJsAEmAATiFQCMZFqONvNBJgAE2ACTCAaCfDEHI2tynViAkyACTCBiCXAE3PENh0bzgSYABNgAtFIIJZXR0Vjs3KdmAATYAJMIFIJxLpraiLVdrabCTABJsAEmEDUEYhNGZQasFL1X1/B6Ya+AfNwIhNgAkyACTABJhAeAvyOOTwcWQoTYAJMgAkwgbAQiA2LlE4Kie8bi2/MTsVd4wZioCNeSKurrsdXRy/h6J4qNFxr6aQGLs4EmAATYAJMIDII9PjEfPeEO/Hgf4zBjMypGJ04Fv17DxDkrjZfxqnpx1H4z59gxzsncOZIbWQQZSuZABNgAkyACXSCQK8hw+56MVD55qZG1LX0CZSlw2k0KT/2X9Pw8IR/Q3rfoegVE4sWb4v4R8cpt6fi3rSxSBjZgHPnalBX1dBhXT1V0Js2E2+sehiPpddh0xFXT5lx0+llLjddkwQ1SGuz7zjg/vAEvkIWlq15Aj9Wz8VP4AaVEjyD1zu2S+QG19zxHMHYfJU+SxkHJvTCkY/Poo5+Lvgm37Q6ddBmYztqDAL0l1mPLcevFo5BfMlnOPp19zLS6/68v9peAWztyubrMY85vl9vfHvhcMy8+5/Qgka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I0JMAEmwASYQHcQ4Im5OyizDibABJgAE2ACIRLgiTlEUJyNCTABJsAEmEB3EOCJuTsosw4mwASYABNgAiES4Ik5RFCcjQkwASbABJhAdxD4f+DSlIjeDwOtAAAAAElFTkSuQmCC" alt="" name="en-media:image/png:d033d02ac29de3473d0d1a5cc09bfd25" />
解法:
- 把aar文件放入module文件夹下libs包下
- 然后在项目的build.gradle文件的android节点下加入
repositories {
flatDir {
dirs 'libs'
}
}
- 然后继续在dependencies节点中加入:compile(name: 'svprogresshud-release', ext: 'aar')
repositories {
flatDir {
dirs '../common/libs','libs'
}
}
其中dirs前面一段路径是Module A的文件夹
AndroidStudio 多层级 Module 对 aar 引用问题的更多相关文章
- Android Studio多Module使用 aar 依赖包 丢包解决
FAQ: AAR打包引用丢包问题, jar, aar, dependency 嵌套层级依赖的丢失 问: aar包中,如何包含第三方依赖库? 如果直接作为module 依赖是没有问题的,但是如果打包成a ...
- android studio 导入外部库文件,以及将项目中module变成library引用依赖
一:导入如百度地图等的外部类. 步骤:1.首先 将androidstudio项目显示切换到 project 状态显示项目 2.然后添加.jar文件,将所有的.jar文件放入libs文件夹内(libs文 ...
- 【盗墓笔记】图解使用fat-aar方式在AndroidStudio中打包嵌套第三方aar的aar
将一些项目中的一些独立功能打包成aar,不仅能于项目解耦,还能够提供给其它项目使用相同的功能,可谓是为项目开发带来了很大的便利.最近第一次做sdk,碰到一些问题,花了不少时间才解决,所以这里做一下简单 ...
- aar引用 no executable code found问题
主工程中 repositories { flatDir { dirs project(':trade_module').file('libs') }} dependencies { compile f ...
- AndroidStudio工具将Module项目导出成Jar和arr库
原文:http://blog.csdn.net/liulei823581722/article/details/52919697 该篇首先讲述利用AndroidStudio如何把一个module项目导 ...
- Android Studio Module 引入aar
1.把aar文件放到module的libs目录下 2.作为lib的module的gradle文件: repositories { flatDir { dirs 'libs' } } dependenc ...
- AndroidStudio中导入module(简单版)
1.把要导入成Mudle的项目修改成符合Library的格式 修改该项目中bulid.gradle文件中第一行代码 把 apply plugin: 'com.android.application' ...
- Android Studio 生成aar包多Module引用问题
问题描述: 有个arr文件被放到Module A中引用,现在Module B又依赖了Module A,则在编译过程中会发生错误,Module B找不到aar文件. 解决办法: 使用相对路径来找到这个a ...
- AndroidStudio引入AAR依赖
title: AndroidStudio引入AAR依赖 date: 2016-08-10 00:25:57 tags: [aar] categories: [Tool,Gradle] --- 概述 本 ...
随机推荐
- Json序列化之.NET开源类库Newtonsoft.Json的研究
一.Json简介 JSON(全称为JavaScript Object Notation) 是一种轻量级的数据交换格式.它是基于JavaScript语法标准的一个子集. JSON采用完全独立于语言的文 ...
- 【原创】三分钟教你学会MVC框架——基于java web开发(1)
MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用于组织代码用一种业务逻辑和数据显示分离的方法. ...
- AWS系列之二 使用EC2
在本文中我们有三个任务. 第一:使用Amazon management console创建一个EC2实例. 第二:使用本地的命令行工具远程登陆到该EC2实例. 第三:在该EC2实例上创建一个web服务 ...
- node.js调试
用了几天node.js感觉很新奇,但是调试问题实在是愁煞人,开始的时候懒的学习调试方法,看看异常内容就可以了,但随着代码复杂程度的上升,并不是所有错误都是语法错误了,不调试搞不定了,只好搜搜资料,学习 ...
- 给UINavigationBar自定义颜色
self.navigationController.navigationBar.barTintColor = RGB(55, 46, 41);
- 为什么eclipse中启动tomcat后,浏览器中出现404?
问题描述: tomcat压缩包加压后,启动lib文件夹下面的startup.bat,在浏览器中输入http://localhost:8080/后出现熟悉的界面. 但是在eclipse中,jsp可以正常 ...
- 大叔也说Xamarin~Android篇~支付宝SDK的错误与解决
回到目录 在为android程序引入支付宝后,可能没有那么顺利,有能出现各种各样的问题,大叔在引用支付宝后就出现了APL64的错误,在网上找不很多资料都不对正,还是在官网找到了几句话,说到了点子上,具 ...
- 阿里云部署Java web项目初体验(转)/linux 上配置jdk和安装tomcat
摘要:本文主要讲了如何在阿里云上安装JDK.Tomcat以及其配置过程.最后以一个实例来演示在阿里云上部署Java web项目. 一.准备工作 购买了阿里云的云解析,和云服务器ecs. 2.下载put ...
- SpringSide 部署showcase项目出现 JAX-RS (REST Web Services) 2.0 can not be installed错误!
maven+springmvc错误 JAX-RS (REST Web Services) 2.0 can not be installed 项目problem提示错误 JAX-RS (REST Web ...
- Mybatis中SqlMapper配置的扩展与应用(1)
奋斗了好几个晚上调试程序,写了好几篇博客,终于建立起了Mybatis配置的扩展机制.虽然扩展机制是重要的,然而如果没有真正实用的扩展功能,那也至少是不那么鼓舞人心的,这篇博客就来举几个扩展的例子. 这 ...