android


Manifest merger failed with multiple errors, see logs and cannot build a project


I'm working with Android Studio.
But when I want to run my project return error:
Error:Execution failed for task ':audiorecordlibrary:processReleaseManifest'.> Manifest merger failed with multiple errors, see logs
My app gradle and manifest :
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
applicationId "com.cleveroad.audiovisualization.example"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0.0"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
final SUPPORT_LIB_VERSION = '23.0.0'
compile fileTree(include: ['*.jar'], dir: 'libs')
compile "com.android.support:appcompat-v7:$SUPPORT_LIB_VERSION"
compile project(':audiorecordlibrary')
compile project(':library')
compile files('libs/junit-4.12.jar')
}
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.cleveroad.example">
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-feature
android:glEsVersion="0x00020000"
android:required="true"/>
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/av_app_name"
android:supportsRtl="true"
tools:replace="android:supportsRtl"
android:theme="#style/AppTheme">
<activity
android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
</application>
</manifest>
my audiorecordlibrary gradle and manifest is :
apply plugin: 'com.android.library'
android {
compileSdkVersion 22
buildToolsVersion "19.1.0"
defaultConfig {
minSdkVersion 11
targetSdkVersion 22
versionCode 2
versionName "1.0.1"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
//testCompile 'org.robolectric:robolectric:2.4'
testCompile 'org.mockito:mockito-all:1.8.4'
}
apply from: '../maven_push.gradle'
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="republicofgavin.pauseresumeaudiorecorder">
<application
tools:replace="android:icon" android:allowBackup="true" android:label="#string/app_name">
</application>
</manifest>
and my another library gradle and manifest is :
apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion '23.0.3'
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
resourcePrefix "av_"
}
dependencies {
final SUPPORT_LIB_VERSION = '23.0.0'
compile fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleDependency
compile "com.android.support:appcompat-v7:$SUPPORT_LIB_VERSION"
}
apply from: './gradle-mvn-push.gradle'
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" package="com.cleveroad.audiovisualization"/>
My project was implemented before I add audiorecordlibrary to my project.
Can anybody help me ??

Related Links

Flurry should be used in Services and AsyncTasks?
Linking two projects, other R.java not generated
Is here some use of information provided in Android Keystore? Is it even readable after we sign the app?
Delete multiple image from GridView on one time button press
Creating Imagebutton programatically
Filter LogCat to get only the messages from My Application
Handle Android Back Button on Phonegap InAppBrowser
Android:Youtube Player
Android : How do i style a DatePicker and TimePicker?
How to getExtra() after an intent of FileChooser?
corona movieclip is not appearing on device
Prevent logout of the application on backpressed
intel x86 emulator accelerator not compatible with linux
android visibility if onpostexecute
android-TextView setText in Html.fromHtml to display image and text [duplicate]
App crash while getting data from database

Categories

HOME
android
google-app-engine
grok
paraview
ng-idle
twig
interface
apiblueprint
jetty
mvc5
retrofit2
frontend
nstableheaderview
elasticsearch-5
okhttp
g++
enthought
gson
project-intu
filechannel
dynatrace
symfony-2.8
foreign-keys
connector
simpleitk
scriptella
monit
pic32
jackson-modules
asymptotic-complexity
oculus
nsurl
corenlp-server
simplecv
installscript
jwplayer6
numpy-broadcasting
servicestack-text
openproject
reactivekit
password-protection
bc
metaprogramming
metawidget
setup.py
apache-stanbol
claims
ssrs-2014
drupal-theming
servermanager
fwrite
opennms
automapper-5
gitlist
dtsearch
convex-optimization
stdmap
bbpress
grails-plugin
hadoop-2.7.2
envi
tooleap
cifilter
design-principles
atan2
state-restoration
opl
grgit
xenomai
file-move
extjs-grid
avahi
keyup
procedural-programming
rapidsvn
theos
browserify-shim
ghcjs
cbind
universal-image-loader
rmysql
ray
draw2d-js
android-framework
file-not-found
decoupling
twitter-bootstrap-rails
conditionaltagsupport
jammer
observium
process-explorer
onload-event
wp7test
http-status-code-410
pdfviewer
fragmenttransaction
listitem
objectquery
isa-swizzling
flex-mobile
procedures
promotion-code
http-daemon
tmx
uideviceorientation
burndowncharts
pagemethods
lxr

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App