import android studio settings from code example
Example 1: open link in android studio
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
startActivity(browserIntent);
Example 2: android studio include gson in app
// Module level build.gradle
dependencies {
implementation 'com.google.code.gson:gson:2.8.5' // Old 2.8.2
}