일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Graph
- java
- 자바
- LeetCode
- db
- Algorithm
- Javascript
- CS
- 리트코드
- TypeScript
- 동적 계획법
- vscode
- 그레이들
- Redux
- 다이나믹 프로그래밍
- VIM
- frontend
- 알고리즘
- BFS
- DP
- 안드로이드
- DFS
- Data Structure
- Database
- git
- 프로그래머스
- react
- 백준
- Python
- network
- Today
- Total
목록안드로이드 (26)
늘 겸손하게

안녕하세요 besforyou 입니다 이번 글에서는 안드로이드 스튜디오에서 그레이들 버전을 바꾸는 방법에 대하여 소개하겠습니다 생각보다 간단합니다 Gradle Scripts의 build.gradle 파일을 엽니다 distributionUrl 의 맨 마지막을 바꾸고 싶은 gradle 버전으로 수정하고 다시 빌드하면 끝 가능한 그레이들 버전은 아래와 같습니다 https://gradle.org/releases/ Gradle | Releases Find binaries and reference documentation for current and past versions of Gradle. gradle.org

안녕하세요 besforyou 입니다 이번 글에서는 제목의 오류를 해결하는 방법에 대하여 소개하겠습니다 프로젝트의 코드를 다른 프로젝트에 복사했더니 AndroidManifest.xml의 meta-data, android:value="@integer/google_play_services_version"이 빨간색으로 뜨며 제목과 같은 오류를 출력하네요 이 문제의 원인은 라이브러리가 프로젝트에 제대로 링크되지 않았던가, google-play-services library version이 옛날 버전인 것입니다. 해결법 출처 : 구글 https://developers.google.com/android/guides/setup Set up Google Play services | Google Developers To ..

안녕하세요 besforyou입니다 이번글에서는 디렉토리에서 파일을 읽어오는 방법에 대하여 소개드리겠습니다 코드 1 2 3 4 5 6 7 8 9 10 11 12 public File getFileFromStorage(String file_name) { File file = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS); File [] files_list = file.listFiles(); int len = files_list.length; if (len == 0) return null; for (int i = 0; i

안녕하세요 besforyou 입니다 이번 글에서는 DownloadManager로 Url 경로의 파일을 다운로드하는 방법에 대하여 소개하겠습니다 코드 코드로 설명하는 게 간단할듯합니다 1 2 3 4 5 6 7 8 9 10 11 12 13 public void download_firmware_version_data() { DownloadManager downloadManager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE); Uri uri = Uri.parse("http://3.37.186.230/wp-content/uploads/2021/08/firmware-version.txt"); DownloadManager.Request request..