Issue: Android app build fails in Android Studio on Ubuntu with the error library 'lib32z1' or 'lib32stdc++6' not found.
Resolution: Install the following libs
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1
Issue: Android app build fails in Android Studio on Ubuntu with the error complaining about duplicate libraries during packaging
Resolution: Add the following to your build.gradle under 'android' section
packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' }
There was an error while loading. Please reload this page.