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

    [Java] java.lang.NoClassDefFoundError

    [OS] Mac [์‚ฌ์šฉ ํˆด] Mac Terminal [๋ช…๋ น์–ด & ์—๋Ÿฌ๋ฉ”์‹œ์ง€] 1) javac [.java ํŒŒ์ผ๋ช…].java => .java ํŒŒ์ผ๊ณผ ๊ฐ™์€ ๊ฒฝ๋กœ์— .class ํŒŒ์ผ ์ƒ์„ฑ 2) java [.class ํŒŒ์ผ๋ช…] => ์—๋Ÿฌ ๋ฐœ์ƒ % java [.class ํŒŒ์ผ๋ช…] ์˜ค๋ฅ˜: ๊ธฐ๋ณธ ํด๋ž˜์Šค [ํด๋ž˜์Šค๋ช…]์„(๋ฅผ) ์ฐพ๊ฑฐ๋‚˜ ๋กœ๋“œํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์›์ธ: java.lang.NoClassDefFoundError: [๊ฒฝ๋กœ] (wrong name: [ํด๋ž˜์Šค๋ช…]) ๋‚˜ ๊ฐ™์€ ๊ฒฝ์šฐ์—๋Š” ๊ทธ๋ƒฅ java ๋ช…๋ น์–ด ํ˜ธ์ถœ ์‹œ์˜ ๊ฒฝ๋กœ๊ฐ€ ์ž˜๋ชป๋˜์–ด์„œ ์ƒ๊ฒผ๋˜ ๋ฌธ์ œ.. [bin] ใ„ด [FolderName] ใ„ด A.class [src] ใ„ด [FolderName] ใ„ด A.java ใ„ด A.class ํด๋”๊ฐ€ ์ด๋Ÿฐ ์‹์œผ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ๋‹ค๊ณ  ํ•  ๋•Œ, ๋‚˜๋Š” ..

    [๋ฐฑ์ค€/java] 15651 - N๊ณผ M (3)

    ๋ฌธ์ œ 15651๋ฒˆ: N๊ณผ M (3) ํ•œ ์ค„์— ํ•˜๋‚˜์”ฉ ๋ฌธ์ œ์˜ ์กฐ๊ฑด์„ ๋งŒ์กฑํ•˜๋Š” ์ˆ˜์—ด์„ ์ถœ๋ ฅํ•œ๋‹ค. ์ค‘๋ณต๋˜๋Š” ์ˆ˜์—ด์„ ์—ฌ๋Ÿฌ ๋ฒˆ ์ถœ๋ ฅํ•˜๋ฉด ์•ˆ๋˜๋ฉฐ, ๊ฐ ์ˆ˜์—ด์€ ๊ณต๋ฐฑ์œผ๋กœ ๊ตฌ๋ถ„ํ•ด์„œ ์ถœ๋ ฅํ•ด์•ผ ํ•œ๋‹ค. ์ˆ˜์—ด์€ ์‚ฌ์ „ ์ˆœ์œผ๋กœ ์ฆ๊ฐ€ํ•˜๋Š” ์ˆœ์„œ๋กœ ์ถœ๋ ฅํ•ด www.acmicpc.net ์ฝ”๋“œ

    [Android/Git] Push failed. Logon failed, use ctrl+c to cancel basic credential prompt.

    [Android/Git] Push failed. Logon failed, use ctrl+c to cancel basic credential prompt.

    ์—๋Ÿฌ๋ฌธ(or Exception) ์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค / ์—ฐ๋™๋œ Git์œผ๋กœ push ์ค‘ ์—๋Ÿฌ ๋ฐœ์ƒํ•จ Push failed Logon failed, use ctrl+c to cancel basic credential prompt. Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocation failed Unexpected end of file from server at org.jetbrains.git4idea.http.GitAskPassXmlRpcClient.askUsername(GitAskPassXmlRpcClient.java:55) at org.jetbrains.git4idea.http.GitAskPa..

    [๋ฐฑ์ค€/java] 15649 - N๊ณผ M (1)

    ๋ฌธ์ œ 15649๋ฒˆ: N๊ณผ M (1) ํ•œ ์ค„์— ํ•˜๋‚˜์”ฉ ๋ฌธ์ œ์˜ ์กฐ๊ฑด์„ ๋งŒ์กฑํ•˜๋Š” ์ˆ˜์—ด์„ ์ถœ๋ ฅํ•œ๋‹ค. ์ค‘๋ณต๋˜๋Š” ์ˆ˜์—ด์„ ์—ฌ๋Ÿฌ ๋ฒˆ ์ถœ๋ ฅํ•˜๋ฉด ์•ˆ๋˜๋ฉฐ, ๊ฐ ์ˆ˜์—ด์€ ๊ณต๋ฐฑ์œผ๋กœ ๊ตฌ๋ถ„ํ•ด์„œ ์ถœ๋ ฅํ•ด์•ผ ํ•œ๋‹ค. ์ˆ˜์—ด์€ ์‚ฌ์ „ ์ˆœ์œผ๋กœ ์ฆ๊ฐ€ํ•˜๋Š” ์ˆœ์„œ๋กœ ์ถœ๋ ฅํ•ด www.acmicpc.net ์ฝ”๋“œ() *๊ฐ€ ์•„๋‹ˆ๋ผ๋ฉด ์•Œ๋ ค์ฃผ์„ธ์š”. ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค(--)(__)*

    [Level3/Java] ๋„คํŠธ์›Œํฌ

    ๋ฌธ์ œ ์ฝ”๋”ฉํ…Œ์ŠคํŠธ ์—ฐ์Šต - ๋„คํŠธ์›Œํฌ ๋„คํŠธ์›Œํฌ๋ž€ ์ปดํ“จํ„ฐ ์ƒํ˜ธ ๊ฐ„์— ์ •๋ณด๋ฅผ ๊ตํ™˜ํ•  ์ˆ˜ ์žˆ๋„๋ก ์—ฐ๊ฒฐ๋œ ํ˜•ํƒœ๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ ๋“ค์–ด, ์ปดํ“จํ„ฐ A์™€ ์ปดํ“จํ„ฐ B๊ฐ€ ์ง์ ‘์ ์œผ๋กœ ์—ฐ๊ฒฐ๋˜์–ด์žˆ๊ณ , ์ปดํ“จํ„ฐ B์™€ ์ปดํ“จํ„ฐ C๊ฐ€ ์ง์ ‘์ ์œผ๋กœ ์—ฐ๊ฒฐ๋˜์–ด ์žˆ programmers.co.kr ์ฝ”๋“œ

    [Android/์นด์นด์˜คAPI์ง€๋„] mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000W/libEGL: EGLNativeWindowType 0x6f2bf9f010 disconnect failed

    [Android/์นด์นด์˜คAPI์ง€๋„] mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000W/libEGL: EGLNativeWindowType 0x6f2bf9f010 disconnect failed

    [์—๋Ÿฌ๋ฌธ] D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 Disconnected from the target VM, address: 'localhost:59754', transport: 'socket' [์—๋Ÿฌ์ƒํ™ฉ] MapView์˜ setMapCenterPoint ๋ฉ”์„œ๋“œ ์‚ฌ์šฉ ์ค‘ ๋ฐœ์ƒํ•œ ์—๋Ÿฌ.. ์—๋Ÿฌ๋ฌธ๊ณผ ํ•จ๊ป˜ ๋นˆ ํ™”๋ฉด๋งŒ ์ถœ๋ ฅ๋จ [์ฒดํฌ์‚ฌํ•ญ] 1. ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํŒŒ์ผ์ด(jar) ํ”„๋กœ์ ํŠธ์— ์ œ๋Œ€๋กœ import ๋˜์—ˆ๋Š”๊ฐ€ 2. ๊ฐ€ AndroidManifest.xml ์•ˆ์˜ ์‚ฌ์ด์— ์œ„์น˜ํ•˜๊ณ  ์žˆ๋Š”๊ฐ€ 3. meta-d..

    [Android/RuntimeException] You need to use a Theme.AppCompat theme

    [์—๋Ÿฌ๋ฌธ] E/AndroidRuntime: FATAL EXCEPTION: main java.lang.RuntimeException: Unable to start activity ComponentInfo{ํŒจํ‚ค์ง€๋ช…/ํŒจํ‚ค์ง€๋ช….B์•กํ‹ฐ๋น„ํ‹ฐ}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. [์—๋Ÿฌ์ƒํ™ฉ] A์•กํ‹ฐ๋น„ํ‹ฐ์—์„œ B์•กํ‹ฐ๋น„ํ‹ฐ๋ฅผ ์ธํ…ํŠธ๋กœ Popup์ฒ˜๋Ÿผ ๋„์šฐ๋ ค๋‹ค ์ƒ๊ธด ์—๋Ÿฌ.. [ํ•ด๊ฒฐ๋ฐฉ๋ฒ•] ํŒ์—…์œผ๋กœ ๋„์šธ ์•กํ‹ฐ๋น„ํ‹ฐ๋ฅผ ์•„๋ž˜์™€ ๊ฐ™์ด ์„ ์–ธ ํ•ด ์คฌ์„๊ฒฝ์šฐ(AndroidManifest.xml) B์•กํ‹ฐ๋น„ํ‹ฐ์˜ ๋ถ€๋ชจ ํด๋ž˜์Šค๋ฅผ AppCompatActivity ๊ฐ€ ์•„๋‹Œ FragmentActiv..

    [Retrofit/Java] ์„œ๋ฒ„๋กœ Json Post์‹œ ํ•œ๊ธ€ ๊นจ์ง ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

    [Retrofit/Java] ์„œ๋ฒ„๋กœ Json Post์‹œ ํ•œ๊ธ€ ๊นจ์ง ํ•ด๊ฒฐ๋ฐฉ๋ฒ•

    ์•„๋ž˜์™€ ๊ฐ™์ด ๋ ˆํŠธ๋กœํ• ๋นŒ๋” ์ชฝ(ํ”ํžˆ Interface์— ์ž‘์„ฑํ•˜๋Š”)์— ํ—ค๋”๋ฅผ ์ถ”๊ฐ€ํ–ˆ๋”๋‹ˆ ๋”์ด์ƒ ํ•œ๊ธ€ ๊นจ์ง ํ˜„์ƒ์ด ์—†์—ˆ๋‹ค.. (1) Retrofit ๊ณตํ™ˆ (2) Future Future Studio Tutorials ์ด์ƒํ•˜๊ฒŒ Postman์œผ๋กœ ํ…Œ์ŠคํŠธ ํ• ๋•Œ๋Š” ํ•œ๊ธ€์ด ์„œ๋ฒ„๋กœ ์ œ๋Œ€๋กœ ๋„˜์–ด๊ฐ€๋Š”๋ฐ Retrofit์œผ๋กœ ๋ณด๋‚ด๊ธฐ๋งŒ ํ•˜๋ฉด ์„œ๋ฒ„์ชฝ์—์„œ ํŠน์ˆ˜๋ฌธ์ž๋กœ ๋‚œ๋ฆฌ๋ถ€๋ฅด์Šค๊ฐ€ ๋˜์„œ ๊ณ ์ƒ์„ ์ข€ ํ–ˆ๋‹ค.; ํ•˜..์ง„์งœ ๋งค๋ฒˆ ํ•œ๊ธ€ ์ฒ˜๋ฆฌํ• ๋•Œ๋งˆ๋‹ค ๋จธ๋ฆฌํ„ธ ๋น ์ง„๋‹ค..

    ์‚ผ์„ฑ ๊ฐค๋Ÿญ์‹œ ๋ฐฐํ„ฐ๋ฆฌ ์ผ์ฒดํ˜• ์ข…๋ฃŒX, ํ„ฐ์น˜X, ๊ฒ€์€ํ™”๋ฉด์— ์ „์›๋„ ๊บผ์ง€์ง€ ์•Š์„๋•Œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

    ์‚ผ์„ฑ ๊ฐค๋Ÿญ์‹œ ๋ฐฐํ„ฐ๋ฆฌ ์ผ์ฒดํ˜• ์ข…๋ฃŒX, ํ„ฐ์น˜X, ๊ฒ€์€ํ™”๋ฉด์— ์ „์›๋„ ๊บผ์ง€์ง€ ์•Š์„๋•Œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

    ์ „์›๋ฒ„ํŠผ๊ณผ ๋ณผ๋ฅจ ํ•˜(↓) ๋ฒ„ํŠผ์„ 7์ดˆ ์ด์ƒ ๋ˆŒ๋Ÿฌ์ค€๋‹ค. ๊ฐค๋Ÿญ์‹œ ๊ณ„์—ด์ด๋ฉด ๋‹ค ๋จนํžˆ๋Š” ๋“ฏ ํ•˜๋‹ค. (์„œ๋น„์Šค์„ผํ„ฐ ๋‹ค๋…€์™€์•ผ ํ•˜๋‚˜..ํ–ˆ๋Š”๋ฐ ๋‚˜๋„ ์ด ๋ฐฉ๋ฒ•์œผ๋กœ ์‚ด์•˜๋‹คใ… ) ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์€ ์•„๋ž˜ ์‚ผ์„ฑ์ „์ž๊ณ ๊ฐ์„ผํ„ฐ ๊ณตํ™ˆ์—์„œ ๋ฐœ์ทŒ www.samsungsvc.co.kr/online/faqView.do?node_Id=NODE0000124880&faqId=KNOW0000041284