반응형 Android62 [Android] fastboot mode 드라이브 설치 환경 1. OS : Windows 2. 단말기 : 자체 개발 단말 (Android 9) fastboot 모드 드라이브 설치 이슈는 케이스마다 다를 수 있기 때문에 아래 방법으로 해결 되지 않을 수도 있습니다. 현상 1. fastboot 모드 진입 후 아래와 같이 드라이브가 인식 2. 장치 관리자에서도 인식되지 않음으로 표시 - 기타 장치 Android 드라이브 업데이트 및 삭제 후 재 설치 후에도 인식 되지 않음. 해결 1. 구글 USB 드라이브 설치 하기 - Android Studio 상단 메뉴 File -> Settings -> Appearance & Behavior -> System Settings -> Android SDK 진입 - SDK Tool 탭 -> Google USB Driver 선택 후.. 2021. 6. 16. [Android] Android Studio 로그 자동으로 입력 하기 (Live templates) Android Studio 로그 자동으로 입력 하기 목적 : 로그 입력 할 경우 Live templates 형식을 지정하여 원하는 형식으로 로그를 추가한다. 설정 방법 1. 상단 메뉴 File -> Settings 진입 2. Editor -> Live Templates 선택 3. Live templates 그룹 생성 - Live templates 그룹 생성 하지 않고 기존 그룹에 Live Templates 생성 후 사용 가능. - JSON Test 로 생성 할 경우 아래와 같이 그룹이 추가 완료 4. Live Templates 등록 - Template Group 선택 -> Live Template 추가 - jsonLogd, jsonLogi 추가 완료 - Abbreviation 으로 저장된 이름이 Andr.. 2021. 6. 10. [Android] You may need to adjust the proxy settings in Gradle. 빌드 에러 원인 : 안드로이드 프로젝트 최초 생성 후 빌드 할 경우 인터넷에서 다운 받을 라이브러리를 다운받지 못해 에러 발생 수정 : 컴퓨터에 인터넷 연결 후 재빌드 Unknown host 'dl.google.com'. You may need to adjust the proxy settings in Gradle. Learn about configuring HTTP proxies in Gradle Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > Could not.. 2021. 5. 27. [Android] Java 코드에서 Kotlin 코드 사용하기 기존앱에서 코틀린 추가 방법은 아래 링크 참조 https://json8.tistory.com/155 [Android] android java kotlin 같이 쓰기 개요 : 기존 자바로 구현되어 있는 앱에 Kotlin 코드와 같이 사용하고 싶을 경우 Kotlin SDK 추가 방법 및 API 호출 방법 공유 Project build.gradle에 kotlin plugin 선언 코틀린 버전은 원하는 버전으로 사용... json8.tistory.com Java 코드에서 Kotlin 코드 사용 방법 Module build.gradle에 선언한 kotlin 경로에 파일 생성 build.gradle sourceSets { main.java.srcDirs += 'src/main/kotlin' } src/main/ko.. 2021. 5. 16. 이전 1 2 3 4 5 6 7 8 ··· 16 다음 반응형