๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ

(384)
[์‚ฝ์งˆ๊ธฐ๋ก] ๋ฒ„์ „์ด ์˜ค๋ž˜๋œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๊ฐ€ ์ž๊พธ Failed to resolve ๋œ๋‹ค. ์ด์Šˆํด๋ก ํ•œ ํ”„๋กœ์ ํŠธ์—์„œ gradle ์„ค์ •์— ๋ฌธ์ œ ์—†์–ด๋ณด์ด๋Š”๋ฐ, ๋ช‡๋ช‡ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋“ค์ด gradle sync ์‹œ์— ์ž๊พธ failed to resolve ๋ผ๊ณ  ๋œจ๋ฉฐ ๋‹ค์šด๋กœ๋“œ๋ฅผ ์‹คํŒจํ•œ๋‹ค.  ์ด์Šˆ ํŒŒ์•…๋‹ค์šด๋กœ๋“œ๋˜์ง€ ์•Š๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋“ค์€ ๊ตฌ ๋ฒ„์ „์— 2018๋…„๋„, 2016๋…„๋„์— ๋‚˜์˜จ ๋ฒ„์ „์„ ์“ฐ๊ณ  ์žˆ์—ˆ๋‹ค. ๋‚ด๊ฐ€ ํ•จ๋ถ€๋กœ ๋ฒ„์ „์„ ์˜ฌ๋ฆด ์ˆ˜๋Š” ์—†๋Š” ์ƒํ™ฉ์ด๊ณ , ์ด ๋ฒ„์ „์—์„œ์˜ ์ €์žฅ์†Œ๊ฐ€ maven์ด ์•„๋‹Œ ๊ฒƒ์„ ํ™•์ธํ–ˆ๋‹ค. ๊ทธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ค‘ ํ•˜๋‚˜์ด๋‹ค. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•๋ฉ€ํ‹ฐ ๋ชจ๋“ˆ ํ”„๋กœ์ ํŠธ๋ผ์„œ, settings.gradle์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์—ˆ๊ณ  ๊ทธ ์•ˆ์— ์žˆ๋Š” repositories ์•ˆ์— ๋‹ค์šด๋กœ๋“œ๋˜์ง€ ์•Š๋Š” ์˜ค๋ž˜๋œ ๋ฒ„์ „์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ €์žฅ์†Œ๋ฅผ ์ถ”๊ฐ€ํ–ˆ๋‹ค. (๋‹จ์ผ์˜ ๋ชจ๋“€์˜ ๊ฒฝ์šฐ์—๋Š” ํ”„๋กœ์ ํŠธ ๋ฃจํŠธ์— ์žˆ๋Š” build.gradle ํŒŒ์ผ ์•ˆ์— ์žˆ๋Š” repositorie..
[์‚ฝ์งˆ๊ธฐ๋ก] ์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค๊ฐ€ ์ž๊พธ ํ”„๋ก์‹œ ์„ค์ • ๋‹ค์ด์–ผ๋กœ๊ทธ๋ฅผ ๋„์šด๋‹ค. ์ด์Šˆ๋งฅ์—์„œ ํด๋ก ํ•œ ํ”„๋กœ์ ํŠธ๋ฅผ ๋นŒ๋“œํ•˜๋ ค๋‹ˆ๊นŒ ์ž๊พธ ํ”„๋ก์‹œ ์„ค์ • ๋‹ค์ด์–ผ๋กœ๊ทธ๋ฅผ ๋„์šด๋‹ค. ๋Œ€์ฒด ์™œ? ๋‚œ ๋ญ ํ•œ ๊ฒƒ๋„ ์—†๋Š”๋ฐ? ์ธ์ˆ˜์ธ๊ณ„์—์„œ ํ”„๋ก์‹œ ๊ด€๋ จํ•ด์„œ ๋“ค์€ ๊ฒƒ๋„ ์—†๋Š”๋ฐ? ํ•ด๊ฒฐhttps://stackoverflow.com/a/53598781 Disabling proxy settings in Android Studio 3.2.1 not workingSometimes I am working in internal network and have to setup proxy settings in Android Studio now I have changed the network and need to disable proxy settings to be able to download dependencies. ...stackov..
[์‚ฝ์งˆ๊ธฐ๋ก][Paging] RemoteMediator ๋ฌดํ•œ load ์ด์Šˆ ์ด์ŠˆRemoteMediator + Compose์˜ LazyVerticalStaggeredGrid๋ฅผ ์‚ฌ์šฉํ•˜๋Š”๋ฐ, api๊ฐ€ ๋ฏธ์นœ๋“ฏ์ด ์—ฐ์†์ ์œผ๋กœ ํ˜ธ์ถœ๋˜๋Š” ์ด์Šˆ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค. pageSize๋Š” ๊ณ ์ž‘ 20์ธ๋ฐ, ๊ฑฐ์˜ 17,18๋ฒˆ์„ ํ˜ธ์ถœํ•ด์„œ 300๊ฐœ๊ฐ€ ๋„˜๊ฒŒ ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜์Œ์— ๋ฐ›๋Š” ๊ฒƒ์ด์—ˆ๋‹ค. ๋‚˜ ํ˜ผ์ž ๊ฒช๋Š” ์ด์Šˆ๊ฐ€ ์•„๋‹ˆ์—ˆ๋‹คhttps://stackoverflow.com/a/73562117 Android Paging 3 remoteMediator infinitely load(APPEND) data with ComposeI'm trying to implement a list with Paging 3 library using RemoteMediator. Initial loading is OK. Mediator loaded onl..
[์‚ฝ์งˆ๊ธฐ๋ก][Android][Hilt] Unable to find method ''java.lang.String com.squareup.javapoet.ClassName.canonicalName()'' ์ด์Šˆ ๋ฐœ์ƒ ์ƒํ™ฉHilt ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ–ˆ๊ณ  ๋นŒ๋“œํ•˜๋ ค๋Š”๋ฐ ํ•ด๋‹น ๋ฉ”์‹œ์ง€๋กœ ๋นŒ๋“œ ์—๋Ÿฌ๊ฐ€ ๋–ด๋‹ค   Unable to find method ''java.lang.String com.squareup.javapoet.ClassName.canonicalName()'' 'java.lang.String com.squareup.javapoet.ClassName.canonicalName()' Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) The state of a Gradle buil..
[์‚ฝ์งˆ๊ธฐ๋ก][Kotlin] Data Class์˜ copy ์‹œ copy ๋˜์ง€ ์•Š๋Š” ํ”„๋กœํผํ‹ฐ๋“ค์ด ์žˆ๋‹ค. Data Class์˜ ์ƒ์„ฑ์ž์— ์„ ์–ธ๋˜์ง€ ์•Š์€ ํ”„๋กœํผํ‹ฐ๋“ค์€ copy ์‹œ์— copy ๋˜์ง€ ์•Š๋Š”๋‹ค.Data Class์˜ ์ƒ์„ฑ์ž์— ์„ ์–ธ๋˜์ง€ ์•Š์€ ํ”„๋กœํผํ‹ฐ๋“ค์€ ๋™๋“ฑ์„ฑ ๋น„๊ต ์‹œ ์ œ์™ธ๋˜๋Š” ๊ฑด ์•Œ๊ณ  ์žˆ์—ˆ์ง€๋งŒ, copy๋Œ€์ƒ์—์„œ๋„ ์ œ์™ธ๋œ๋‹ค๋Š” ๊ฑด ์ด๋ฒˆ ๊ฒฝํ—˜์„ ํ†ตํ•ด์„œ ์•Œ์•˜๋‹ค.
[์‚ฝ์งˆ๊ธฐ๋ก] ์•ฑ ์‚ญ์ œ ํ›„ ์žฌ์„ค์น˜ ์‹œ DataStore ์ •๋ณด๊ฐ€ ๋‚จ์•„์žˆ๋Š” ์ด์Šˆ ๋Œ€์‘ ์ฐธ๊ณ https://velog.io/@young-jev/%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C-%EC%95%B1-%EC%82%AD%EC%A0%9C-%ED%96%88%EB%8A%94%EB%8D%B0-%EB%8D%B0%EC%9D%B4%ED%84%B0%EA%B0%80-%EB%82%A8%EC%95%84-%EC%9E%88%EB%8A%94-%EB%AC%B8%EC%A0%9C [์•ˆ๋“œ๋กœ์ด๋“œ] ์•ฑ ์‚ญ์ œ ํ–ˆ๋Š”๋ฐ ๋ฐ์ดํ„ฐ๊ฐ€ ๋‚จ์•„ ์žˆ๋Š” ๋ฌธ์ œํšŒ์‚ฌ์—์„œ ์ฝ”ํ‹€๋ฆฐ์œผ๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰์ค‘์ด์—ˆ๋Š”๋ฐ ๋ถ„๋ช… ์•ฑ์„ ์‚ญ์ œํ•˜๊ณ  ๋‹ค์‹œ ์„ค์น˜๋ฅผ ํ–ˆ์ง€๋งŒ shared preference ๋ฐ์ดํ„ฐ๊ฐ€ ๋ณต์›๋˜๋Š” ์ฆ์ƒ์ด ๊ณ„์†ํ•ด์„œ ๋ฐœ์ƒํ–ˆ๋‹ค.Android API 23(๋˜๋Š” Android "6.0" ๋˜๋Š” Android "Marvelog..
[Java] Java Reference ๊ด€๋ จ ๊ธ€ ๋ถ„๋ช… ์ฝ์—ˆ์ง€๋งŒ ๊ณง ๊นŒ๋จน์„ ๋‚˜... ๋‚˜์ค‘์— ๋‹ค์‹œ ์ฝ๊ธฐ ์œ„ํ•ด ๋งํฌ ๋‚จ๊ธด๋‹ค. https://d2.naver.com/helloworld/329631
[Android][Test] TemporaryFolder DataStore์˜ ํ…Œ์ŠคํŠธ ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜๋‹ค๊ฐ€ TemporaryFolder์˜ ์กด์žฌ๋ฅผ ์•Œ๊ฒŒ ๋๋‹ค. https://junit.org/junit4/javadoc/4.12/org/junit/rules/TemporaryFolder.html TemporaryFolder (JUnit API)org.junit.rules Class TemporaryFolder java.lang.Object org.junit.rules.ExternalResource org.junit.rules.TemporaryFolder All Implemented Interfaces: TestRule public class TemporaryFolderextends ExternalResource The TemporaryFolder Rule allows c..