๐ท๏ธ ์๋ฌ, ๋ฒ๊ทธ
[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 ํด๋๊ฐ ์ด๋ฐ ์์ผ๋ก ๊ตฌ์ฑ๋์ด ์๋ค๊ณ ํ ๋, ๋๋ ..
[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..
[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์ ํ๊ธ ๊นจ์ง ํด๊ฒฐ๋ฐฉ๋ฒ
์๋์ ๊ฐ์ด ๋ ํธ๋กํ ๋น๋ ์ชฝ(ํํ Interface์ ์์ฑํ๋)์ ํค๋๋ฅผ ์ถ๊ฐํ๋๋ ๋์ด์ ํ๊ธ ๊นจ์ง ํ์์ด ์์๋ค.. (1) Retrofit ๊ณตํ (2) Future Future Studio Tutorials ์ด์ํ๊ฒ Postman์ผ๋ก ํ ์คํธ ํ ๋๋ ํ๊ธ์ด ์๋ฒ๋ก ์ ๋๋ก ๋์ด๊ฐ๋๋ฐ Retrofit์ผ๋ก ๋ณด๋ด๊ธฐ๋ง ํ๋ฉด ์๋ฒ์ชฝ์์ ํน์๋ฌธ์๋ก ๋๋ฆฌ๋ถ๋ฅด์ค๊ฐ ๋์ ๊ณ ์์ ์ข ํ๋ค.; ํ..์ง์ง ๋งค๋ฒ ํ๊ธ ์ฒ๋ฆฌํ ๋๋ง๋ค ๋จธ๋ฆฌํธ ๋น ์ง๋ค..
[2020-02-20 ์๋ฌ๊ธฐ๋ก] ์๋๋ก์ด๋/JAVA
Handler+๋ทฐํ์ด์ ๋ก Fragment ์ ํ์ ์๊ธด ์๋ฌ E/AndroidRuntime: FATAL EXCEPTION: main Process: ํ๋ก์ ํธ๋ช , PID: 10835 android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@9e8b19e is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:679) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:342) at android.view.W..
[2020-01-15 ์๋ฌ๊ธฐ๋ก] ์๋๋ก์ด๋ YouTube API ๊ตฌํํ๋ค ์๊ธด ์๋ฌ
Youtube API Key ์ฌ๋ฐ๊ธ ํ ์ธ์ฆ์๋ ํ์๋ ํ์ (null : 403 Forbidden { "code" : 403, "errors" : [ { "domain" : "usageLimits", "message" : "The request did not specify any Android package name or signing-certificate fingerprint. Please ensure that the client is sending them or use the API Console to update your key restrictions.", "reason" : "ipRefererBlocked", "extendedHelp" : "https://console.developers.goo..
[Android Studio] INSTALL_PARSE_FAILED_NO_CERTIFICATES / INSTALL_FAILED_OLDER_SDK
1. ํ์ adb๋ก ์ฐ๊ฒฐํ ๊ธฐ๊ธฐ์ apk๊ฐ ์ค์น๋์ง ์์๋ค. ๊ธฐ๊ธฐ์ํ adb ์ฐ๊ฒฐ ํ, ๋๋ฒ๊น ์ ํ์๋ ๋ด๋ ์๋ฌโผ adb install apkํ์ผ๋ช .apk ํ์๋ ๋ด๋ ์๋ฌโผ ๊ตฌ๊ธ๋งx100 ํด์ ๋์ค๋ ๊ธ๋ก๋ ๋ด ํ์์ ํด๊ฒฐํ ์ ์์๋ค... 2. ํด๊ฒฐ๋ฐฉ๋ฒ [sdk์ต์๋ฒ์ (minSdk)์ adb๊ธฐ๊ธฐ์ ๋ง์ถฐ์ค๋ค] ๋น๋ํ๋ ค๋ ๊ธฐ๊ธฐ(adb๋ก ์ฐ๊ฒฐ๋ ๊ธฐ๊ธฐ)์ ์ต์ sdk๋ฒ์ ๊ณผ ๋ง์ถฐ์ค๋ค. ๋ด๊ฒฝ์ฐ 23์ ๋ง์ถฐ์ค์ผ ํ๋ค. build.gradle์ ๋ค์ด๊ฐ๋ค. minSdkVersion๋ฅผ ๋ณธ์ธ์ ์ต์๋ฒ์ ์ ๋ง๊ฒ ์์ . android { compileSdkVersion 29 buildToolsVersion "29.0.2" defaultConfig { applicationId "com.example.prac" minSdkV..
[Eclipse/MVN] ๊ฐ์ ๋คํธ์ํฌ ๋ง ๋ด์์ IP:8080ํฌํธ ์ ์ ์๋๋ ํ์
1. ํ๊ฒฝ eclipse neon.1, apache tomcat 8.0 2. ํ์ ์๋ฒ ์ ๋๋ก Run๋๊ณ , ํ๋ก์ ํธ์ ์๋ฌ๋ Exception๋ ์์๋๋ฐ ๊ฐ์ ๋คํธ์ํฌ ๋ง ๋ด๋ถ์์ local IP:8080์ผ๋ก ์ ์์ด ์๋๋ ํ์ 3. ํด๊ฒฐ๋ฐฉ๋ฒ ๊ธฐ์กด์ ์ฌ๋ผ๊ฐ์๋ ์๋ฒ Deleteํ๊ณ ์๋ก ์ฌ๋ฆฌ๋๊น ํด๊ฒฐ๋ฌ๋ค.(๊ฒฐ๊ตญ ์ ํํ ์์ธ์ ์ ์ ์์์)
[Git/๋งํฌ] Sourcetree crash report & remote: Permission to ์๋ฌ
1. Sourcetree crash report ํด๊ฒฐ๋ฐฉ๋ฒ ์์คํธ๋ฆฌ ์ปค๋ฐ ์ค๋ฅ - ํ๋ก๊ทธ๋จ ์ข ๋ฃ ํ์(Sourcetree crash report) git์ผ๋ก ์ฐ๋๋ ์์คํธ๋ฆฌ์์ ์ปค๋ฐ ๋ฒํผ ๋๋ฅธ ์๊ฐ ํ๋ก๊ทธ๋จ์ด ์ข ๋ฃ ๋๋ฉด์ Report ์ฐฝ์ด ๋จ๋ ํ์์ด ์์์ต๋๋ค.. ์ธํ ํ๊ฒฝ์ GitLab ๊ณผ Sourcetree ์ฐ๋์ ๋๋ค. (์์คํธ๋ฆฌ ์ค์ ์ด ๊ผฌ์ธ๊ฑฐ ๊ฐ์.. ์ด๊ฒ ๋๋ฉ 1์.. teerjwi21.tistory.com 2. remote: Permission to ์๋ฌ ํด๊ฒฐ๋ฐฉ๋ฒ [๊นํ๋ธ(Github)] 21. remote: Permission to ์๋ฌ remote: Permission to gitest01/gitest01.github.io.git denied to xxxx. fatal: unable to a..