July 3, 2020
  • 9:47 am Cách xóa mũi tên trên Shortcut ứng dụng cho Windows 7/8/10 (Remove Shortcut Arrow)
  • 8:27 am Hướng dẫn đặt tên LOL với kí tự đặc biệt 100̀̀̀̀̀̀̀% thành công ( cuối mùa 2018 )
  • 6:58 am Hướng Dẫn Một Số Tùy Chỉnh Cơ Cản Thanh Taskbar Trên Windows 10
  • 6:02 am 2020 Active Windows 10 Thành Công 100% | Cho Tất Cả Phiên Bản | Cực Đơn giản
  • 5:20 am Cách xem mật khẩu Wifi đã kết nối trên điện thoại thành công | No Root



ProGuard keep rules are the super power in reducing application size. Correctly specified, they allow tools to remove unneeded code and obfuscate applications. But what exactly do these rules mean? This session provides an answer by deep diving into what happens inside the compiler based on those rules.

Rate this session by signing-in on the I/O website here →

Watch more Android sessions from I/O ’18 here →
See all the sessions from Google I/O ’18 here →

Subscribe to the Android Developers channel →

#io18

Nguồn: https://alimentproteine.com/

Xem thêm bài viết khác: https://alimentproteine.com/cong-nghe/

admin

RELATED ARTICLES

10 COMMENTS

  1. chandan vidyarthi Posted on June 28, 2020 at 5:32 pm

    Can progaurd obfuscate activity class ?

    Reply
  2. MrOneWorld123 Posted on June 28, 2020 at 5:32 pm

    The previous session about the compiler: https://www.youtube.com/watch?v=gGOOkk2y_Ss

    Reply
  3. Pooja Patwa Posted on June 28, 2020 at 5:32 pm

    Here If I am setting -dontwarn to these warning I am able to build signed apk but that is not getting installed. kindly do the needful

    Reply
  4. Pooja Patwa Posted on June 28, 2020 at 5:32 pm

    I am adding these library in my gradle build and because of these libraries I am getting more than 400 warnings , please suggest me what should I do.

    compile 'com.github.esafirm.android-image-picker:imagepicker:1.9.0'

    compile 'com.github.bumptech.glide:glide:4.6.1'

    compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'

    compile 'com.roughike:bottom-bar:2.0.2'

    compile 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'

    compile 'javax.inject:javax.inject:1'

    compile 'com.fasterxml.jackson.core:jackson-core:2.8.5'

    compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.5'

    compile 'com.fasterxml.jackson.core:jackson-databind:2.8.5'

    compile "com.j256.ormlite:ormlite-android:$rootProject.ormlite"

    compile "com.j256.ormlite:ormlite-core:$rootProject.ormlite"

    Reply
  5. Amirreza Firoozi Posted on June 28, 2020 at 5:32 pm

    One of the best presentations I've ever watched! nicely explained!

    Reply
  6. James Deeman Posted on June 28, 2020 at 5:32 pm

    I would very much like to see some workable examples of how one should approach a similar problem, but on a much bigger application. e.g. Unity app where you utilise many plugins, the code of which is quite hidden from you, but need to try to keep it under the dex limit.

    Reply
  7. Brian Chu Posted on June 28, 2020 at 5:32 pm

    978Kb still include all these classes and layouts which this app will never use (e.g. abc_alert_* layout, v4 media class, notification layout, etc etc) and there seems to be no way to get rid of them. hope R8 will fix it.

    Reply
  8. Witold Sieński Posted on June 28, 2020 at 5:32 pm

    Great talk 🙂

    Reply
  9. h4m74ro Posted on June 28, 2020 at 5:32 pm

    Great talk! R8 shrinks already a lot more than proguard. Couldn't find any regressions until now. 😎

    Reply
  10. Robert Chrzanowski Posted on June 28, 2020 at 5:32 pm

    I liked the walk through of how to generate better keep rules.

    Reply
LEAVE A COMMENT