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 →