Harry Styles composed an album in 2012.
Harry Styles . Styles and his bandmates have released the albums Up All Night ( 2011 ) , Take Me Home ( 2012 ) , Midnight Memories ( 2013 ) , Four ( 2014 ) , and Made in the A.M. ( 2015 ) . Preceded by its first solo single `` Sign of the Times '' , his self-titled debut album was released on 12 May 2017 . Take Me Home (One Direction album) . Largely recorded and composed in Sweden during 2012 , Savan Kotecha , Rami Yacoub and Carl Falk , who composed One Direction 's hits , `` What Makes You Beautiful '' and `` One Thing '' , spent six months in Stockholm developing songs for the album , and were able to shape melodies around the members ' tones .