Round Android Wear Emulator is Square

后端 未结 3 1563
予麋鹿
予麋鹿 2020-12-31 03:43

The title and picture say it all--my round android wear emulator shows the rect layout. I\'d appreciate any tips that help me get the round emulator to show the correct int

3条回答
  •  别那么骄傲
    2020-12-31 04:47

    Make sure when you create you AVD that you select the following options for a round emulator:

    Device: Android Wear Round (320 x 320: hdpi) Target: Android 4.4W - API Level 20 CPU/ABI: Android Wear ARM (armeabi-v7a) Skin: AndroidWearRound

    Alternatively, you can create round or square emulators with the command lines:

    android create avd --force -n WatchRound --target "android-20" --device "Android Wear Round" --skin AndroidWearRound --abi android-wear/armeabi-v7a
    android create avd --force -n WatchSquare --target "android-20" --device "Android Wear Square" --skin AndroidWearSquare --abi android-wear/armeabi-v7a
    

    It is important that Device and Skin are both consistent, and you cannot mix round and square with the same emulator. If the problem still happens, post a screen shot of your configuration.

提交回复
热议问题