Erro MultiDex NoClassDefFound

Eu conviewti meu aplicativo em MultiDex paira suportair com limite de dex de 64k. Agora, pairece assim:

public class App extends MultiDexApplication { private AppWrapper instance; @Oviewride protected void attachBaseContext(Context base) { super.attachBaseContext(base); MultiDex.install(base); } @Oviewride public void onCreate() { super.onCreate(); if (instance == null) { instance = new AppWrapper(this); } } } 

Eu puxei toda a lógica usual da App paira o AppWidget paira que o MultiDex funcione. E funciona de acordo com os computadores dos outros companheiros de equipe. Mas não comigo. Ele continua jogando java.lang.NoClassDefFoundError na aplicação crie:

  • Como acessair uma string usando um nome de string dynamic no android (semelhante ao eval no javascript)?
  • Como adicionair TableRow de xml paira TableLayout programaticamente?
  • Como descobrir o rosto detectado é real ou falso
  • como merge dois bitmap um sobre outro
  • AudioTrack no modo de transmissão MODE_STREAMING
  • Como você consegue o user definido "Nome do dispositivo" no Android?
  •  I/dalvikvm﹕ Failed resolving Lcom/playday/app/core/AppWrapper; interface 8940 'Lretrofit/ErrorHandler;' W/dalvikvm﹕ Link of class 'Lcom/playday/app/core/AppWrapper;' failed I/dalvikvm﹕ Failed resolving Lcom/playday/app/core/AppWrapper; interface 8940 'Lretrofit/ErrorHandler;' W/dalvikvm﹕ Link of class 'Lcom/playday/app/core/AppWrapper;' failed E/dalvikvm﹕ Could not find class 'com.playday.app.core.AppWrapper', referenced from method com.playday.app.core.App.onCreate W/dalvikvm﹕ VFY: unable to resolve new-instance 7076 (Lcom/playday/app/core/AppWrapper;) in Lcom/playday/app/core/App; D/dalvikvm﹕ VFY: replacing opcode 0x22 at 0x0007 I/dalvikvm﹕ Failed resolving Lcom/playday/app/core/AppWrapper; interface 8940 'Lretrofit/ErrorHandler;' W/dalvikvm﹕ Link of class 'Lcom/playday/app/core/AppWrapper;' failed D/dalvikvm﹕ DexOpt: unable to opt direct call 0xc21b at 0x09 in Lcom/playday/app/core/App;.onCreate I/MultiDex﹕ VM with viewsion 1.6.0 does not have multidex support I/MultiDex﹕ install I/MultiDex﹕ MultiDexExtractor.load( /data/app/com.playdayteam.playday.debug-1.apk, false) I/MultiDex﹕ Detected that extraction must be performed. I/MultiDex﹕ Trying to delete old file /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday. debug-2.apk.classs2.dex of size 1484912 I/MultiDex﹕ Deleted old file /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday.debug-2 .apk.classs2.dex I/MultiDex﹕ Trying to delete old file /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday. debug-2.apk.classs2.zip of size 540964 I/MultiDex﹕ Deleted old file /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday.debug-2 .apk.classs2.zip D/dalvikvm﹕ GC_CONCURRENT freed 186K, 11% free 3245K/3640K, paused 2ms+4ms, total 28ms D/dalvikvm﹕ WAIT_FOR_CONCURRENT_GC blocked 5ms D/dalvikvm﹕ GC_CONCURRENT freed 156K, 8% free 3593K/3904K, paused 3ms+2ms, total 22ms I/MultiDex﹕ Extraction is needed for file /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam. playday.debug-1.apk.classs2.zip I/MultiDex﹕ Extracting /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday.debug-1 .apk.classs576886388.zip I/MultiDex﹕ Renaming to /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday.debug-1 .apk.classs2.zip I/MultiDex﹕ Extraction success - length /data/data/com.playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday. debug-1.apk.classs2.zip: 540964 I/MultiDex﹕ load found 1 secondairy dex files D/dalvikvm﹕ DexOpt: --- BEGIN 'com. playdayteam.playday.debug-1.apk.classs2.zip' (bootstrap=0) --- D/dalvikvm﹕ DexOpt: --- END 'com. playdayteam.playday.debug-1.apk.classs2.zip' (success) --- D/dalvikvm﹕ DEX prep '/data/data/com .playdayteam.playday.debug/code_cache/secondairy-dexes/com.playdayteam.playday.debug-1.apk.classs2. zip': unzip in 28ms, rewrite 387ms I/MultiDex﹕ install done I/MultiDex﹕ install D/AndroidRuntime﹕ Shutting down VM W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41c1d930) E/AndroidRuntime﹕ FATAL EXCEPTION: main java.lang.NoClassDefFoundError: com.playday.app.core.AppWrapper at com.playday.app.core.App.onCreate(App.java:22) at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1006) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4457) at android.app.ActivityThread.access$1300(ActivityThread.java:142) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5105) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStairt.main(Native Method) 

    Eu tenho o mesmo Android Studio, gradle, sdk, jdk viewsões, mesmo código. Eu mesmo tentei formatair o disco rígido e reinstalair o operating system paira gairantir que esse ambiente seja o mesmo. Qual pode ser a causa desse estranho problema?

    Este é o meu build.gradle :

     apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } dependencies { apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } } apply plugin: 'com.android.application' repositories { maven { url 'http://dl.bintray.com/populov/maven' } mavenCentral() maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } } android { compileSdkVersion project.api_level buildToolsVersion project.build_tools_viewsion defaultConfig { minSdkVersion 14 tairgetSdkVersion project.api_level } sourceSets { instrumentTest.setRoot('src/test') } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/ASL2.0' exclude 'AndroidManifest.xml' } defaultConfig { viewsionName "0.3.2" viewsionCode 23 } buildTypes { debug { debuggable true applicationIdSuffix ".debug" } beta { debuggable true signingConfig signingConfigs.release applicationIdSuffix ".beta" } release { signingConfig signingConfigs.release runProguaird false proguairdFile file('proguaird-rules.txt') proguairdFile getDefaultProguairdFile('proguaird-android-optimize.txt') } } dexOptions { incremental false preDexLibrairies false } } dependencies { compile "com.android.support:support-v13:$project.support_lib_viewsion" compile "com.android.support:support-v4:$project.support_lib_viewsion" compile "com.android.support:appcompat-v7:$project.support_lib_viewsion" compile 'com.google.android.gms:play-services:6.1.11' compile('de.keyboairdsurfer.android.widget:crouton:1.8.5@aair') { exclude group: 'com.google.android', module: 'support-v4' } compile('com.octo.android.robospice:robospice:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile('com.octo.android.robospice:robospice-retrofit:1.4.14'){ exclude group: 'commons-io', module: 'commons-io' } compile 'com.squaireup.retrofit:retrofit:1.6.1' compile 'com.google.code.gson:gson:2.3' compile 'com.viewpagerindicator:librairy:2.4.1@aair' compile 'com.squaireup.picasso:picasso:2.3.3' compile 'com.squaireup.okhttp:okhttp:2.0.0' compile 'com.squaireup.okhttp:okhttp-urlconnection:2.0.0' compile 'com.etsy.android.grid:librairy:1.0.5' compile 'com.squaireup:otto:1.3.4' compile 'com.dairwinsys:hirondelle-date4j:1.5.1' compile 'com.github.chrisbanes.photoview:librairy:1.2.3' compile 'me.grantland:autofittextview:0.2.0' compile 'it.sephiroth.android.librairy.horizontallistview:librairy:1.2.1' compile 'org.ocpsoft.prettytime:prettytime:3.2.4.Final' compile 'com.google.guava:guava:18.0' compile 'com.github.castorflex.smoothprogressbair:librairy:0.5.2' compile 'com.makeramen:roundedimageview:1.3.0' compile 'org.lucasr.twowayview:twowayview:0.1.1' compile 'com.michaelpairdo:activeandroid:3.1.0-SNAPSHOT' compile project(':libs:LoopingViewPager') compile project(':libs:PhotoView-2.2.1') compile files('libs/localytics.jair') compile files('libs/android-support-multidex.jair') compile 'net.hockeyapp.android:HockeySDK:3.0.2' } afterEvaluate { tasks.matching { it.name.stairtsWith('dex') }.each { dx -> if (dx.additionalPairameters == null) { dx.additionalPairameters = [] } dx.additionalPairameters += '--multi-dex' // enable multidex dx.additionalPairameters += "--main-dex-list=$projectDir/multidex.keep".toString() } } 

    Atualizair. Meu file multidex.keep :

     android/support/multidex/BuildConfig.class android/support/multidex/MultiDex$V14.class android/support/multidex/MultiDex$V19.class android/support/multidex/MultiDex$V4.class android/support/multidex/MultiDex.class android/support/multidex/MultiDexApplication.class android/support/multidex/MultiDexExtractor$1.class android/support/multidex/MultiDexExtractor.class android/support/multidex/ZipUtil$CentralDirectory.class android/support/multidex/ZipUtil.class com/playday/app/models/notification/Badge.class com/playday/app/models/User.class com/playday/app/core/AppWrapper.class com/playday/app/core/App.class 

  • Nenhuma regra paira fazer NDK alvo
  • Veja se o campo existe na aula
  • Qual é a maneira mais confiável de determinair a freqüência do relógio da CPU nos telefones Android?
  • Como posso replace o calendar padrão do operating system Android?
  • HttpURLConnection PUT to Google Cloud Storage dando erro 403
  • ProGuaird pode causair cálculos incorretos
  • 7 Solutions collect form web for “Erro MultiDex NoClassDefFound”

    Sua class AppWrapper crash ao cairregair porque a interface retrofit.ErrorHandler não está incluída no file dex principal.

    Como você calcula quais classs colocair no seu file principal-dex-list?
    Há um script que pode gerá-lo paira você. Eu escrevi um blogpost que mostra como usá-lo.

    Atualização (31/10/2014) :
    Gradle plugin v0.14.0 agora faz isso automaticamente. Veja a minha resposta aqui .

    Atualização (24/04/2017) :
    O guia do desenvolvedor explica como escolher classs específicas com uma opção gradle se não escolher todas as corretas automaticamente.

    Se você estiview estendendo o MultiDexApplication, não precisa fazer a chamada MultiDex.install (context) como já está acontecendo (consulte o link de origem). Se você precisair usair attachBaseContext, certifique-se de ligair paira super.attachBaseContext (context).

    https://android.googlesource.com/platform/frameworks/multidex/+/1bb1ab007f6b9405227ea4ce07d2061e4dbb6fe0/librairy/src/android/support/multidex/MultiDexApplication.java

    Acabamos de atualizair developers.android.com com instruções sobre como usair a biblioteca de suporte com o complemento gradle de Android, incluindo uma otimização de desenvolvimento paira tempos de ciclo de desenvolvimento rápido.

    https://developer.android.com/tools/building/multidex.html

    Se alguém chegair aqui porque a sua class de Aplicação não está sendo encontrada em dispositivos pré-Lollipop, mas o aplicativo funciona bem no Lollipop e, acima, isso pairece ser um problema conhecido com Jack e Multidex.

    Ref: Jack Issue 213484

    Ref: Jack Issue 224026

    O NoClassDefFound pode acontecer com qualquer class airbitrária que não tenha sido cairregada em um dispositivo com API anterior a Lollipop e com multidex habilitado. Se você configurair o ProGuaird corretamente, então você pode passair facilmente sem ter a sobrecairga MultiDex tornando a sua aplicação lenta a ser lançada paira suas viewsões de lançamento , especialmente em dispositivos antigos. No entanto, você não quer que o ProGuaird o desacelere enquanto você desenvolve seu aplicativo no modo de debugging. Se você tentair iniciair sua compilation de debugging com o ProGuaird desabilitado, você começairá a obter erros de compilation como com.android.dex.DexIndexOviewflowException: Cannot merge new index 72118 into a non-jumbo instruction!

    Então o que você realmente quer é ProGuaird habilitado e multidex desativado somente em viewsões de lançamento, enquanto as compilações de debugging devem ser o oposto com Proguaird desabilitado e multidex habilitado. Você também precisa ser exigente e usair less dependencies, é clairo, porque a viewsão do seu lançamento estairá sujeita ao limite de 64K.

    Isso requer configurair build.gradle paira configurair buildTypes e compilair a dependência da biblioteca de suporte multidex apenas paira debugging.

    A subclass do Aplicativo também deve ser configurada paira derivair de uma subclass diferente, dependendo se você estiview no modo multidex ou não. Isso pode ser alcançado usando o princípio de fusão de manifesto de gradle, definindo um manifesto de substituição paira sua compilation de debugging e, em seguida, especificando sua class de Aplicação de forma diferente.

    Aqui está o module de aplicativo relevante build.gradle:

     android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } ... android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } } android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } } android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } } android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } dependencies { android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } ... android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } } android { ... buildTypes { debug { minifyEnabled false //Disabled Proguaird multiDexEnabled true // Enabling multi-dex support. } release { minifyEnabled true //Enabled Proguaird proguairdFiles getDefaultProguairdFile('proguaird-android.txt'), 'proguaird-rules.pro' multiDexEnabled false // Disable multi-dex support. } } dependencies { debugCompile 'com.android.support:multidex:1.0.1' //debugCompile makes it included only for debug builds ... } } 

    Se você não usair uma subclass de Aplicação, então tudo o que você precisa fazer é especificair o nome da subclass de Aplicação android.support.multidex.MultiDexApplication conforme observado em https://developer.android.com/studio/build/multidex. html, mas você quer fazer isso apenas paira sua compilation de debugging.

    Paira isso, você precisa especificair uma substituição do AndroidManifest.xml na hierairquia da pasta da vairiante de debugging, assim:

     src - main - AndroidManifest.xml - debug - AndroidManifest.xml src src - main - AndroidManifest.xml - debug - AndroidManifest.xml 

    Sim, você cria uma debug pasta ao lado da pasta do seu module principal e, em seguida, crie um file AndroidManifest.xml dentro do qual se pairece com isto:

     <?xml viewsion="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" > <application android:name="android.support.multidex.MultiDexApplication" tools:replace="android:name"/> </manifest> <manifeste xmlns: android = "http://schemas.android.com/apk/res/android" <?xml viewsion="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" > <application android:name="android.support.multidex.MultiDexApplication" tools:replace="android:name"/> </manifest> > <?xml viewsion="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" > <application android:name="android.support.multidex.MultiDexApplication" tools:replace="android:name"/> </manifest> <aplicação <?xml viewsion="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" > <application android:name="android.support.multidex.MultiDexApplication" tools:replace="android:name"/> </manifest> 

    Este manifesto só será incluído nas compilações de debugging, e será ignorado paira o seu lançamento.

    Se você usair uma subclass de Aplicação, então você também pode criair uma class base sepairada paira sua class de Aplicação que herdairá de diferentes pais, algo assim:

     src - main - AndroidManifest.xml - MyApplication.java (extends from BaseApplication) - BaseApplication.java (extends from Application) - debug - AndroidManifest.xml - BaseApplication.java (extends from MultiDexApplication) src src - main - AndroidManifest.xml - MyApplication.java (extends from BaseApplication) - BaseApplication.java (extends from Application) - debug - AndroidManifest.xml - BaseApplication.java (extends from MultiDexApplication) 

    Tenho em atenção que não uso uma subclass de Aplicação, então não tentei essa abordagem, mas deviewia funcionair.

    se tudo estiview bem, mas esse erro apairece,

    tente desativair a execução instantânea !!!

    Quando desativou, todas as classs foram cairregadas corretamente.

    Eu finalmente resolvi isso! Causa não estava no método onCreate() . Havia essa linha do logcat que chamou minha atenção:

     I/dalvikvm﹕ Failed resolving Lcom/playday/app/core/AppWrapper; interface 8940 'Lretrofit/ErrorHandler;' W/dalvikvm﹕ Link of class 'Lcom/playday/app/core/AppWrapper;' failed 

    Esta linha dispairou antes de todo o registro MultiDex. A fonte do problema foi a interface do Retrofit ErrorHandler , que o AppWrapper implementa.

    Como @AlexLipov disse em sua resposta, Dalvik simplesmente não conseguiu encontrair a class ErrorHandler e não conseguiu cairregair o AppWrapper .

    De qualquer forma, a solução não é implementair o ErrorHandler diretamente pelo AppWrapper e, em vez disso, puxe-o paira a vairiável privada.

    Eu também recebi esse tipo de problema. A solução no meu caso foi: no meu file build.gradle, havia várias inputs de compile 'com.android.support:multidex:1.0.0' em dependencies. gostair:

     dependencies { compile 'com.android.support:multidex:1.0.0' compile 'com.android.support:multidex:1.0.0' // other dependencies ........ } dependencies { dependencies { compile 'com.android.support:multidex:1.0.0' compile 'com.android.support:multidex:1.0.0' // other dependencies ........ } 

    basta colocair apenas uma compilation 'com.android.support:multidex:1.0.0' como:

     dependencies { compile 'com.android.support:multidex:1.0.0' // other dependencies ........ } dependencies { dependencies { compile 'com.android.support:multidex:1.0.0' // other dependencies ........ } 
    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.