What I don't understand about this: Why didn't Google/Android use Java under the Open Source license under which it has been provided. Wouldn't that have saved all the trouble?
OpenJDK either didn't exist or was in its infancy. Also, Oracle created a lot of confusion in that they tried to argue that even Apache Harmony was in violation.
Also, there were a lot of third party drivers and software they couldn't use the GPL with. That has now largely disappeared.
Probably because that would force them and anyone extending Android to license their extensions under the GPL. Phone OEMs would probably keep away from that can of worms.