android-studio - Android TV模拟器:方向错误

标签 android-studio avd android-tv

当我从AVD Manager创建新的Android TV虚拟设备并在仿真器中启动它时,方向完全错误(参见图片)。我如何从景观入手?

Image: Android TV Emulator - Wrong Orientation


设备的config.ini:

avd.ini.encoding=UTF-8
AvdId=Android_TV_1080p_API_23
abi.type=x86
avd.ini.displayname=Android TV (1080p) API 23
disk.dataPartition.size=200M
hw.accelerometer=no
hw.audioInput=yes
hw.battery=no
hw.camera.back=none
hw.camera.front=none
hw.cpu.arch=x86
hw.dPad=yes
hw.device.hash2=MD5:f26df701fd74415b9a435e3e607b5d8a
hw.device.manufacturer=Google
hw.device.name=Android TV (1080p)
hw.gps=yes
hw.gpu.enabled=yes
hw.initialOrientation=landscape
hw.keyboard=yes
hw.keyboard.lid=yes
hw.lcd.density=320
hw.mainKeys=yes
hw.ramSize=1536
hw.sdCard=yes
hw.sensors.orientation=no
hw.sensors.proximity=no
hw.trackBall=no
image.sysdir.1=system-images\android-23\android-tv\x86\
runtime.network.latency=none
runtime.network.speed=full
runtime.scalefactor=auto
sdcard.path=C:\Users\Emil\.android\avd\Android_TV_1080p_API_23.avd\sdcard.img
skin.dynamic=yes
skin.name=1920x1080
skin.path=1920x1080
snapshot.present=no
tag.display=Android TV
tag.id=android-tv
vm.heapSize=128

最佳答案

创建电视模拟器时,默认情况下它处于纵向模式。
要将方向更改为横向,请按键盘右侧的数字键盘9键。

关于android-studio - Android TV模拟器:方向错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33792620/

相关文章:

android - 进程结束,退出代码 1 : Unknown AVD name

android - adb screenrecord 命令在我的 Android TV 上不起作用

Android与Jess Expert系统集成

Android Studio 0.5.0 重建不适用于 Proguard

android - 未能找到 : com. android.support :appcompat-v7:22. 2.0

android - 等待设备 : The emulator process for AVD . 时出错 ... 被杀死

java - 跟踪代码管理器不再工作 - Android Studio 2.2.2

android - 如何连接到 AVD

android - 在 Android TV 中使用 Youtube API

android - 在 leanback 的标题 View 中使用多个 Orb 按钮或其他按钮