我已经制作了一个应用程序,使用谷歌地图APi,我使用钛1.2.2和移动sdk 1.5.1为Android,我们每当我试图在模拟器上运行应用程序,控制台显示错误
[INSTALL_FAILED_MISSING_SHARED_LIBRARY]
这个错误意味着什么以及如何解决它?
我是角度开发的新手,也是使用茉莉花进行单元测试的新手.我创建了一个组件,使用角度材料MatDialogRef,来自@ angular/material的MAT_DIALOG_DATA播放对话框.该组件工作正常,但单元测试给我一个错误,我无法解决.
我真的需要这个工作,任何帮助将不胜感激....在此先感谢.. !!!
请在下面找到我的代码:
app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { HttpClientModule, HttpClient } from '@angular/common/http';
import { HttpModule } from '@angular/http';
import { RouterModule, Routes } from '@angular/router';
import 'hammerjs';
import { NgxPhoneSelectModule } from 'ngx-phone-select';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatInputModule, MatButtonModule, MatSelectModule } from '@angular/material';
import { MatGridListModule } from '@angular/material';
import { MatTableModule } from '@angular/material'; …Run Code Online (Sandbox Code Playgroud) 我刚刚开始研究 Angular 4,我正在尝试将以 json 格式从 Angular 服务接收到的一些数据渲染到 Angular-datatable 中,但无论我尝试哪个选项,它都不适合我。表即将到来,列即将到来,但列内的数据未显示。
任何帮助都会很棒,
提前致谢..!!!!
请在下面找到我的代码:
组件.html
<table datatable [dtOptions]="dtOptions" class="row-border hover"></table>
Run Code Online (Sandbox Code Playgroud)
组件.ts
import { Component, OnInit } from '@angular/core';
import { FleetDataService } from '../../services/fleet-data.service';
import { Subject } from 'rxjs/Subject';
@Component({
selector: 'app-dashboard',
templateUrl: './dashboard.component.html',
styleUrls: ['./dashboard.component.scss']
})
export class DashboardComponent implements OnInit {
private fleetData: any;
dtOptions: DataTables.Settings = {};
dtTrigger: Subject<any> = new Subject();
constructor(private getFleetData:FleetDataService) { }
ngOnInit() {
this.getFleetData.getFleetData().subscribe(
fleetData => {
this.fleetData = fleetData;
console.log(this.fleetData);
this.dtTrigger.next();
}, …Run Code Online (Sandbox Code Playgroud) 我对4号角和4号角材料非常陌生,我仍处于学习阶段。我正在尝试创建一个用户登录并导航至仪表板的应用程序。现在,我在仪表板中显示标题组件并将其隐藏在登录页面中。但是,当我刷新仪表板上的浏览器时,标题组件不会加载。我使用本教程来创建PoC
现在我不知道解决方案。任何帮助将不胜感激。提前致谢...!!!
请在下面找到我的代码
app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule, HttpClient } from '@angular/common/http';
import { HttpModule } from '@angular/http';
import { RouterModule, Routes } from '@angular/router';
import 'hammerjs';
import { NgxPhoneSelectModule } from 'ngx-phone-select';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MatInputModule, MatButtonModule, MatSelectModule } from '@angular/material';
import { MatGridListModule } from '@angular/material';
import { MatTableModule } from '@angular/material';
import { …Run Code Online (Sandbox Code Playgroud)