KeyFlow LogoKEYLOW
BETA v2v2026.05.02
HomeTrendingRecentSeries
Tools & Info
Tools & AppsAbout
Your Account
Reading History
Home
Trending
Recent
Menu
Firebase Crashlytics는 어떻게 난독화된 앱의 크래시 로그를 수집할 수 있을까 | 이지훈 | KeyFlow
KeyFlow LogoKEYLOW
BETA v2v2026.05.02
Firebase Crashlytics는 어떻게 난독화된 앱의 크래시 로그를 수집할 수 있을까

Firebase Crashlytics는 어떻게 난독화된 앱의 크래시 로그를 수집할 수 있을까

이지훈이지훈
12 days ago(Edited)
6 min read

난독화된 코드 속에서 Crashlytics는 어떻게 원본 함수 이름을 기가 막히게 찾아내는 걸까요?

R8/ProGuard 난독화와 Crashlytics의 동작 원리가 궁금한 안드로이드 개발자
·R8 난독화 과정에서 생성된 mapping.txt는 원본 심볼과 난독화 심볼의 대응표이며, 이는 APK에 포함되지 않고 별도로 관리되어야 한다.
·Crashlytics Gradle 플러그인은 빌드 시점에 mapping.txt를 서버로 업로드하고, 바이너리에는 이와 짝을 이루는 Build ID(UUID)를 심어 서버 측 역난독화를 가능하게 한다.
·빌드 성능 최적화를 위해 'mappingFileUploadEnabled' 설정을 사용하여 특정 Variant(예: Debug)에서 매핑 파일 업로드 과정을 제어할 수 있다.
이지훈

이지훈

@easyhooon

Was this helpful?Your support means a lot to the author.