Yes import new api in to the project make this error clear. I also stucked for one day and later realised this and done now working fine