错误:无法翻译程序
import { InjectionToken } from "@angular/core";
export let APP_CONFIG = new InjectionToken<AppConfig>("app.config");
export interface AppConfig {
appName: string;
apiBase: string;
perPage: string;
consumerKey: string;
consumerSecret: string;
adminUsername: string;
adminPassword: string;
paypalSandbox: string;
paypalProduction: string;
payuSalt: string;
payuKey: string;
firebase: string;
}
export const BaseAppConfig: AppConfig = {
appName: "SGP",
apiBase: "https://xxxxxxxxxxxxxx.com/wp-json",
perPage: "5",
consumerKey: "ck_8a14f35c3d91b78043xxxxxxxxxxxxx",
consumerSecret: "cs_87f0ae135fc7a84xxxxxxxxxxxxx",
adminUsername: "",
adminPassword: "",
paypalSandbox: "",
paypalProduction: "",
payuSalt: "4GOk7xxxxxx",
payuKey: "5OSjxxxxxxxx",
firebase:{
webApplicationId:"383333333333-afo1mgifve1bcqjbs7uv7eh8uot533q7.apps.googleusercontent.com",
apiKey: "AIzaSyCjbtljyGWvLg_A3xe99qxxxxxxxxxx",
authDomain: "sxxxxxxxxxxxxx.firebaseapp.com",
databaseURL: "https://xxxxxxxxxx.firebaseio.com",
projectId: "sxxxxxxxxxxxx",
storageBucket: "xxxxxxxxxxx.appspot.com",
messagingSenderId: "382xxxxxxxxxx"
},
};
这是代码,离子程序的新功能,请帮助我构建android apk 在命令上出现错误
`command`ionic cordova run android
请检查firebase:string类型是否正确