Year: 2015

Error:Execution failed for task ‘:Application:transformClassesWithDexFor

Solutions
Error:Execution failed for task ':Application:transformClassesWithDexForMyFlavorName'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2 I had this error after updating the project to the latest Build…

Android @IntDef Annotation Example

Tutorial
Android has some helpful annotations in the support library so, in this post, I will show you an example of how to use @IntDef annotation. You can use this annotation (or @StringDef annotation) instead of Enum.…

Android: Add Tabs using TabLayout

Tutorial
In this tutorial we will see how to add tabs to a project by using TabLayout together with ViewPager, and some other new views from the design library 🙂 Before…

Android Countdown ProgressBar

Tutorial
Recently I needed to make a progressBar to update its progress smoothly for a given period of time (I needed a countdown). So after some research on Google, I ended…
keyboard_arrow_up
sponsored
Exit mobile version