본문 바로가기
[android] NoClassDefFoundError for SafeBrowsingResponse [android] NoClassDefFoundError for SafeBrowsingResponse -아래와 같은 로그를 보았다. (@ 26(8.0 OOS) device, targetSDK 23(6.0 MOS) )그래서 research 를 해보았다.I/zygote64: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse; at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (PG:53) at .. 2018. 11. 30.
[Android Studio] Crash 났을 때 Log 날아가지 않도록 하기 [Android Studio] Crash 났을 때 Log 날아가지 않도록 하기 -"Android Monitor” tab -> 우상단의 Dropdown 에서 “Edit Filter Configuration” 선택 -debug 하는 package name 을 설정한 custom filter 를 하나 만들어 세팅. -Done!! android monitor, android studio, Crash, crash log, custom filter, debug, Done, dropdown, edit filter configuration, log, log 날아감, log 사라짐, logcat 초기화, pacakge name, [Android Studio] Crash 났을 때 Log 날아가지 않도록 하기 2018. 3. 8.
[ios] Memory Management Debugging. [ios] Memory Management Debugging. Enabling Guard Malloc -Guard Malloc 은 malloc library 의 스페셜 버전이다.Guard Malloc 을 enable 하면 debugging 도중에 표준 malloc library 를 Guard mallog library 로 변경한다. -Guard Malloc 은 여러 가지 기술을 이용해 메모리 에러가 발생하는 부분에서 crash 를 발생시킨다.여기서 여러 가지 기술이란 예를 들면 memoery allocation 을 Virtual memory page 에 기록하여 trace 하는 방식으로, 우연히 잘못된 메모리를 access 해도 작동하는 케이스를 방지해준다. -Guard Malloc 은 Simulator.. 2018. 2. 13.
Linux 가 Desktop 으로 잘 쓰이지 않는 이유 Linux 가 Desktop 으로 잘 쓰이지 않는 이유 http://itvision.altervista.org/why.linux.is.not.ready.for.the.desktop.current.html -Java 나 .Net 과 같이 platform independent 한 프로그램을 만들 수 있는 언어들이 있는데, 왜 무료 OS 인 Linux 가 인기가 없을까 궁금해서 찾아보았다. 위 링크 자료는 매년 업데이트 되는 것으로 보이며, 최신판은 2016 Edition 이다. Hardware support -하드웨어 회사들이 Linux 용 드라이버를 잘 지원하지 않는다. 드라이버 회사들이 Linux 용 드라이버를 지원하지 않거나, 제약된 범위에서 지원하곤 한다. (완전 핵심만 지원) Open source .. 2017. 11. 17.
[iOS] Swift vs. Objective-C [iOS] Swift vs. Objective-C http://www.infoworld.com/article/2920333/mobile-development/swift-vs-objective-c-10-reasons-the-future-favors-swift.html -결론적으로 이 글은 Swift 가 더 좋음을 강조 -Swift 는 더 읽기 쉽다. Objective-C 는 기본적으로 C 베이스로 발전한 것이기 때문에 C 에서 예약한 keyword 를 사용할 수 없다.그래서 @ 를 이용한 keyword 를 사용하는데 가독성이 그리 좋지 않다. Swift 는 위의 @ keyword 관련 문제 뿐만 아니라statement 마지막의 세미콜론이 없어도 되고, conditional expression 에 ( ) 도.. 2017. 9. 13.
[android] Annotation Processing 에 대한 이야기 [android] Annotation Processing 에 대한 이야기 http://hannesdorfmann.com/annotation-processing/annotationprocessing101 The Basics -annotation processing 은 compile time 에 annotation 을 확인하여 어떤 action 을 하는 것을 이야기한다. -annotation processing 은 Java 5 부터 가능하다.그러나 사용할만한 API 는 Java 6 에 release 되었다. -annotation processor 는 java code 나 byte code 를 input 으로 받아서 java 파일로 output 을 생성한다.이 생성된 output 은 compile time 에.. 2017. 7. 31.
[iOS] NS_AVAILABLE_IOS  와 NS_DEPRECATED_IOS 의 의미는? [iOS] NS_AVAILABLE_IOS 와 NS_DEPRECATED_IOS 의 의미는? http://iosdevelopertips.com/best-practices/eveything-you-need-to-know-about-ios-and-os-x-deprecated-apis.html -NS_AVAILABLE_IOS(5_0) 위의 접미어는 이 함수는 iOS 5.0 에 새로 들어와서 이 버전 이후에서만 유효하다는 것을 이야기한다.만약 이 함수가 iOS 5.0 이하 버전에서 불린다면 crash 가 발생한다. -NS_DEPRECATED_IOS(2_0, 6_0) 위의 접미어는 2개의 버전을 표시하고 있다.첫번째 버전은 introduced version 이고, 두번째 버전은 deprecated version 이다.. 2017. 6. 17.
오늘의 미드 영어 공부 ( How I met your mother #1 ) - housewarming party ; 집들이 파티 - hang out : 어울리다 - hit on : 작업 - wasted : 술에 찌든 ( 속어 ) - refreshment : 다과 - Potluck party : 참석하는 사람들이 각자 한 가지씩 음식을 가져와서 서로 share 하는 파티 - Dinner party : 턱시도와 이브닝 드레스를 입고 참석하는 파티 - throw a party : 파티를 주최하다. - crash : 불쑥 나타나다, ~에 자고 가다. - do a lap : 한 바퀴 돌다 - chick : 섹시한 여성 - long face : 시무룩한 얼굴 - drunk-dial : 술 마시고 전화하다 - flunk (out) : (시험에) 낙제하다, 떨어지다 - leave out : .. 2015. 7. 4.
Android StrictMode Android StrictMode 출처http://code.tutsplus.com/tutorials/android-best-practices-strictmode--mobile-7581http://developer.android.com/reference/android/os/StrictMode.html - android strict mode 는 2가지 category 가 있다. 하나는 thread policy 이고 다른 하는 VM policy 이다. - Thread policy 는 다음과 같은 것들을 monitoring 한다. disk read disk write network access custom slow code - VM policy 는 다음과 같은 것들을 monitoring 한다. Leaked ac.. 2015. 6. 26.
반응형