Upgrade for Android Studio 1.0 and mDNS fix

Gradle files upgrade && upgrade for Android 5.0.
fix mDNS bug where sometimes BBox were not found.