スマホHack!

Null ポインター例外

スマホ関連の海外ニュースです。

ただし次天気アプリ プロジェクトのビデオのステップ バイ ステップをしてきた、私のコードで間違っていたかを見つけるしようとしている、アプリを起動しようとしたらエラーがある: updateDisplay とのそれに見えるから始めた com.teamtreehouse.auxo.MainActivity$1$1.run(MainActivity.java:79) で com.teamtreehouse.auxo.MainActivity.access$200(MainActivity.java:27) で com.teamtreehouse.auxo.MainActivity.updateDisplay(MainActivity.java:104) で null オブジェクト参照に対して仮想メソッド ‘void android.widget.TextView.setText(java.lang.CharSequence)’ を呼び出すしようとしました。、私のための任意の明らかな兆候はありません-しかし私は明白な答えを見下ろすことができます。任意の提案が役立つだろう!ありがとう。
続きを読む…

Null Pointer Exception

I’ve been trying to find what was wrong with my code as I’ve been follwing step by step of the video of the Weather App project however, once I try to start the app there is an error: Attempt to invoke virtual method ‘void android.widget.TextView.setText(java.lang.CharSequence)’ on a null object reference at com.teamtreehouse.auxo.MainActivity.updateDisplay(MainActivity.java:104) at com.teamtreehouse.auxo.MainActivity.access$200(MainActivity.java:27) at com.teamtreehouse.auxo.MainActivity$1$1.run(MainActivity.
Read more…

facebooktwittergoogle_plusredditpinterestlinkedinmail

Comments are closed.