解决嵌入百度导航4.1.x遇到的坑

截图文本:Manifest merger failed with multiple errors, see logs

问题代码


解决方式:






截图文本:

Annotation processors must be explicitly declared now.  The following dependencies on the compile classpath are found to contain annotation processor.  Please add them to the annotationProcessor configuration.- nirvana-network-annotation-0.2.0.jar (project :onsdkAll)

解决方式

在    build.gradle文件中添加javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true }

解决嵌入百度导航4.1.x遇到的坑_第1张图片


你可能感兴趣的:(Android,学习心得)