Android Studio.how to

How to display layout xml in code view, for Android Studio 3.6.2

With Android Studio updated (currently 3.6.2), when you view layout xml file, the original design/code option (on lower-left corner) removed. So how to view its xml code? Answer: The option is now moved to upper-right corner, you can view it in Code/S…

Add Google Maven repository to Android Studio Project

With latest Android Studio, I change the targetSdkVersion and compileSdkVersion of my old exercise to 28. And I also have to use updated com.android.support:appcompat-v7 and com.android.support.constraint:constraint-layout. After fail in rebuild, it&#…

What is "android.R.layout.simple_list_item_1"?

Sometimes you will find some predefined layout in other examples, such as android.R.layout.simple_list_item_1 like this: String[] suggestion = getResources().getStringArray(R.array.suggestion); ArrayAdapter<String> adapter = …

How to set Java version in Android Studio

The video show how to set Java version on Studio 3.3.1. By default, the Java language version used to compile your project is based on your project's compileSdkVersion (because different versions of Android support different versions of Java). If …

Where is the Android SDK location installed

In case you forget the location of Android SDK was installed during the installation of Android Studio. You can find it at: > Android Studio Menu > File > Project Structure > It's show in Android SDK Location box

How to capture screen in Android Studio

Follow the steps to capture screen of Android Emulator or connected Android device, using Android Studio. It work for me on Android Studio 3.2.1. Run your app on a connected device or emulator. If using a connected device, be sure you have enabled USB…

What's New in Android Studio 3.0

What's New in Android Studio 3.0: Android Studio 3.0 brings a ton of new features and improvements, including Kotlin support, Android O APIs, Java 8 language features support, external APK debugging, Instant Apps modules and refactoring, an integr…

Download and install Android Studio 3.0 Canary 1 on Ubuntu 17.04

This post show how to Download and install Android Studio 3.0 Canary 1 on 64-bit Ubuntu 17.04, over Windows 10/Oracle VirtualBox, Firstly,  Install Ubuntu 17.04 on Windows 10/Oracle VirtualBox . Before install Android Studio on 64-bit Ubuntu 17.04, in…

Load More
That is All