2012-12-13 196 views
1

我想在Ubuntu 12.04上運行谷歌電視模擬器。模擬器啓動,但掛在屏幕中間的Google TV徽標。我通過ADB連接和日誌與以下消息循環:谷歌電視模擬器掛在谷歌電視標誌

I/CameraService(1038): CameraService started (pid=1038) 
I/AudioFlinger(1038): AudioFlinger's thread 0x9bb5a78 ready to run 
I/ServiceManager( 795): Waiting for service SurfaceFlinger... 
I/ServiceManager( 795): Waiting for service SurfaceFlinger... 
I/ServiceManager( 795): Waiting for service SurfaceFlinger... 
I/ServiceManager( 795): Waiting for service SurfaceFlinger... 
I/ServiceManager( 795): Waiting for service SurfaceFlinger... 
D/AndroidRuntime(1048): 
D/AndroidRuntime(1048): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<< 
D/AndroidRuntime(1048): CheckJNI is ON 
E/dalvikvm(1048): Bad heap size parameters (start=5242880, max=33554432, limit=100663296) 
W/dalvikvm(1048): JNI_CreateJavaVM failed 
E/AndroidRuntime(1048): JNI_CreateJavaVM failed 
I/ServiceManager( 782): service 'media.audio_flinger' died 
I/ServiceManager( 782): service 'media.player' died 
I/ServiceManager( 782): service 'media.camera' died 
I/ServiceManager( 782): service 'media.audio_policy' died 
I/Netd (1050): Netd 1.0 starting 
I/  (1049): ServiceManager: 0x8c6fed8 
E/  (1049): Failed to switch to AID_MEDIA user, error -1 
W/GoogleTVMediaApi(1049): InitializeGTVMediaLibraries not implemented 
W/AVAPIService(1049): InstantiateAVAPIService not implemented 
W/AudioHardwareInterface(1049): Using stubbed audio hardware. No sound will be produced. 
D/AudioHardwareInterface(1049): setMode(NORMAL) 

回答

6

有未來(非常快)仿真器的新版本。在此期間,您可以檢查您的AVD參數。礦如下:

hw.lcd.density=213 
hw.keyboard.charmap=Emulator 
sdcard.size=1G 
skin.name=720p 
skin.path=add-ons/addon-google_tv_addon-google-12/skins/720p 
hw.cpu.arch=x86 
abi.type=x86 
vm.heapSize=256 
hw.ramSize=1024 
disk.dataPartition.size=128 
image.sysdir.1=add-ons/addon-google_tv_addon-google-12/images/x86/ 
+0

謝謝!我不確定哪些設置可以實現,但現在就開始了。 – brousch

3

由於「壞堆大小參數」出現錯誤。 重新調整堆大小:對於我,我將堆大小從64更改爲128. 編輯Android虛擬設備。

enter image description here