質問編集履歴

2

情報の追加

2016/09/02 11:23

投稿

削除済ユーザー
test CHANGED
File without changes
test CHANGED
@@ -59,3 +59,25 @@
59
59
 
60
60
 
61
61
  どのようにこのエラーを解決したらよいのでしょうか?
62
+
63
+ 以下にエラーの詳細を記載します。
64
+
65
+
66
+
67
+
68
+
69
+ イベントログには
70
+
71
+ 20:14:28 Executing tasks: \[:app:clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:assembleDebug\]
72
+
73
+ 20:17:51 Gradle build finished in 3m 22s 504ms
74
+
75
+ 20:19:31 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
76
+
77
+ 20:19:33 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
78
+
79
+ 20:19:39 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
80
+
81
+ 20:20:49 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
82
+
83
+ と書いてありました。

1

情報の追加

2016/09/02 11:22

投稿

削除済ユーザー
test CHANGED
File without changes
test CHANGED
@@ -59,105 +59,3 @@
59
59
 
60
60
 
61
61
  どのようにこのエラーを解決したらよいのでしょうか?
62
-
63
- 以下にエラーの詳細を記載します。
64
-
65
- 09-02 20:17:38\.526 2726-2726/me\.myreco\.up E/AndroidRuntime: FATAL EXCEPTION: main
66
-
67
- Process: me\.myreco\.up, PID: 2726
68
-
69
- android\.view\.InflateException: Binary XML file line #20: Error inflating class \(not found\)PreferenceScree
70
-
71
- at android\.support\.v7\.preference\.PreferenceInflater\.createItemFromTag\(PreferenceInflater\.java:300\)
72
-
73
- at android\.support\.v7\.preference\.PreferenceInflater\.rInflate\(PreferenceInflater\.java:358\)
74
-
75
- at android\.support\.v7\.preference\.PreferenceInflater\.rInflate\(PreferenceInflater\.java:360\)
76
-
77
- at android\.support\.v7\.preference\.PreferenceInflater\.inflate\(PreferenceInflater\.java:167\)
78
-
79
- at android\.support\.v7\.preference\.PreferenceInflater\.inflate\(PreferenceInflater\.java:117\)
80
-
81
- at android\.support\.v7\.preference\.PreferenceManager\.inflateFromResource\(PreferenceManager\.java:115\)
82
-
83
- at android\.support\.v7\.preference\.PreferenceFragmentCompat\.addPreferencesFromResource\(PreferenceFragmentCompat\.java:366\)
84
-
85
- at me\.myreco\.up\.SettingFragment\.onCreatePreferences\(SettingFragment\.java:20\)
86
-
87
- at android\.support\.v7\.preference\.PreferenceFragmentCompat\.onCreate\(PreferenceFragmentCompat\.java:210\)
88
-
89
- at android\.support\.v4\.app\.Fragment\.performCreate\(Fragment\.java:1951\)
90
-
91
- at android\.support\.v4\.app\.FragmentManagerImpl\.moveToState\(FragmentManager\.java:1029\)
92
-
93
- at android\.support\.v4\.app\.FragmentManagerImpl\.performPendingDeferredStart\(FragmentManager\.java:926\)
94
-
95
- at android\.support\.v4\.app\.Fragment\.setUserVisibleHint\(Fragment\.java:876\)
96
-
97
- at android\.support\.v4\.app\.FragmentStatePagerAdapter\.setPrimaryItem\(FragmentStatePagerAdapter\.java:153\)
98
-
99
- at android\.support\.v4\.view\.ViewPager\.populate\(ViewPager\.java:1175\)
100
-
101
- at android\.support\.v4\.view\.ViewPager\.setCurrentItemInternal\(ViewPager\.java:608\)
102
-
103
- at android\.support\.v4\.view\.ViewPager\.setCurrentItemInternal\(ViewPager\.java:570\)
104
-
105
- at android\.support\.v4\.view\.ViewPager\.setCurrentItem\(ViewPager\.java:551\)
106
-
107
- at android\.support\.design\.widget\.TabLayout\$ViewPagerOnTabSelectedListener\.onTabSelected\(TabLayout\.java:2008\)
108
-
109
- at android\.support\.design\.widget\.TabLayout\.selectTab\(TabLayout\.java:1025\)
110
-
111
- at android\.support\.design\.widget\.TabLayout\.selectTab\(TabLayout\.java:995\)
112
-
113
- at android\.support\.design\.widget\.TabLayout\$Tab\.select\(TabLayout\.java:1272\)
114
-
115
- at android\.support\.design\.widget\.TabLayout\$TabView\.performClick\(TabLayout\.java:1377\)
116
-
117
- at android\.view\.View\$PerformClick\.run\(View\.java:21147\)
118
-
119
- at android\.os\.Handler\.handleCallback\(Handler\.java:739\)
120
-
121
- at android\.os\.Handler\.dispatchMessage\(Handler\.java:95\)
122
-
123
- at android\.os\.Looper\.loop\(Looper\.java:148\)
124
-
125
- at android\.app\.ActivityThread\.main\(ActivityThread\.java:5417\)
126
-
127
- at java\.lang\.reflect\.Method\.invoke\(Native Method\)
128
-
129
- at com\.android\.internal\.os\.ZygoteInit\$MethodAndArgsCaller\.run\(ZygoteInit\.java:726\)
130
-
131
- at com\.android\.internal\.os\.ZygoteInit\.main\(ZygoteInit\.java:616\)
132
-
133
- Caused by: java\.lang\.ClassNotFoundException: Didn't find class "android\.support\.v7\.preference\.PreferenceScree" on path: DexPathList\[\[zip file "/data/app/me\.myreco\.up-2/base\.apk"\],nativeLibraryDirectories=\[/data/app/me\.myreco\.up-2/lib/x86, /vendor/lib, /system/lib\]\]
134
-
135
- at dalvik\.system\.BaseDexClassLoader\.findClass\(BaseDexClassLoader\.java:56\)
136
-
137
- at java\.lang\.ClassLoader\.loadClass\(ClassLoader\.java:511\)
138
-
139
- at java\.lang\.ClassLoader\.loadClass\(ClassLoader\.java:469\)
140
-
141
-
142
-
143
- Suppressed: java\.lang\.ClassNotFoundException: Didn't find class "android\.support\.v7\.preference\.PreferenceScree" on path: DexPathList\[\[dex file "/data/data/me\.myreco\.up/files/instant-run/dex/slice-twitter-text-1\.13\.0_1747ea61a79eb9fda5bf6daf251c5bc1e194e6d8-classes\.dex", dex file "/data/data/me\.myreco\.up/files/instant-run/dex/slice-support-annotations-23\.2\.1_fa03c9e44c8ebf470e1567c0d4f73d89dd160991-classes\.dex", dex file "/data/data/me\.myreco\.up/files/instant-run/dex/slice-stetho-okhttp3-1\.3\.0_dfe4e1df720596744eb550e7e79f36d8857dbcf0-classes\.dex", dex file "/data/data/me\.myreco\.up/files/instant-run/dex/slice-stetho-1\.3\.0_843c3e67fb1bfc
144
-
145
-
146
-
147
-
148
-
149
- イベントログには
150
-
151
- 20:14:28 Executing tasks: \[:app:clean, :app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:assembleDebug\]
152
-
153
- 20:17:51 Gradle build finished in 3m 22s 504ms
154
-
155
- 20:19:31 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
156
-
157
- 20:19:33 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
158
-
159
- 20:19:39 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
160
-
161
- 20:20:49 Throwable: Assertion failed: Negative offet for crumb: PreferenceScree
162
-
163
- と書いてありました。