Posts by Laura Suciu

Android About ConstraintLayout

Did You Know?
DID YOU KNOW about ConstraintLayout?   Definition ConstraintLayout is a new type of layout introduced by Android, similar to RelativeLayout but more flexible, and it is used to position UI elements relative…

Android Free/Paid Versions Tutorial

Tutorial
There are situations when you might decide that you need to create 2 versions for your application: a free one and a paid one. So, in this tutorial, which is…

Android ApplicationId vs PackageName

Did You Know?
You might wonder what is the difference between package name we have in AndroidManifest.xml file and ApplicationId we see in build.gradle. They seem to be the same thing, but actually…

Android Build Types and Flavors

Tutorial
In this tutorial we will talk about Build Types and Flavors, for what are they used, what is the difference between them and what they have in common. Build Types…

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