Test APK Dependency Conflicts

Em uma aplicação antiga que fui atualizar a versão das dependências do gradle, ao executar recebi a seguinte mensagem a respeito de um conflito entre a versão da dependência com.google.code.findbugs:jsr305 para app e para test: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:preMyAppDebugAndroidTestBuild'. > Conflict with dependency 'com.google.code.findbugs:jsr305' in project … Continue lendo Test APK Dependency Conflicts

DexArchiveBuilderException com Guava 21.0 Faça

Acabei de receber uma exception quando fui atualizar as versões dos frameworks e executar uma aplicação que estava há muito tempo parada. Minhas dependencias são essas: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:27.1.0' annotationProcessor 'com.jakewharton:butterknife:7.0.1' compile 'com.jakewharton:butterknife:7.0.1' compile 'com.google.code.gson:gson:2.8.2' compile 'com.google.guava:guava:23.3-android' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.squareup.okhttp:okhttp:' compile 'com.squareup.okhttp:okhttp-urlconnection:2.7.5' compile 'com.squareup.picasso:picasso:2.5.2' compile 'com.google.code.gson:gson:2.8.2' compile 'com.squareup.dagger:dagger:1.2.5' … Continue lendo DexArchiveBuilderException com Guava 21.0 Faça

Destaque

Efficient Android Threading Book – My Compilation of Chapter 1

Linux Process In  a Linux, each user has its own process and a unique ID. Every user has access to private resources proctected by permission and any user (except the super user) can access another user's private resource. In Android, the same thing happens, but instead of users we have applications. By default, applications and … Continue lendo Efficient Android Threading Book – My Compilation of Chapter 1

Destaque

Android Gradle Plugin 2.2.0-alpha3 is missing zipalign

Today, I was trying to submit a new version of my app to Google Play and I received this message: I've verified if I was submiting the debug version of my apk and I've confirmed that I was submiting the release version generate in Build > Generate Signed APK.  I've tried to use the  zipAlignEnabled true in the release … Continue lendo Android Gradle Plugin 2.2.0-alpha3 is missing zipalign

Destaque

DialogFragment/AlertDialog dismiss automatically on click button

I was dealing with the case of use an EditText inside my AlertDialog that is created inside an DialogFragment last week and I remembered that I could write a tip about some problems of it. What problems?  It's simple...An EditText...inside an AlertDialog...Ok, but how to avoid the dismiss of the Dialog when the user click in … Continue lendo DialogFragment/AlertDialog dismiss automatically on click button