Add ClassyShark to your Android toolbox

  • View
    2.390

  • Download
    0

  • Category

    Software

Preview:

Citation preview

Add ClassyShark to your toolbox

Boris FarberClassyShark Product Lead

Google

IF YOU HAVE A SMALL APP FORGET THESE SLIDES

What are the main problems during the app run ?

Long launch time

APK crashes in release but not in debug

Unresponsive app

Large APK (especially classes.dex entries)

Why my app doesn’t fit to one classes.dex

Crashes on certain architectures

What is common is these problems?

What is common is these problems?

Hard to identify easy to solve

On the APK and not sources level

What tools do we have?

ClassyShark

Android and Java executables browser

If your app is misbehaving in runtime ClassyShark might help you

To explore your APK for class/method signatures

To get a lot of useful data about your APK

ClassyShark howto

Let’s take a look

Open an apk

Browse components

Look at methods chart

Incremental search

APK diagnosis with ClassyShark

1. Obfuscation

2. Slow/multiple/test dependencies

3. dex values

ClassyShark sees the same method count as your runtime does!

4. Supported architectures

5. Native dependencies

6. No private link

7. JNI calls in secondary dexes

8. Manifest and resources

9. APK Dashboard

ClassyShark more stuff

User Guide - https://github.com/borisf/classyshark-user-guide

Powerful command-line

(https://goo.gl/jmW55o)

APIs

Gradle plugin

● APK● Dex● Class● Jar● AAR● Android binary XMLs

You see what ClassyShark can do ...

What would you like ClassyShark to do?

www.classyshark.com

Thank You

Boris Farber

@borisfarber

Recommended