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

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

[์•ˆ๋“œ๋กœ์ด๋“œ] PrettyFormatStrategy ์‚ฌ์šฉํ•ด์„œ ์ •๋ฆฌ๋œ ๋กœ๊ทธ ์ถœ๋ ฅํ•˜๋Š” ๋ฐฉ๋ฒ• PrettyFormatStrategy : ๋™์ž‘ํ•˜๋Š” thread, callstack, message๊ฐ€ ์˜ˆ์˜๊ฒŒ ๋‚˜์˜ฌ ์ˆ˜ ์žˆ๋‹ค. 1) app gradle.build dependencies { implementation 'com.orhanobut:logger:2.2.0' 2) import๋Š” Ctrl + Space ํ•ด์„œ ์žก์•„ ์ค˜๋„ ๋œ๋‹ค. import com.orhanobut.logger.AndroidLogAdapter; import com.orhanobut.logger.Logger; import com.orhanobut.logger.PrettyFormatStrategy; 3) MainActivity > super.onCreate() // Logger Stack Trace Count. PrettyFormatStra.. 2021. 4. 28.
[์•ˆ๋“œ๋กœ์ด๋“œ] SDK, JDK, NDK ๊ณต๋ถ€ํ•˜๋‹ค๊ฐ€ ์ •๋ฆฌ๊ฐ€ ์ž˜ ๋œ ๋ธ”๋กœ๊ทธ๊ฐ€ ์žˆ์–ด ๊ฐ€์ ธ ์™”๋‹ค https://medium.com/@logishudson0218/jdk-sdk-ndk-3b095101c040JDK, SDK, NDK๊ฐ๊ฐ์˜ ์ฐจ์ด์ ์— ๋Œ€ํ•ดmedium.com 2021. 4. 15.
[์•ˆ๋“œ๋กœ์ด๋“œ] 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.