项目集成高德地图SDK后出现的错误
2018-03-09 17:51
218 查看
项目集成高德地图SDK后出现下面错误:
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> More than one file was found with OS independent path 'assets/map_assets/icons_6_14_1510107235.data'
原因是build.gradle中已经有下面的代码:
compile fileTree(include: ['*.jar'], dir: 'libs')就不再需要下面的代码了:
compile 'com.amap.api:navi-3dmap:latest.integration'
compile 'com.amap.api:search:latest.integration'
compile 'com.amap.api:location:latest.integration'解决:
把不需要的代码删除,错误就消失了
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> More than one file was found with OS independent path 'assets/map_assets/icons_6_14_1510107235.data'
原因是build.gradle中已经有下面的代码:
compile fileTree(include: ['*.jar'], dir: 'libs')就不再需要下面的代码了:
compile 'com.amap.api:navi-3dmap:latest.integration'
compile 'com.amap.api:search:latest.integration'
compile 'com.amap.api:location:latest.integration'解决:
把不需要的代码删除,错误就消失了
相关文章推荐
- 使用 Cocoapods 集成框架 Operation not permitted - /usr/bin/xcodeproj,以及项目出现 Invalid bitcode signature 编译错误
- maven 与 jenkins 集成的时候,打包出现错误处理
- 使用AndroidStudio做项目时出现错误及解决方案
- 域名下Web项目重定向出现DNS域名解析错误问题
- 莫名其妙的出现这个错,看了logcat 说是什么二进制xml错误啥的。。。 不过后来发现,这个一般都是给eclipse项目中添加图片等资源时出现的一些bug,看似添加到项目中,其实没有,或
- 调试 ASP.NET 应用程序时出现"未将项目配置为进行调试"的错误信息
- SSH整合项目中容易出现的错误整理
- 2016年5月7日 myeclipse 出现未响应,异常关闭,重新启动项目出现一堆错误
- java工程项目里,在一个包里面,不能出现同名的类名,这问题是刚接触java才会遇到的,特别是新手一般都没有建立包,而是使用默认的,易出现同名的类名,导致eclipse提示错误
- 自己项目中出现的错误总结:
- AS导入项目出现Error:Execution failed for task ':app:processDebugManifest'.错误
- 项目开发过程中出现的错误一
- 在导入maven项目时出现maven-compiler-plugin:2.3.2:compile插件的错误
- AndroidStudio部署项目时出现错误:Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
- 在Eclipse中创建Maven的Web项目时出现错误:An internal error occurred during: "Retrieving archetypes:"
- 用JFinal框架自带的main方法运行正常的情况下,用tomcat发布项目出现css样式表引用错误和资源找不到问题。
- SSH项目中,发布项目出现Error:listenerStart错误
- IDEA 导入 eclipse 的项目出现\65279错误的解决
- Eclipse导入项目时出现小红叉却找不到错误解决办法一
- android/adt导入已存在的项目_消除因版本问题出现的错误