I'm pretty new on Angula2 and Ionic world, so, I'm currently developing a tabs app with various pages, components and providers. It works fine when i run ionic serve command. Now I'm trying to generate the APK and I get that error. In my app.module.ts i have declarations like that :
@NgModule({declarations: [
MyApp,
MenuPage,
OrdersPage,
DatiPage,
....
TextImg]
and also, every page has it's own page.module.ts file containing something like :
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { DatiPage } from './dati';
@NgModule({declarations: [
DatiPage,
],imports: [
IonicPageModule.forChild(DatiPage),
],
})
export class DatiPageModule {}
If i remove one of the two declarations, ionic serve webapp stops working. Otherway, if I try to build apk, i get this :
Sorry long paths, but that's it. Do someone know what I'm doing wrong? Thank you!
