私はoffical WebサイトからAndroid SDKを搭載し、新しいサンプルプロジェクトを作成しました。これは行でさえ変更または削除しなかったが、とにかくプロジェクトは機能しない。
<事前> <コード> 9988776655443330何が間違っているかを修復する方法は?
私はoffical WebサイトからAndroid SDKを搭載し、新しいサンプルプロジェクトを作成しました。これは行でさえ変更または削除しなかったが、とにかくプロジェクトは機能しない。
<事前> <コード> 9988776655443330何が間違っているかを修復する方法は?
I installed Android Studio with Android SDK from the offical web-site, created a new sample project, didn't change or delete even a line, but the project doesn't work anyway.
D:\AndSDK\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_22 Hax is enabled init: Could not find wglGetExtensionsStringARB! getGLES2ExtensionString: Could not find GLES 2.x config! Hax ram_size 0x60000000 Failed to obtain GLES 2.x extensions string! HAX is working and emulator runs in fast virt mode. Could not initialize emulated framebuffer audio: Failed to create voice `goldfish_audio_in' qemu-system-i386.exe: warning: opening audio input failed emulator: Listening for console connections on port: 5554 emulator: Serial number of this emulator (for ADB): emulator-5554 emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. 02/11 16:19:14: Launching app Error while waiting for device: The emulator process for AVD Nexus_5X_API_22 was killed.
What can be wrong and how to fix it?
エミュレータ:エラー:OpenGlesエミュレーションを初期化できませんでした、 '-gpu off'を使用してそれを無効にします。
エミュレータはPC上でOpenGL ESエミュレーションを使用できませんでした。メッセージが言うように、コマンドラインを使用して無効にするか、エミュレータの設定ダイアログで[host gpuを使用する]オプションをオフにすることはできますが、エミュレータは非常に遅くなります。実際の電話でアプリを実行する方が良いでしょう。
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
The emulator wasn't able to use OpenGL ES emulation on your PC. As the message says, you can disable it using the command-line, or by turning off the "Use Host GPU" option in the emulator's settings dialog, but then the emulator will be very slow. It would be better to run your app on a real phone.
私には同じことが起こりました。他の場所では、SDKに出荷された図書館に問題があります。
次の行は私のために働いた
<事前> <コード> /data/data0これで、Android Studioのデバイスを見ることができ、接続することができます。これを修正するためにAVD設定内のオプションがおそらく存在します。
The same happened to me, in other places I read that is a problem with the library shipped with the SDK.
The following line worked for me
$ android-sdk/tools/emulator -avd Nexus_5_API_27 -use-system-libs
Now you can see the device from Android Studio and connect to it. Probably exists an option inside the AVD configuration to fix this.
これは私のために働いていたものです。 ツール&gtに行きます。 AVDマネージャー&gt。エミュレータ&GTの横に下向きの矢印をクリックしてください。データを消去する その場合はYESを拭きたい場合は確認します。
This is what worked for me: Go to Tools> AVD Manager > Click on downward arrow beside your emulator > Wipe data It will confirm if you want to wipe data, say yes in that case.
AVD - Nexus-5X-API-22 - 殺された。 単純な変更 "Nexus5xAPI22"への "Nexus"問題が解決しました。
The-emulator-process-for-avd-nexus-5x-api-22-was-killed???? simple change "Nexus5XApi22" to "Nexus" problem solved.
ログも言及されているので
<事前> <コード> /data/data1
あなたの窓10のプライバシー設定&gtを確認してください。マイク。無効になっている場合は、それを有効にします。
Since the log also mentioned
audio: Failed to create voice 'goldfish_audio_in'
Check your Windows 10's Privacy settings > Microphone. If it is disabled, enable it.
© 2022 cndgn.com All Rights Reserved. Q&Aハウス 全著作権所有