1976–1980: International success
Gibb at that time lived in Seven Hills, an outer Sydney suburb where he married his girlfriend Kim Reeder at the Wayside Chapel on 11 July 1976. "Kim breeds Staffordshire bull terriers and my sister does too", he once said. "We met at a dog show when my sister Lesley introduced us". In 1977, they moved to West Hollywood. Reeder recalled, "He became ensconced in the drug scene. Cocaine became his first love. He became depressed and paranoid." The couple separated and Reeder moved back to Australia, where she gave birth to their daughter, Peta, on 25 January 1978. Gibb and Reeder divorced later that year.
Robert Stigwood, who at the time was the Bee Gees' manager, signed Gibb to his label, RSO Records in early 1976, after he heard some of his demo tapes. Gibb soon moved to Miami Beach, to begin working on songs with his brother Barry and co-producers Albhy Galuten and Karl Richardson. In late 1976 in Miami, Gibb, with his brother Barry producing and recording in Criteria Studios, set about making his first album Flowing Rivers. Eagles guitarist Joe Walsh played on two songs on the album while recording Hotel California. On Gibb's compositions, the tracks were a mix of country music and ballads. After the release of Flowing Rivers, Gibb revealed:
I don't think you can pin any one thing on the way my voice and songwriting have developed. A lot of people say my album, Flowing Rivers, sounds like the Bee Gees, but if I sang or wrote any differently than I do now, it wouldn't be me at all. I was worried about my own material really, really badly. I didn't think I was a good songwriter at all. I was a bit doubtful about my own performance.
The first release from the album, and Gibb's first single released outside Australia, was "I Just Want to Be Your Everything" which was written by Barry, who also provided backup vocals. It reached No. 1 on the Billboard Hot 100 for three weeks, starting on the week ending 30 July 1977, and again for the week ending 17 September 1977. "I Just Want to be Your Everything" was Gibb's longest-running chart single on Billboard, Record World and Cashbox and was nominated for the Grammy Award for Best Pop Vocal Performance, Male at the 20th Grammy Awards. The song was later ranked No. 26 on Billboard's 55th anniversary All Time Top 100. Gibb later recalled Barry's writing style:
So, once we discussed it all and got the deal together, me and Barry locked ourselves in a bedroom and Barry just started writing. When Barry writes, it is very hard to collaborate with him, because he is so quick. And before I knew it he was starting to do the chorus of 'I Just Want to Be Your Everything', and I thought, 'Wow what a hook!'. He's an expert at his craft. Within about 20 minutes, he'd written a number one record; and then we went right into another one, '(Love Is) Thicker than Water'.
Eight of the ten tracks on the album were Gibb compositions, mostly written during his time in Australia. These included a re-recording of his previous single, "Words and Music". In September 1977 Flowing Rivers, with another No. 1 single "(Love Is) Thicker Than Water" (also co-written by Gibb and his brother Barry) to support it, quickly became a multi-million selling album. That single broke in early 1978 during the time that the Bee Gees' contributions to the Saturday Night Fever soundtrack were dominating the world charts. In the United States it replaced "Stayin' Alive" at the top of the Hot 100 on the day before Gibb's 20th birthday, only to be surpassed by "Night Fever" at No. 1 two weeks later. Both of the singles from Flowing Rivers were certified Gold by the Recording Industry Association of America (RIAA) for sales exceeding 500,000 units.
Gibb then began work with the Gibb-Galuten-Richardson production team on his second album, Shadow Dancing, which was released in April 1978 and was his highest-charting album in America (No. 7) and Canada (No. 1). The title track, written by all four Gibb brothers, was released as a single in the United States in April 1978. In mid-June it began a seven-week run at No. 1, achieving platinum status and the honour of being Billboard's No. 1 song of 1978. In the United States, Gibb became the first male solo artist to have three consecutive No. 1 singles on the Billboard Hot 100, with all of the weeks at the top of the chart happening in less than one year, from 30 July 1977 through 29 July 1978. Two further Top 10 singles, "An Everlasting Love" (No. 5) and "(Our Love) Don't Throw It All Away" (No. 9), were released from the album, which became another multi-million seller.
In 1979, Gibb performed along with the Bee Gees, ABBA and Olivia Newton-John (duet with "Rest Your Love on Me") at the Music for UNICEF Concert at the United Nations General Assembly, which was broadcast worldwide. He returned to the studio to begin recording sessions for his final full studio album After Dark. In March 1980, the last of Gibb's Top 10 singles charted just ahead of the album's release. "Desire" (No. 4) was recorded for the Bee Gees' 1979 album Spirits Having Flown and featured their original track, complete with Gibb's original "guest vocal" track. A second single, "I Can't Help It", a duet with family friend and fellow British and Australian expat Olivia Newton-John, reached the Top 20 (No. 12). In 1984, Gibb performed this song on the sitcom Punky Brewster in the episode "Play It Again, Punky" where Gibb guest starred as Punky's piano teacher.
Despite being certified Gold, the album's disappointing performance, coupled with Gibb's mounting drug problems, would lead to RSO Records dropping Gibb from its roster. Later in the year, Andy Gibb's Greatest Hits was released as a finale to his contract with RSO Records, with two new songs: "Time Is Time" (No. 15 in January 1981) and "Me (Without You)" (Gibb's last Top 40 chart entry) shipped as singles, before RSO founder Robert Stigwood let him go due to his cocaine addiction and behavioural problems. "After Dark" and "Will You Still Love Me Tomorrow" were non-single songs added to the album, the latter of which was a duet with P. P. Arnold, who had previously worked with Barry Gibb, including singing uncredited backups on "Bury Me Down by the River" from Cucumber Castle. Around the same time, Gibb was invited to sing the first verse on Queen's "Play the Game", and lead singer Freddie Mercury apparently was amazed by Gibb's abilities. According to some sources, the tape was found in 1990 in a search of Queen archives for bonus tracks for a CD but was not used. Since it has not been heard by any Queen collectors, its existence is somewhat doubtful, although record producer Mack has also confirmed that the version does exist.