Closed sushant-bizbrolly closed 3 years ago
Do you have NDK installed? if you use implementation 'com.twilio:chat-android-with-symbols:6.1.1'
then you need NDK installed to strip out the debug symbols after the build.
Try with implementation 'com.twilio:chat-android:6.1.1'
instead first (this will not give you debug info, but the APK should definitely be smaller), then install NDK if you actually require debug symbols.
Ok thanks, I will try out this solution of yours and let you know if any issues faced further.
@sushant-bizbrolly hi, did you make it work? need any more help?
@berkus yeah, it worked. thanks. I am using the without symbols integration, and the APK size is around 35MB. Thanks for the help.
Glad to hear it! Cheers!
Description
After adding implementation of Twilio Programmable Chat in my build.gradle file, the generated debug APK size increased to 1.4 GB. I introspected APK, and found the lib folder contains 4 folders with Twilio files in it. It all together took 1.4 GB. Pleasehelp me out with this issue and how to resolve this.
Steps to Reproduce
Code (optional)
Chat Android SDK
Which SDK version did you use? [eg. 2.0.8] 6.1.1
Screenshots attached.