我有一个带有直播功能的MediaPlayer应用程序.当我使用物理设备(API 22 Lollipop和API 23 Marshmallow)测试应用程序时,启动流没有问题.今天我想用仿真器(API 25 Nougat)测试应用程序.流不工作,我收到以下错误:
(SourceFile:139)java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:607)at java.lang.Thread.run( Thread.java:761)在com.google.android.apps.gsa.shared.util.concurrent.a.ad $ 1.run(SourceFile:85)02-23 23:58:09.834 2166-3554/com.google. android.googlequicksearchbox:搜索W/ErrorProcessor:onFatalError,处理引擎错误(4)com.google.android.apps.gsa.shared.speech.ag:从com.google.android.apps.gsa的输入流中读取错误. staticplugins.recognizer.iaa(SourceFile:342)at com.google.android.apps.gsa.staticplugins.recognizer.ia $ 1.run(SourceFile:1367)at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java) :428)在Java的com.google.android.apps.gsa.shared.util.concurrent.a.ak.run(SourceFile:66)的java.util.concurrent.FutureTask.run(FutureTask.java:237). java.util.concurrent上的util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133).ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:607)at java.lang.Thread.run(Thread.java:761)at com.google.android.apps.gsa.shared.util.concurrent.a.ad $ 1.run (SourceFile:85)引起:com.google.android.apps.gsa.shared.exception.GsaIOException:错误代码:393238 | 缓冲区溢出,没有可用空间.com.google.android.apps.gsa.speech.audio.Tee.g(SourceFile:2531)at com.google.android.apps.gsa.speech.audio.ap.read(SourceFile:555)at java.io com.google.android.apps.gss.csa. java.util.concurrent.Executors $ 1.run(SourceFile:471)在com.google.android的java.util.concurrent.FutureTask.run(FutureTask.java:237)上的$ RunnableAdapter.call(Executors.java:428) .coms.gss..shared.util.concurrent.a.ak.run(SourceFile:66)at com.google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139)at com .google.android.apps.gsa.shared.util.concurrent.a.ax.run(SourceFile:139),位于java.util.concurrent.ThreadPoolExecutor的java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) $ Worker.run(ThreadPoolExecutor.java:607)位于com.google.android.apps.gsa.shared.util.concurrent.a.ad $ 1.run的java.lang.Thread.run(Thread.java:761)的SourceFile:85)
我只能认出一件我认为重要的事情.
GsaIOException:错误代码:393238 | 缓冲区溢出,没有可用空间
但我不知道这意味着什么.任何人都可以解释它是什么样的异常.我可以在哪里搜索代码来查找问题?
我想用Angular2在Webstorm上编写一个Web应用程序.我很擅长这样做.我正在尝试角度网站Angular.IO上的教程.
当我尝试列出Person可点击的列表时,它不起作用.
export class PersonComponent {
persons = MYPERSONS;
selectedPersons = Person;
onSelect(person: Person): void {
this.selectedPerson = person; // here is the error on "this.selectedPerson"
}
}
const MYPERSONS: Person[] = [
{id:0, firstName: 'First', lastName: 'Firstly', creationData: 1},
{id:1, firstName: 'Second', lastName: 'Test', creationData:10},
{id:2, firstName: 'Third', lastName: 'Candidate', creationData:5}
];
export class Person {
id: number;
firstName: string;
lastName: string;
creationData: any;
}
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
类型'Person'不能分配给'typeof Person'."人物"类型中缺少属性"原型".
这是什么意思?我在互联网上找不到这个错误.由于我的经验不足,这可能是我在代码上看不到的任何内容