[Android Studio] 설치 - 윈도우 환경변수값 확인
페이지 정보
작성자 sbLAB 댓글 0건 조회 1,385회 작성일 23-01-17 15:22본문
※ 최신버전 순정 설치 과정 => http://sebom.com/gb/bbs/board.php?bo_table=free&wr_id=42
[Android Studio 설치 및 Flutter(Dart) 프로젝트 로드 오류 내용]
https://developer.android.com/studio
■ Failed to load JVM DLL C:\Program Files\Java\jdk1.7.0_25\jre
If you already have a 32-bit JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.
■ Error: Unable to find git in your PATH.
■ PowerShell executable not found
[해결]
필수 프로그램 설치 및 디렉토리 정보확인
1) git => C:\Program Files\Git https://git-scm.com/download/win
2) jdk => C:\Program Files\Java\jdk-18.0.2.1 https://www.oracle.com/java/technologies/downloads/
내PC - 속성 - 고급시스템설정 - 환경변수 - 시스템변수
GIT_HOME
C:\Program Files\Git
JAVA_HOME
C:\Program Files\Java\jdk-18.0.2.1
Path
%JAVA_HOME%\bin;%GIT_HOME%\cmd;%GIT_HOME%\bin;C:\Windows\System32;C:\Windows\System32\WindowsPowerShell\v1.0;
-------------
Android apk 릴리즈 과정에서 What went wrong: Could not open settings generic class cache for settings file 오류, 중지될때
jdk19 와 Gradle 버전문제임 - jdk를 18버전으로 다운로드 설치하면 대부분 해결됨.
Compatibility Matrix(호환버전 표)
https://docs.gradle.org/current/userguide/compatibility.html
https://docs.gradle.org/7.6/release-notes.html
https://services.gradle.org/distributions/
최신 Android studio 버전호환 설명
https://developer.android.com/studio/releases
[.gradle 저장 디렉토리 변경]
1. Set the GRADLE_USER_HOME environment variable to new path - 기본값 지정
2. On android studio just go to File > Settings > Build Execution, Deployment > Gradle > Service directory path choose directory what you want.
3. Restart the PC (important step, no one mentioned this surprisingly)
- 이전글[Android Studio]에뮬레이터 불안정(에뮬레이터 디바이스 파일 탐색기 안됨) 23.01.25
- 다음글[Vcode] PHP Intelephense v1.9.2 불안정 할때 23.01.06
댓글목록
등록된 댓글이 없습니다.