Soru & Cevap

Android studio (emulator) hatası ...

13.08.2018 - 10:16

Arkadaşlar selamlar,

Android studio programı indirdiğimden beri emulator açılmıyor hata veriyor.

Birçok kez videolardan bakarak denedim işe yaramadı vede programı silerek yapmaya çalıştım oda olmadı

1 cisi: Emulator: Process finished with exit code -1073741819 (0xC0000005)

2 cisi: Emulator: Could not initialize emulated framebuffer Bu hataları alıyorum.

Diğer sorunları

butonlar resimleri koymak için bi hata veriyor

1 cisi: Failed to load AppCompat ActionBar with unknown error.

2.cisi: This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints  The layout editor allows you to place widgets anywhere on the canvas, and it records the current position with designtime attributes (such as layout_editor_absoluteX). These attributes are not applied at runtime, so if you push your layout on a device, the widgets may appear in a different location than shown in the editor. To fix this, make sure a widget has both horizontal and vertical constraints by dragging from the edge connections.  

 Fakat bir çözümünü bulamadım.

330 Görüntülenme

1 Cevap

Sitedeki sorulara cevap verebilmek için giriş yapın ya da üye olun.

Profile picture for user yasinege_55
yasinege_55
14.08.2018 - 11:02

Kardeşim öncelikle missing constarint hatasını şu yüzden veriyor sen mesela buton ekledin diyelim onun kenarlarında daireler var onların en az ikisini ok çizerek sag/üst/aşağı/yukarı orantılaman gerek veya şöyle de olur butonu ekleyince sağ tarafta oluşan mavi karede kenarlardan çekme işlemi için herhangi ikisine bas sorun düzelir biliyorum karışık oldu ama onun için şu videoyu atıyorum->

https://www.youtube.com/watch?v=5IYEDUDFOGc

 

Şimdi diğer sorun için de Android studio açınca sol tarafta Gradle Scripts var ona tıkla sonra onun altında build.gradle(module:ap) diye birşey var ona çift tıkla ve açılan kod ekranında dependencies{} in altında


implementation 'com.android.support:appcompat-v7:28.0.0-rec1' gibi bir şey var bunu 


implementation 'com.android.support:appcompat-v7:28.0.0-alpha1'
 bunla değiştir yani rec1 yazan yeri alpha1 olarak değiştir sorunun büyük ihtimal çözülür çünkü aynı sorunları bende yaşamıştım.

Coşkun DÜLGER
05.07.2019 - 11:43
hocam bende sesle ilgili bir sıkıntı var gibi anlamadım bi türlü şu hataları alıyorum işlemci AMD Ryzen 2600 .. ne yapmam gerekiyor?
ekran görüntüsü: https://drive.google.com/file/d/1WfKg-SDWg0qD_dTaIclm_rb8vQb-pILB/view?usp=sharing
..................................... çıkan hatalar................
11:35 Emulator: dsound: Could not initialize DirectSoundCapture
11:35 Emulator: dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID
11:35 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
11:35 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
11:35 Emulator: audio: Failed to create voice `goldfish_audio_in'
11:35 Emulator: F:\AndroidSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed
11:35 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
11:35 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
11:35 Emulator: audio: Failed to create voice `adc'
11:35 Emulator: F:\AndroidSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2 (InternalEmulationFailure )
11:35 Emulator: F:\AndroidSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: whpx_vcpu { emulator=0000000027ff5fb0, window_registered=false, interruptable=true, tpr=0, apic_base=fee00900, interruption_pending=false }
11:35 Emulator: F:\AndroidSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHV_MEMORY_ACCESS_CONTEXT { Instruction={ size=16, bytes='A1 F0 00 E0 FE 80 CC 01 A3 F0 00 E0 FE C7 05 50 ' }, AccessInfo={ AccessType=0, GpaUnmapped=1, GvaValid=0, AsUINT32=4 }, Gpa=fee000f0, Gva=0 }
11:35 Emulator: F:\AndroidSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor
11:35 Emulator: Warning: QObject::~QObject: Timers cannot be stopped from another thread ((null):0, (null))
11:35 Emulator: Warning: QMutex: destroying locked mutex ((null):0, (null))
11:35 Emulator: Process finished with exit code 3