Ethan's Coding Letter

  • 홈
  • 태그
  • 방명록

buildType 1

[Android] App 코드 난독화와 Gson으로 json 파싱이 안되는 이슈

코드 난독화를 하면 디컴파일, reverse engineering 을 어렵게 하여 보안상의 안정성을 높힐 수 있다. release앱에는 난독화를 하는 것은 좋은 방법이지만 debug모드에서는 굳이 해야할 필요는 없을 것 같다. (난독화를 하면서 빌드 시간이 증가한다고 한다.) 아무튼! Android Studio 에서 BuildType 별로 바라보는 서버 url 과 아이콘 등 분리할 것이 있었다. (Debug용, Release용) release 버전에서는 코드 난독화를 위해 모듈단의 build.gradle 에 minifyEnabled false 설정을 했는데 이상하게 앱을 실행시키고 통신 작업이 제대로 안되고 있다는 것을 알게 되었다. 구체적으로 어디서 문제가 발생한 것인지 찾아보니 minifyEnable..

Programming/Android 2021.11.16
1
더보기
프로필사진

  • 분류 전체보기
    • Programming
      • Android
      • AWS
      • Kotlin
      • Algorithm
      • Computer Science
      • Github
      • Kotlin Multiplatform
    • 일상

Tag

RecyclerView, android, unit test, open source, 네트워크 디버깅, ListAdapter, Kotlin, Proxy 프로그램, DiffUtil, viewmodel, Rxjava, GitHub, Computer Science, LifeCycle, animation, java, MVVM, Android Studio, livedata, Event Handling,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/02   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • github

티스토리툴바