본문 바로가기
반응형

전체 글272

[안드로이드] Gradle Type-safe project accessors https://docs.gradle.org/7.0/release-notes.html Gradle 7.0 Release Notes Gradle Release Notes Version 7.0 The Gradle team is excited to announce a new major version of Gradle, 7.0. This release enables file system watching by default to make your incremental builds faster, expands support for building projects with Java 16, and docs.gradle.org 이번 글의 시작은 위 문서에서 시작을 하였습니다. Type-safe project accesso.. 2021. 9. 23.
[안드로이드] ksp (kotlin symbol processing) 적용기 https://android-developers.googleblog.com/2021/09/accelerated-kotlin-build-times-with.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+blogspot%2FhsDu+%28Android+Developers+Blog%29 Accelerated Kotlin build times with Kotlin Symbol Processing 1.0 Posted by Ting-Yuan Huang, Software Engineer and Jiaxiang Chen, Software Engineer Kotlin Symbol Processing (KSP), our new too... android-.. 2021. 9. 8.
[알고리즘] 실패율 포인트 적절하게 값을 계산하는 것이 필요합니다. 여기서 중요한 점은 쉽게 간과를 할 수 있는 부분입니다. 만일 나누려고 하는 부분이 0일 경우 에러가 발생합니다. 하지만 이는 공개된 테스트 케이스에는 보여지지 않기 때문에 런타임 에러만으로 표현될 수 있습니다. 이에 이를 고려해서 계산을 하는 것이 필요합니다. 🧶문서는 항상 수정될 수 있습니다. 비판은 환영합니다. python def solution(N: int, stages: int) -> list: answer = [[0, 0] for _ in range(N+2)] for ele in stages: for i in range(ele+1): answer[i][1] += 1 else: answer[i][0] += 1 for i in range(N+2): .. 2021. 9. 4.
[안드로이드] Rendering sandbox errorProperty access not allowed during rendering 프로젝트를 진행하면서 멀티 모듈을 적용하는데, 레이아웃 편집기가 작동을 하지 않는 상황이 생겼습니다. 저는 범블비 10을 사용하고 있는 상태이고 클린 빌드와 invalidate and restart 옵션까지 적용을 하였지만, 같은 상황이였습니다. 방법을 찾다가 sandbox 렌더를 false 시킬 수 있는 옵션이 있으며 그것을 공유하고자 합니다. (이 방법은 순전히 검색을 통해 찾은 방법이면, 정식적인 해결 방법이 아님을 말씀드립니다. ) 제시하고자 하는 방법은 간단합니다. 파일을 하나 만들고 1줄을 입력하면 됩니다. ./idea/modules 라는 폴더에 bin/idea.properties 라는 파일을 만들었습니다. 그리고 을 추가하였습니다. 정말 간단한 방법입니다. 저는 멀티 모듈에서 레이아웃이 그려.. 2021. 8. 27.
반응형