More than one file was found with OS independent path 'META-INF/DEPENDENCIES'
2017-12-28 11:38
477 查看
Android Studio 3.0.1 gradle问题
问题log:
复现步骤:
使用网络库httpcore和httpmime后运行, 无法编译出apk
解决方法:
在Android module(非Android library module)中的android标签下添加
问题log:
Error:com.android.builder.merge.DuplicateRelativeFileException: More than one file was found with OS independent path 'META-INF/DEPENDENCIES'
复现步骤:
使用网络库httpcore和httpmime后运行, 无法编译出apk
解决方法:
在Android module(非Android library module)中的android标签下添加
packagingOptions { exclude 'META-INF/DEPENDENCIES' }
相关文章推荐
- More than one file was found with OS independent path 'META-INF/DEPENDENCIES'
- android异常 More than one file was found with OS independent path 'META-INF/XXX'
- More than one file was found with OS independent path
- More than one file was found with OS independent path
- AIR A file found in a source-path can not have more than one externally visiable
- more than one row with the given identifier was found
- More than one row with the given identifier was found 问题
- HibernateException:More than one row with the given identifier was found: 1, for class....
- org.hibernate.HibernateException: More than one row with the given identifier was found: 116, for cl
- Hibernate 级联查询: More than one row with the given identifier was found 报错
- 【错误】More than one row with the given identifier was found: 1, for class:
- Hibernate:More than one row with the given identifier was found解决办法
- Hibernate:More than one row with the given identifier was found解决办法
- java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened b
- java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist
- VMware:Configuration file was created by a VMware product with more features than this version
- A file with the correct name was found in this directory, but it is not the correct one.
- java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opene
- eclipse 配置scala问题-More than one scala library found in the build path
- java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist