Introduction
– Android TV application hands on tutorial 1

[updated 2015.11.16]: Revise (sentence structure refactoring). Android TV application development introduction Currently, we have still not enough introduction for Android TV application development yet. In this series of tutorial, I will introduce how to develop Android TV application. The aim of this post is to understand Android “TV” specific code implementation, especially focusing on UI […]

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 […]

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: […]

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 →

Building Android TV sample application

Let’s look how Android TV app works by building this sample application. At the time of writing (2015/6/25), I faced a compile error for building default sample application  for Android TV. I wrote another posts that how to resolve these issues, which are the temporary counter measure until the errors will be fixed by AOSP. Environment Android […]

Continue reading →