When I Clean/Rebuild my project or even run app, It doesn\'t return any errors. But when I generate signed APK, It returns two errors.
Error:Error converting by
Facebook audience network will pull in play-services as well, so you'll have to exclude it:
I don't remember exactly what Facebook's dependencies are, so your 'analytics' line might not be complete enough for the audience network to run properly. You might want to add the entire play services like so: compile 'com.google.android.gms:play-services:9.2.1'
, and remove analytics.
Or if you can see exactly which dependencies Facebook requires, you can grab the correct ones here.
compile ('com.facebook.android:audience-network-sdk:4.10.0') {
exclude group: 'com.google.android.gms'
}