Greetings to everyone,
I know that similar topics exists on the forum, but the provided solutions seem to be useless for me.
I want to reduce the size of the apk and in the first step I enabled link sdk assemblies only option.
My next step is to enable ProGuard.
I must mention that before I wrote this post I tried the following things:
- updated java version and sdk to the latest java 8 version
- Updated Proguard to the latest version available
- I created a proguard configuration file and set it up correspondingly, excluding some google libraries that are well knows to cause problems
- Changed the targeted Android project version to Android 8 and set the minimum at 5
- Tried to set different parameters for java heap size, like 1G, 2G
I have one error and somewhere around 200 warnings.
The error is the one described in the title and most of the warnings refer to library versions that are a bit old or obsolete.
There are also 3 or 4 warnings that are longer in size and harder to understand, but the project runs without proguard option activated.
Should I always aim for 0 warnings and this might be a problem?
I mention that I have a MAC with the latest updates on the OS and I'm using Visual Studio Community 2017. The project is Xamarin.Forms with PCL.
Any help is welcomed!
I really get stuck at this for some days in a row.
Thanks for your attention!