In my case I didn't set up ProGuard , so during compilation all settings were deleted, after setup everything started working!