关于Leanback:

Declare Leanback support

Declare that your app uses the Leanback user interface required by Android TV. If you are developing an app that runs on mobile (phones, wearables, tablets, etc.) as well as Android TV, set the required attribute value tofalse. If you set the required attribute value to true, your app will run only on devices that use the Leanback UI.

<manifest>

     <uses-feature android:name="android.software.leanback"

    <android:required="false" />

    ...

</manifest>

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐