More than one file was found with OS independent path 'META-INF/LICENSE' | Error:Could not read \build\intermediates\typedefs.txt (系统找不到指定的文件。)
FAQ1:
Error:Could not read E:\new\PlatformLibrary\CommonLibrary\build\intermediates\typedefs.txt: E:\new\PlatformLibrary\CommonLibrary\build\intermediates\typedefs.txt (系统找不到指定的文件。)
FAQ2:
Error:Execution failed for task ':TerminalLibrary:transformResourcesWithMergeJavaResForDebug'.
> More than one file was found with OS independent path 'META-INF/LICENSE'
Information:BUILD FAILED
Resolve_FAQ1:
在报该编译错误的module的build.gradle中加入如下配置项,排除掉中间生成的typedxx.txt文件
    packagingOptions {
        exclude 'typedefs.txt'
    }
Resolve_FAQ2:
在报该编译错误的module的build.gradle中加入如下配置项,排除掉中间生成的META-INF/xxx文件
    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
    }
ref:
Gradle: Error: more than one library with package name 'com.google.android.gms' - Stack Overflow
http://stackoverflow.com/questions/23494872/gradle-error-more-than-one-library-with-package-name-com-google-android-gms/37772331
More than one file was found with OS independent path 'META-INF/LICENSE' | Error:Could not read \build\intermediates\typedefs.txt (系统找不到指定的文件。)的更多相关文章
- More than one file was found with OS independent path 錯誤
		More than one file was found with OS independent path 'lib/armeabi/libmrpoid.so',. 翻譯過來就是:在操作系統的獨立目錄 ... 
- android异常 More than one file was found with OS independent path 'META-INF/XXX'
		android 异常总结:一个文件在jar包中出现多次. Error:Execution failed for task ':app:transformResourcesWithMergeJavaRe ... 
- More than one file was found with OS independent path 'lib/armeabi-v7a/libgnustl_shared.so'
		More than one file was found with OS independent path 'xxx/xxx' 这个错误是在路径中出现了重复依赖. 解决办法是配置打包选项, 在 and ... 
- Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=11.0.0.0  系统找不到指定的文件。
		环境: web服务器: ip:192.168.1.32 ,安装有 Visual Studio Premium 2013 操作系统: Microsoft Server 2008 r2+sp1 数据库服 ... 
- ex:Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0, Culture=neutral, . 系统找不到指定的文件。
		今天写的是一个小程序,采用webfrom 形式,.netframework4.0 项目中调用了System.Web.Helpers下的Json方法. 在本地测试没问题,结果搭建到服务器上,死活运行不正 ... 
- Navicat for MySQL 新建查询时,报can't create file ...系统找不到指定的文件夹出现问题
		如图点击新建查询报错 解决办法 将这个路径修改一下就ok了 
- Could not load file or assembly 'System.ServiceModel.DomainServices.Hosting'.系统找不到指定文件
		项目部署到服务器后出现如下错误信息: Parser Error Message: Could not load file or assembly 'System.ServiceModel.Domain ... 
- .netCore 反射 :Could not load file or assembly 系统找不到指定文件
		“System.IO.FileNotFoundException:“Could not load file or assembly 'ClassLibrary2, Culture=neutral, P ... 
- 服务 在初始化安装时发生异常:System.IO.FileNotFoundException: "file:///D:\testService"未能加载文件或程序集。系统找不到指定文件。
		@echo.@if exist "%windir%\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" goto INSTALL ... 
随机推荐
- Robot的使用
			在Java中,有一个类,非常神奇,它能帮助你完成某些任务,例如:打开笔记本/QQ等. 今天,我就说一下Robot类的使用方法吧,做一个打开记事本的小程序. 1.准备工作 JDK:不知道的别看了 开发工 ... 
- 出现 org.springframework.beans.factory.BeanCreationException 异常的原因及解决方法
			1 异常描述 在从 SVN 检出项目并配置完成后,启动 Tomcat 服务器,报出如下错误: 2 异常原因 通过观察上图中被标记出来的异常信息,咱们可以知道 org.springframework.b ... 
- Redis源码阅读(三)集群-连接初始化
			Redis源码阅读(三)集群-连接建立 对于并发请求很高的生产环境,单个Redis满足不了性能要求,通常都会配置Redis集群来提高服务性能.3.0之后的Redis支持了集群模式. Redis官方提供 ... 
- SDN学习笔记
			SDN 什么是SDN SDN是一种框架和思想,核心诉求是通过软件控制网络,实现业务的自动化部署,为方便软件来控制网络,希望控制面和转发面是分离的. 例如,传统的交换机内部,由交换机负责具体的网络流量往 ... 
- 安装keystone时创建用户失败
			系统:centos7.3 版本:openstack ocata 1.问题描述 安装keystone在创建用户时报错: The request you have made requires authen ... 
- (一)Hyperledger Fabric 1.1安装部署-基础环境搭建
			在学习和开发hyperledger fabric的时候遇到了一些坑,现将自己的一些总结和心得整理如下,以期对大家有所帮助.本次使用的宿主机环境:ubuntu,版本:Ubuntu 16.04.3 LTS ... 
- [SimHash] the Hash-based Similarity Detection Algorithm
			The current information explosion has resulted in an increasing number of applications that need to ... 
- iOS静默推送(Silent Remote Notifications)
			此功能是iOS7新增加的功能,允许应用收到通知后在后台(background)状态下运行一段代码,可用于从服务器获取内容更新. 普通推送:收到推送后(有文字有声音),点开通知,进入APP后,才执行-- ... 
- 读取classpath配置文件的方法
			http://www.cnblogs.com/sprinng/p/5622600.html 
- 关于如何使用Microsoft Word发博客
			关于如何使用Microsoft Word发博客 PS:以Microsoft Word 2010为例作具体操作,实际上Microsoft Word 2007也可以完成该功能,略有差异,但是只能是20 ... 
