アンドロイド5.0のキーボード隠しクラッシュでこの問題を解決する人はいますか?私は同じコードで4.4.2を試しましたが、それは起こりません。アンドロイドLollipopでキーボード隠しクラッシュ
これが私の活動の設定は次のとおりです。
<activity
android:name=".activity.MainActivity"
android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar">
これは、これを試してみてください
06-17 20:43:57.823 32593-32604/org.mydev.app.debug W/art: Suspending all threads took: 14.210ms 06-17 20:43:59.503 32593-32604/org.mydev.app.debug W/art: Suspending all threads took: 195.356ms 06-17 20:44:02.633 32593-931/org.mydev.app.debug E/UncaughtException: java.lang.NullPointerException: Attempt to read from field 'java.lang.Object maps.W.d$c.c' on a null object reference at maps.W.d.a(Unknown Source) at maps.W.d.b(Unknown Source) at maps.X.J.a(Unknown Source) at maps.ac.i$d.a(Unknown Source) at maps.ac.i.a(Unknown Source) at maps.ac.n.a(Unknown Source) at maps.X.A.a(Unknown Source) at maps.X.H.a(Unknown Source) at maps.X.H.b(Unknown Source) at maps.X.y$f.f(Unknown Source) at maps.X.y$f.run(Unknown Source) 06-17 20:44:02.673 32593-32593/org.mydev.app.debug I/Choreographer: Skipped 557 frames! The application may be doing too much work on its main thread.
_android:windowSoftInputMode = "stateHidden"を_activity_タグに追加してみてください。 – Lawrance
ありがとうございました。しかし、それはまだクラッシュしている。アプリケーションがフリーズしてクラッシュします。 –
クラッシュログを投稿できますか? – Lawrance