Skip to main content

ANDROID STUDIO

android studio

Table of Contents

  1. Set up Phone
  2. Gradle
  3. Android Device Bridge (ADB)
  4. JDK8
  5. Environment Variables
  6. Intel HAXM

Set up Phone

Activate debugging/developer mode tap 7 times on software build to activate dev settings

https://sdkman.io/ https://adoptium.net/

Mac Install

img

adb devices

https://developer.android.com/jetpack/compose

WebView

https://developer.android.com/reference/android/webkit/WebView.html

Windows Android Studio Install

StepsScreenshot
Android Studio IDEimg
STEP 1: accept t&cimg
2:img
STEP 3: Click Nextimg
STEP 4: uncheck virtual device if you have a real phone to use for QAimg
STEP 5:img
STEP 6:img
STEP 7:img
STEP 8:img
STEP 9:img
STEP 10:img
optionalimg
STEP 12.img
STEP 13:img
STEP 14.img
STEP 15:img
STEP 16: CLICK ACCEPTimg
STEP 17:img
STEP 18:img
STEP 19:img
STEP 20:img

Table of Contents ⬆️

Tutorial

Gradle

gradle Install

download complete version img

Gradle Environment Variable

img

%ANDROID_HOME%\gradle\bin

%GRADLE_HOME%\bin

gradle choco path C:\ProgramData\chocolatey\lib\gradle\tools\gradle-7.5.1 img

gradle clean

It was due to an update in my case. I browsed to ./gradle directory in my project and noticed that there are two folders inside. I simply deleted the older one and the problem solved.

https://www.androidauthority.com/best-android-emulators-for-pc-655308/ https://developer.android.com/ndk/guides/abis https://developer.android.com/ https://software.intel.com/en-us/android https://developer.android.com/studio/build/build-variants https://gradle.org/ https://medium.com/@kevalpatel2106/how-to-decrease-your-gradle-build-time-by-65-310b572b0c43 https://github.com/intel/haxm/wiki/Installation-Instructions-on-Windows https://developer.android.com/studio/intro/

add this for going from gradle 3.3.0 up to 4.10.3

maven {
url "https://maven.google.com"
}

maven proxy

https://stackoverflow.com/questions/30219065/gradle-cant-connect-to-maven-repo-through-corporate-proxy-need-to-configure-t

build.gradle

buildscript {
repositories {
maven {
mavenLocal()
mavenCentral()
google()
jcenter()
url "https://maven.google.com"
}
}
dependencies {

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.android.tools.build:gradle:3.0.1'
}
}

allprojects {
repositories {
maven { url "https://maven.google.com"}
mavenLocal()
mavenCentral()
maven { url "http://jcenter.bintray.com"}
google()
jcenter()
}

Table of Contents ⬆️

Android Device Bridge

ADB

img

img

JDK8

img

img

Table of Contents ⬆️

Environment Variables

%ANDROID_HOME%\platform-tools

%ANDROID_HOME%\tools\bin

  1. Search for "Edit environment variables" in Windows Search and select

img

Under the "User variables for..." click on New... to create the ANDROID_HOME user variable that points to the path of the Android SDK

img

verify JAVA_HOME environment variable

img

https://github.com/coreybutler/nvm-windows/wiki#notice-if-youre-trying-to-troubleshoot-a-problem-see-the-common-issues-page

HAXM

choco install haxm