[Shield Android TV Android Development] Paule1966:
Success: Philips TV set 49PUS7909 (Germany)

Hi There,

I tried a lot of versions of the amazon apk on my Philips TV set, ModelNo 49PUS7909

But I always got an java exception (I found the stack trace in logcat) *after* starting a video, see below.

Now I found the solution in installing the edited-apk-version. Thank you very much will.blaschko!!! I can watch now videos from Prime !!

But tell me, what's the difference in this version compared to the others???

Greetings from Germany

Paule1966

[ 2016/06/17-18:27:18.060 3278: 3278 E/AndroidRuntime ]

FATAL EXCEPTION: main

java.lang.RuntimeException: java.lang.NullPointerException: The view cannot be found by given id: LeftNavSpacer

at com.amazon.avod.events.proxy.EventInvocation.doInvoke(EventInvocation.java:64)

at com.amazon.avod.events.proxy.EventInvocation.access$000(EventInvocation.java:16)

at com.amazon.avod.events.proxy.EventInvocation$1.run(EventInvocation.java:43)

at android.os.Handler.handleCallback(Handler.java:725)

at android.os.Handler.dispatchMessage(Handler.java:92)

at android.os.Looper.loop(Looper.java:137)

at android.app.ActivityThread.main(ActivityThread.java:5044)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:511)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)

at dalvik.system.NativeStart.main(Native Method)

Caused by: java.lang.NullPointerException: The view cannot be found by given id: LeftNavSpacer

at com.amazon.avod.util.ViewUtils.findViewById(ViewUtils.java:196)

at com.amazon.avod.util.ViewUtils.findViewById(ViewUtils.java:221)

at com.amazon.avod.xray.navbar.launcher.XrayNavbarCardPresenter$TitleViewPaddingAdjusterFactory.findView(XrayNavbarCardPresenter.java:962)

at com.amazon.avod.xray.navbar.launcher.XrayNavbarCardPresenter$TitleViewPaddingAdjusterFactory.create(XrayNavbarCardPresenter.java:940)

at com.amazon.avod.xray.navbar.launcher.XrayNavbarCardPresenter.initialize(XrayNavbarCardPresenter.java:316)

at com.amazon.avod.client.activity.feature.PlaybackXrayFeature.prepareForPlayback(PlaybackXrayFeature.java:217)

at com.amazon.avod.client.activity.feature.PlaybackXrayFeature.prepareForPlayback(PlaybackXrayFeature.java:169)

at com.amazon.avod.playbackclient.activity.feature.PlaybackFeatureManager.prepareForPlayback(PlaybackFeatureManager.java:67)

at com.amazon.avod.playbackclient.PlaybackProfileManager.prepareForPlayback(PlaybackProfileManager.java:106)

at com.amazon.avod.playbackclient.PlaybackSession.preparePlaybackSession(PlaybackSession.java:646)

at com.amazon.avod.playbackclient.PlaybackSession.onPrepared(PlaybackSession.java:574)

at com.amazon.avod.playbackclient.BasePlaybackActivity$PlaybackActivityPresentationConsumer.onPrepared(BasePlaybackActivity.java:2169)

at com.amazon.avod.playbackclient.BackgroundPlaybackDataConsumer$1.onPrepared(BackgroundPlaybackDataConsumer.java:357)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:511)

at com.amazon.avod.events.proxy.EventInvocation.doInvoke(EventInvocation.java:58)

... 11 more