DenisovAV/flutter_tv

Please help Compilation error..

Closed this issue · 8 comments

I cannot build and run your example. Im pretty new to this can you help?

`Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Warning: unexpected element (uri:"", local:"base-extension"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugMainManifest'.

Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @10bcbbc3

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.`

trying to run it on ATV..

Looks like you tried to run on Android, there is a package custom_shared_preferences that doesn't work on Android. iOS and AppleTV only. I'm going to update it later to use normal shared_preferences for Android. But now the example is running in Apple ecosystem only

Yeah i do care only about Android TV. Im looking for days some good working example of dpad/atv controller application. Its very had to make some good navigation in flutter. My goal is sidebar navigation and so on.. Can your sample do it pls? Thx a lot

Nope, the purpose of an example is to show that Futter apps can be launched on AppleTV. Navigation is very primitive there. You can check yourself, just change custom_shared_preferences in pubspec.yaml to shared_preferences

Could you tell me what you exactly need? Dpad/atv works like a keyboard, you need just control focus. My simple example will support it as well, like usual RCU

Thank you, what is RCU(remote control unit) pls ?

I would like to replace our plugin for Kodi. My goal is to make similar Netflix like application with Sidebar and content area where i can focus on all elements by DPAD (move to element and select it). But also i would like to make of use an Media Buttons for video player, if that is even possible. To be hones none ever made some complete example with navigation like a whole thing(i have been searhing, testing for days :( ). All i have seen only partial working containers with index focus(usefull only in some list or wrap component, but not for menu) and thats all. To be honest i picked Flutter because it has a truly multiplatform videoplayer call media_kit, but im stuck on start since i cannot even dpad navigation work with side menu, for example :(...

Thx a lot

BTW flutter is very new to me, but i can do a few other languages, so im not new to dev field..

Sorry for the delayed answer. I'm going to add the player interface to my example soon.

PS: This is an example of RCU

image