Search code examples
androidvisual-studio-2015ionic2visual-studio-cordova

Cannot find name 'AnimationPlayer'


I have followed this article and tried to create an Ionic2 app. I can compile a project.But when I try to run it where it shows below errors.Can you tell me how to solve them?

enter image description here

It shows error on this path : \WeatherAppIonic2\node_modules\@angular\core\src\animation\animation_group_player.d.ts

I have selected a platform as shown below.

enter image description here


Solution

  • Oh... I have found the solution for this.

    Just close the Solution and Reopen it again :D