Debug 3

Missing type, Progard, Generic 문제

java.lang.RuntimeException: Missing type parameter. at cohttp://m.google.gson.reflect.TypeToken.getSuperclassTypeParameter(Unknown Source:26) at cohttp://m.google.gson.reflect.TypeToken.(SourceFile:1) at U2.e$a.(SourceFile:1) at U2.e.a(SourceFile:8) 1. 위와 같은 문제 발생시 위치를 알기 어렵다. --> Release, Debug 모두 확인 시 Release 에서만 발생 확인 2. Release 에서만 발생 --> 의심; minify, progard --> 소스를 제대로 읽지 못해 발생 할 수 있으므로 2. ..

안드로이드 스튜디오 디버그 안나올 때

안드로이드 스튜디오 사용 중 갑자기 디버그가 전혀 안 먹히는 경우가 있다.(Android monitor의 no debuggable applications 여기에 앱이 전혀 잡히지 않는 경우)디버그 모드로 바꿔도 안되고, 디바이스 개발자 모드 다시 설정해도 안된다. 이럴때는 간단하게벌레 모양 디버그를 한번 눌러주면 된다. 끝.

[안드로이드 스튜디오] 디버그툴 사용하기

예전엔 매니페스트에서 디버그 모드 설정을 해주었는데, 안드로이드 스튜디오로 넘어 오면서 부터는 그래들에 설정을 해주면 된다. Waiting for device.Cannot debug application com.comostudio.xxxxx on device pantech-xxxxxx.This application does not have the debuggable attribute enabled in its manifest.If you have manually set it in the manifest, then remove it and let the IDE automatically assign it.If you are using Gradle, make sure that your current varia..