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

๐Ÿ’š ๊ฐœ๋ฐœ98

[์•ˆ๋“œ๋กœ์ด๋“œ] Switch ๋ฒ„ํŠผ ์‚ฌ์šฉ๋ฒ• public class MainActivity extends AppCompatActivity { int nChecked = 0; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Switch switchButton = findViewById(R.id.sw_opt); switchButton.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButt.. 2021. 3. 22.
[์•ˆ๋“œ๋กœ์ด๋“œ - ์—๋Ÿฌ] Installation did not succeed.The application could not be installed Installation did not succeed. The application could not be installed. Installation failed due to: '-26' ์• ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ๋Œ๋ฆฌ๋Š”๋ฐ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒ. ์›์ธ : ์• ๋ฎฌ๋ ˆ์ดํ„ฐ์— ์–ด๋– ํ•œ(?. ์ด์œ ๋Š” ๋‹ค์–‘ํ•  ๊ฒƒ ๊ฐ™๋‹ค) ์ด์œ ๋กœ ํ•ด๋‹น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ์ œ๋Œ€๋กœ ์„ค์น˜๊ฐ€ ๋˜์ง€ ์•Š๋Š”๋‹ค. (9์›”24์ผ ์ถ”๊ฐ€ ์ž‘์„ฑ) ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• : ์ด๋Ÿฐ ๊ฒฝ์šฐ,, ์• ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ Wipe Data ํ•ด ์ดˆ๊ธฐํ™”(?) ํ•œ๋‹ค ใ…‹ใ…‹; ์ด ๋ฐฉ๋ฒ•์ด ์•„๋‹ˆ๋ผ๋ฉด ํ•ด๋‹น ์–ดํ”Œ์„ ์ œ๊ฑฐํ•˜๋Š” ๋ฐฉ๋ฒ•๋„ ์žˆ์„ ๊ฒƒ ๊ฐ™๋‹ค. (9์›”24์ผ ์ถ”๊ฐ€ ์ž‘์„ฑ) 1. Open AVD Manager 2. ํ•ด๋‹น ์• ๋ฎฌ๋ ˆ์ดํ„ฐ ์šฐํด๋ฆญ > Wipe Data 3. ์ •์ƒ ๋™์ž‘. 2021. 3. 22.
[์•ˆ๋“œ๋กœ์ด๋“œ] ๊ฐ ์•ฑ ๋‚ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์ €์žฅ ์œ„์น˜ ์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค์—์„œ 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.
[iOS] iOS ์ •์ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํ…Œ์ŠคํŠธ์•ฑ์— ์—ฐ๊ฒฐํ•˜๊ธฐ ๋‚˜๋„ ์ง€๋‚œ์ฃผ์— ๊ณต๋ถ€ํ•˜๋ฉฐ ์บก์ฒ˜ํ•œ ๊ฑฐ๋ผ ๊ฐ€์žฅ ์•„๋ž˜์— ํŒ์ด๋ผ๋ฉด ํŒ์„ ์ถ”๊ฐ€ํ–ˆ์Œ... ๋‚ด ๊ธฐ์ค€์—์„œ ๊ฐ€์žฅ ์‰ฝ๊ฒŒ ๋งŒ๋“ค์—ˆ์Œ.... ์ •์ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋งŒ๋“ค๊ธฐ 1) Create a new Xcode project 2) Static Library > Next 3) Product Name, Language > Next 4) ์ด๋ ‡๊ฒŒ ์ƒ์„ฑ์ด ๋จ 5) ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํด๋” ์šฐํด๋ฆญ > New File… > C File 6) Name ์ž…๋ ฅ 7) Targets 8) Header file๊ณผ C file ์ด ์ƒ์„ฑ๋œ๋‹ค. ํ•ด๋‹น C ์ฝ”๋“œ์— ํ…Œ์ŠคํŠธ ํ•จ์ˆ˜๋ฅผ ์ ๋Š”๋‹ค. 9) Header file์— ํ…Œ์ŠคํŠธ ํ•จ์ˆ˜์— ๋Œ€ํ•œ ํ—ค๋”๋ฅผ ๋„ฃ๋Š”๋‹ค. 10) โ–ถ ์„ ๋ˆŒ๋Ÿฌ ๋นŒ๋“œํ•œ๋‹ค. (command + b ๋ฅผ ๋ˆŒ๋Ÿฌ๋„ ๋œ๋‹ค.) 11) libTest.a ๊ฐ€ ์ƒ์„ฑ๋๋‹ค. 12) File .. 2021. 3. 16.