我已经在Android Studio中设置了正确的路径并安装了插件(Dart和Flutter),但是我总是在下面看到此错误,并且在Visual Studio Code中也是如此?
loadData(): Observable<any> {
return new Observable(observable => {
this.someOtherMethod();
this.someProperty = false;
this.someOtherMethod2();
if (this.isNew) {
this.noData = true;
} else if (this.key) {
Observable.forkJoin([
/*00*/ this.service1$.someCall(this.key),
/*01*/ this.service2$.someCall(this.key),
/*02*/ this.service2$.someCall1(this.key),
/*03*/ this.service2$.someCall2(this.key),
/*04*/ this.service2$.someCall3(this.key),
/*05*/ this.service2$.someCall4(this.key),
/*06*/ this.service2$.someCall5(this.key),
])
.takeWhile(() => this.alive)
.subscribe({
next: responses => {
observable.next(responses);
observable.complete();
... // join all the data together
},
error: error => {
observable.error(error);
observable.complete();
this.handleError(error);
}
});
}
this.changeDetector$.markForCheck();
});
};
答案 0 :(得分:0)
请检查
Android Studio->新建-> ProjectStructure->模块。 请检查完整的项目结构。
我希望这会有所帮助。