Year: 2015

Error:Execution failed for task ‘:Application:transformClassesWithDexFor

Error:Execution failed for task ':Application:transformClassesWithDexForMyFlavorName'. > 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

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

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

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…
Exit mobile version