I have written a code on in java for image view that will rotate and fade away and another image will be visible, I use imageViewer.animate.rotation(3600).alpha(0); now this works fine when I run the code on an emulator, the images fade and re-appear just fine, but the problem is about the rotation after I compile the app for the first