I try to add mopub-sdk into my project imported from eclipse to AndroidStudio. I created folder in my root folder of project, then i add into settings.gradle line: "include ':mopub-sdk' then clicked "Sync now" then i open "Project structure" and add Dependencies to my project and finally i got this error:
Error:Configuration with name 'default' not found.
Help please, i try to make this work all day... I read all subjects about how make this works but nothing helped me...
setting.gradle:
include ':app'
include ':mopub-sdk'
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 20
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "pl.brysp.fiszki.angielski"
minSdkVersion 9
targetSdkVersion 20
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:20.0.0'
compile 'com.google.android.gms:play-services:+'
compile files('libs/MMSDK.jar')
compile files('libs/nmdp_speech_kit.jar')
compile project(':mopub-sdk')
}