Public property 'loadingCtrl' of exported class has or is using name 'Loading' from external module "../node_modules/ionic-angular/components/loading/loading" but cannot be named

Hey,
I just update to Ionic 2 RC and I am having a lot of trouble, especially with the LoadingController.

I have another error though which is more troublesome:
Error at “FILEPATH” Public property ‘loadingScreen’ of exported class has or is using name ‘Loading’ from external module “FILEPATH/node_modules/ionic-angular/components/loading/loading” but cannot be named.

thank you in advance

building with ionic serve there is no problem, it’s only with ionic run android that I have this problem

I solved the issue by creating the instance in a function and not as a variable in the Class

Can you show your code?

Sorry, I just noticed the question. Yeah sure:

login() {
	//show the loading
	//declare
	let loadingScreen = this.loadingCtrl.create({content: "Working on it..."});
	loadingScreen.present(); }