Cannot use Software keyboard after pairing with TV SideView on SONY BRAVIA Android TV

Software keyboard cannot be launched and I cannot type from TV When I was using SONY’s TV SideView application, I faced a problem after pairing with TV SideView on SONY BRAVIA Android TV. I could not type any alphabet from TV, it always ask me to type from paired mobile with the word “Use the keyboard on your mobile device.“.  Even Solution: check Android system Keyboard setting The cause was coming from the Current keyboard setting has changed. You can change it by going to [Setting] → [Keyboard] (on System Preferences row) → [Current keyboard]. When “Virtual Remote keyboard” was selected, it was the root cause. Change it to the other. Leanback […]

Continue reading →

no suitable constructor found for HeaderItem(int,String,)

I got following error when I try to build android TV sample application. D:\workspace\androidstudio\AndroidTVsample\app\src\main\java\com\corochann\androidtvsample\MainFragment.java Error:(109, 33) error: no suitable constructor found for HeaderItem(int,String,<null>) constructor HeaderItem.HeaderItem(long,String) is not applicable (actual and formal argument lists differ in length) constructor HeaderItem.HeaderItem(String) is not applicable (actual and formal argument lists differ in length) Error:(113, 33) error: no suitable constructor found for HeaderItem(int,String,<null>) constructor HeaderItem.HeaderItem(long,String) is not applicable (actual and formal argument lists differ in length) constructor HeaderItem.HeaderItem(String) is not applicable (actual and formal argument lists differ in length) D:\workspace\androidstudio\AndroidTVsample\app\src\main\java\com\corochann\androidtvsample\PlaybackOverlayFragment.java Error:(316, 29) error: no suitable constructor found for HeaderItem(int,String,<null>) constructor HeaderItem.HeaderItem(long,String) is not applicable (actual and formal argument lists differ in length) constructor HeaderItem.HeaderItem(String) is […]

Continue reading →

String types not allowed (at ‘slideEdge’ with value ‘end’)

I got following error when I try to build android TV sample application. TVDemoApp\app\build\intermediates\exploded-aar\com.android.support\leanback-v17\22.1.1\res\transition-v22\lb_browse_entrance_transition.xml Error:(26, 26) String types not allowed (at ‘slideEdge’ with value ‘end’). TVDemoApp\app\build\intermediates\exploded-aar\com.android.support\leanback-v17\22.1.1\res\transition-v22\lb_browse_return_transition.xml Error:(21, 26) String types not allowed (at ‘slideEdge’ with value ‘start’). Error:(30, 26) String types not allowed (at ‘slideEdge’ with value ‘end’). Error:Execution failed for task ‘:app:processDebugResources’. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: C:\Users\corochann\AppData\Local\Android\sdk\build-tools\21.1.1\aapt.exe package -f –no-crunch -I C:\Users\corochann\AppData\Local\Android\sdk\platforms\android-21\android.jar -M D:TVDemoApp\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:TVDemoApp\app\build\intermediates\res\debug -A D:TVDemoApp\app\build\intermediates\assets\debug -m -J D:TVDemoApp\app\build\generated\source\r\debug -F D:\workspace\github\bugfix_episode_4\episode_1\TVDemoApp\app\build\intermediates\res\resources-debug.ap_ –debug-mode –custom-package com.sgottard.tvdemoapp -0 apk –output-text-symbols D:TVDemoApp\app\build\intermediates\symbols\debug Error Code: 1 Output: D:TVDemoApp\app\build\intermediates\res\debug\transition-v22\lb_browse_entrance_transition.xml:23: error: Error: String types not allowed (at ‘slideEdge’ with value ‘end’). D:TVDemoApp\app\build\intermediates\res\debug\transition-v22\lb_browse_return_transition.xml:18: error: Error: String types not allowed (at ‘slideEdge’ with value […]

Continue reading →

Plugin with id ‘android-sdk-manager’ not found

When you face this bug when trying to build Android source code, try following. Add below inside “dependencies” of top folder of build.gradle (Project: TVDemoApp)         classpath ‘com.android.tools.build:gradle:1.0.0′         classpath ‘com.jakewharton.sdkmanager:gradle-plugin:0.12.0′   Reference: http://stackoverflow.com/questions/26472221/plugin-with-id-android-sdk-manager-not-found  

Continue reading →