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.
Not just that, many of GOOGLE's own code base is hidden, so when I'm trying to use just firebase for cloud messaging part, I somehow need gms libraries as well (which contains ads and crash analytics libraries, I suspect which in no way is needed for my app). Stephan here was indeed lucky to not be working with firebase or GMS.
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.
this final rules solution keepclassmembers didn't work and my app crashes.. android studio version is Artic Fox with 7.0.2 gradle plugin.... did i foget something?
Can anyone solve this problem AAPT: unknown option '--proguard-minimal-keep-rules'. aapt2 link [options] -o arg --manifest arg files... Using build script classpath 'com.android.tools:gradle:4.0.1' Version : 6.1.1 gradle version in distribution Url
R8 can do obfuscate for class(simply change class name) .. to make it harder for reverse engineering... this mean its harder for any one to steal your source code and upload it in different platform like apk pure and simliar platforms.... R8 have it own programing langague (R8 language used shrink apps only )
I liked the walk through of how to generate better keep rules.
One of the best presentations I've ever watched! nicely explained!
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.
Not just that, many of GOOGLE's own code base is hidden, so when I'm trying to use just firebase for cloud messaging part, I somehow need gms libraries as well (which contains ads and crash analytics libraries, I suspect which in no way is needed for my app). Stephan here was indeed lucky to not be working with firebase or GMS.
Ok
Great talk! R8 shrinks already a lot more than proguard. Couldn't find any regressions until now. 😎
Thx, this was a great video. I wish that I learned this lafter years of debuging minify randomly.
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.
this final rules solution keepclassmembers didn't work and my app crashes.. android studio version is Artic Fox with 7.0.2 gradle plugin.... did i foget something?
Great explanation!
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
Can anyone solve this problem
AAPT: unknown option '--proguard-minimal-keep-rules'.
aapt2 link [options] -o arg --manifest arg files...
Using build script
classpath 'com.android.tools:gradle:4.0.1'
Version : 6.1.1 gradle version in distribution Url
Can progaurd obfuscate activity class ?
R8 can do obfuscate for class(simply change class name) .. to make it harder for reverse engineering... this mean its harder for any one to steal your source code and upload it in different platform like apk pure and simliar platforms.... R8 have it own programing langague (R8 language used shrink apps only )
Great talk :)
ម៉ាក់ រក្សា
The previous session about the compiler: ruclips.net/video/gGOOkk2y_Ss/видео.html