Fixed string not found issue when building with gradle