Mobile/Android log2012. 10. 19. 11:06

ClassCastExcepiton  :    android.app.Application  에러 처리

32 Line   Error 표시

Manifast.xml 파일 수정

저기 부분을 추가하면된다.


Posted by NeverTry
Mobile/Android log2012. 9. 26. 23:20


AsyncTask 에서  doInBackground()에서 UI를 호출해서 발생하는 문제이다.


doInBackground(Void... params) 에서 setText를 뿌렸던 것을 ==>   onPostExecute(Void result) 여기서 뿌리면 된다.

Posted by NeverTry
Mobile/Android log2012. 9. 26. 23:14


허니컴 이후로 네트워크 처리 관련 처리를 메인 Thread에서 돌릴경우 발생한다.

해결은 AsyncTask에서 처리하면 된다.


참조 : [http://ralf79.tistory.com/85]

Posted by NeverTry
Mobile/Android log2012. 9. 21. 16:33



이런 메세지가 뜨면 수정할 방법



Project > Properties > Java Build Path 에서 저 부분을 빼면된다.

Posted by NeverTry
Mobile/Android log2012. 9. 17. 14:58



이 부분이 기본적으로는 5000이 되어있지만 15000으로 고치면 된다.


Posted by NeverTry
Mobile/Android log2012. 8. 31. 09:20

안드로이드 GC LOG


포멧 형태

[Reason] [Amount Freed], [Heap Statistics], [External Memory Statistics], [PauseTime]


Reason

  GC_CONCURRENT

 Jumps in because Heap is full 

  GC_FOR_MALLOC

 Heap에 충분한 메모리가 남아있지 않아서 발생 새개체 생성되면 실행된다.

  GC_EXTERNAL_ALLOC

 JVM 전역 heap을 GC 할 때 발생하는 로그 (GC_FOR_MALLOC보단 느리다)

  GC_HPROF_DUMP_HEAP

 DDMS의 "dump heap"을 선택하거나 heap을 dump를 하는 경우

  GC_EXPLICIT

 System.gc() 호출하는 경우

출처

[http://blog.naver.com/PostView.nhn?blogId=astrolena&logNo=70127179724]

[http://www.androidpub.com/1086642]


Amount Freed

freed 2125K    라면  2125K 를 해제


Heap Statistics

47% free  6214K / 11719K : GC동작 이후 상태. 현재 47%해제, heap사용율 6214K, 전체 heap사이즈 11719K


External Memory Statistics

external 7142K / 8400K - 허니콤 이전버젼만 나타냄   (할당된 사이즈 7142K, externia의 limit 8400K)


Pause Time

concurrent GC 이벤트의 경우에 두가지 타입의 시간을 보여준다.

하나는 GC전 pause시간   하나는 GC가 이루어졌을 때 pause시간 이다.

non-concurrent GC 이벤트의 경우 라면 하나의 시간만 보여준다.


출처

[http://blog.naver.com/PostView.nhn?blogId=brighteyes79&logNo=130132844911]

Posted by NeverTry
Mobile/Android log2012. 8. 31. 08:38

The real object has been deleted 여기에 대한 해결법


1. AndroidManifest.xml 수정

 android:configChanges="keyboard|keyboardHidden|orientation"


2. onDestroy() 추가

@Override

   protected void onDestroy(){

      super.onDestroy();

}

Posted by NeverTry
Mobile/Android log2012. 8. 29. 14:44


Failed to load WI-Fi driver.

이건 안고쳐지는 걸까??..

Posted by NeverTry
Mobile/Android log2012. 8. 28. 21:51


이 같은 에러가 뜨면 수정을 이렇게 해주면 된다.

여기서

빨간색 네모칸의 버젼을 1.6으로 낮춰주면 된다. 

Posted by NeverTry