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

๐Ÿ’š ๊ฐœ๋ฐœ/์•ˆ๋“œ๋กœ์ด๋“œ58

[์•ˆ๋“œ๋กœ์ด๋“œ] ๊ฐ ์•ฑ ๋‚ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์ €์žฅ ์œ„์น˜ ์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค์—์„œ ctrl+d ๋ฅผ ๋ˆ„๋ฅด๋ฉด Device File Explorer ์ฐฝ์ด ๋œฌ๋‹ค. (adbshell๋กœ ํ™•์ธํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ์ง€๋งŒ) ์œ„์˜ ๋ฐฉ๋ฒ•์œผ๋กœ ํ•˜๋ฉด data/data/(package๋ช…)/databases/(๋””๋น„์ด๋ฆ„.db) ๋กœ ์ €์žฅ๋œ๋‹ค. ๊ทธ๋ฆฌ๊ณ  ์ €์žฅํ•œ ๋””๋น„๋ฅผ ๋กœ์ปฌ์— ์ €์žฅํ•ด ์—ด์–ด ๋ณด๋ ค๋ฉด ์šฐํด๋ฆญ ํ›„ Save ํ•œ๋‹ค. ๋‚œ DB ๋ฅผ ์ฒ˜์Œ ์‚ฌ์šฉํ•ด ๋ด์„œ ๊ฐ’์„ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด DB Browser for SQLite ํˆด์„ ์‚ฌ์šฉํ–ˆ๋‹ค. (sqlitebrowser.org/) ์ž ์ด ์•ˆ ์™€ ๊ธฐ์–ต ๋‚˜๋Š” ๋Œ€๋กœ ์ ์—ˆ์Œ.. ๋‚ด์ผ ์•„์นจ ๋‹ค์‹œ ํ™•์ธํ•˜๊ณ  ์ถ”๊ฐ€ํ•˜๊ฒ ์Œ (2021. 03. 18. 01:28) developer.android.com/studio/debug/device-file-explorer?hl=ko Device File.. 2021. 3. 18.
[์•ˆ๋“œ๋กœ์ด๋“œ] TextView์— ์Šคํฌ๋กค์„ ๋„ฃ๊ณ  ์‹ถ์„ ๋•Œ! activity_main.xml์—์„œ TextView์— ๋Œ€ํ•œ ID๋ฅผ textView๋กœ ์คฌ๋‹ค๊ณ  ํ•˜์ž. MainActivity.java์—์„œ TextView๋ฅผ ์„ ์–ธํ•˜๋Š” ์‹œ์ ์— TextView tv = findViewById(R.id.textView); tv.setMovementMethod(new ScrollingMovementMethod()); ๋กœ ์…‹ํ•ด์ค€๋‹ค. ์ข€ ์™ธ์›Œ,,, findView... ์ฒ˜๋Ÿผ..... ๊ฑ ๊ฐ„๋‹จํ•œ ํ…Œ์ŠคํŠธ ํ•  ๋•Œ Systemout์œผ๋กœ ์ฐ๊ฑฐ๋‚˜, TextView์— ๋ฟŒ๋ ค ๋ณด๊ณค ํ•˜๋Š”๋ฐ, setMovement๊นŒ์ง€๋งŒ ์™ธ์›Œ๋„ ์ž๋™์™„์„ฑ ๋œจ๋‹ˆ๊ป˜,, 2021. 1. 25.
[์•ˆ๋“œ๋กœ์ด๋“œ] ERROR: Not enough space to create userdata partition. ์—๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ๋„์šฐ๋Š” ๋ฐ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒ ERROR: Not enough space to create userdata partition. ํ•ด๋‹น ๊ฒฝ๋กœ๋กœ ์ด๋™ํ•ด ๋‹น์žฅ ์‚ฌ์šฉํ•  ๊ฒƒ๋งŒ ๋‚จ๊ธฐ๊ณ  ๊ทธ๋™์•ˆ ์—ด์‹ฌํžˆ ๋งŒ๋“ค์–ด ์ฃผ์—ˆ๋˜(ํ—˜ํ•œ ๋ง) ์—๋ฎฌ๋ ˆ์ดํ„ฐ๋“ค ๋ชจ์กฐ๋ฆฌ ์‚ญ์ œ... ์ด๋ ‡๊ฒŒ ๋งŽ์•˜๊ตฌ๋‚˜ .. ใ…Žใ…Ž ๊ทธ๋Ÿผ ๊ณต๊ฐ„ ํ™•๋ณด๊ฐ€ ๋ฉ๋‹ˆ๋‹ค.... (๊ป„๊ป„) ์—๋ฎฌ๋ ˆ์ดํ„ฐ ์ง€์šธ ๋•Œ ์•ˆ๋“œ๋กœ์ด๋“œ์ŠคํŠœ๋””์˜ค์—์„œ ์ง€์šด๋‹ค๊ณ  ๋˜๋Š” ๊ฒŒ ์•„๋‹ˆ์—ˆ๋„ค.. 2021. 1. 12.
[์•ˆ๋“œ๋กœ์ด๋“œ] ERR_CLEARTEXT_NOT_PERMITTED ์•ˆ๋“œ๋กœ์ด๋“œ ์›น๋ทฐ๋ฅผ ์‹คํ–‰ ์‹œ์—, ERR_CLEARTEXT_NOT_PERMITTED ์—๋Ÿฌ๋ฅผ ๋งˆ์ฃผ์น  ์ˆ˜ ์žˆ๋‹ค. https๋ฅผ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š”๋ฐ, http๋ฅผ ์‚ฌ์šฉํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์ƒ๊ธด ์˜ค๋ฅ˜์ด๋‹ค. ๊ฐ„๋‹จํžˆ AndroidManifest.xml์˜ application์—์„œ ํ•œ ์ค„์„ ์ถ”๊ฐ€ํ•ด ์คŒ์œผ๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋‹ค. android:usesCleartextTraffic="true" 2021. 1. 11.