android studio how to apply plugin code example

Example 1: android studio include gson in app

// Module level build.gradle
dependencies {
     implementation 'com.google.code.gson:gson:2.8.5' // Old 2.8.2
}

Example 2: add an internet use in manifest android studio

// Insert the permission below before "<application" tag opening
// It has to be inserted inside the AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />

Tags:

Java Example