Correct build sequence for Android.