Andy Griffith, a television legend who starred in two iconic series that debuted a quarter-century apart, has died, a friend says. He was 86.