質問編集履歴

1

質問修正

2016/05/05 06:14

投稿

taro11
taro11

スコア13

test CHANGED
@@ -1 +1 @@
1
- nullpointerexception
1
+ インスタンス化でnullpointerexception
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- ```MainActivity.java
5
+ ```java
6
6
 
7
7
 
8
8
 
@@ -110,7 +110,7 @@
110
110
 
111
111
  ```
112
112
 
113
- ```エラー文
113
+ ```
114
114
 
115
115
  java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
116
116