📱 Android Errors

51 error notes

androidintermediate

Androidでjava.lang.UnsatisfiedLinkError: couldn't find "libcustom_native.so"を修正する方法

java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader... couldn't find "libcustom_native.so"
ndkjniAndroid開発デバッグ
androidintermediate

Android App Linksの修正: 「Intent filter verification failed」エラーの解決策

Intent filter verification failed for domain: example.com
deeplinkapp-linksintent-filterandroid
androidintermediate

android.view.InflateExceptionの修正:カスタムビューのインフレーションエラーを解決する

android.view.InflateException: Binary XML file line #12: Error inflating class com.example.CustomView
android開発xmlレイアウトカスタムビューkotlin
androidintermediate

Androidでの「Room Cannot Verify Data Integrity」エラーの修正方法

java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number.
roomandroid-developmentsqlitekotlin
androidintermediate

android.database.sqlite.SQLiteException: no such table: users の修正方法

android.database.sqlite.SQLiteException: no such table: users (code 1 SQLITE_ERROR)
androidsqliteroomモバイルアプリ開発
androidbeginner

Android Studioでの「Unsupported class file major version」エラーの解決方法

Cause: unsupported class file major version 65 (or versions 61, 62, 63)
GradleJDKAndroid Studioビルドエラー
androidintermediate

Kotlinx Serializationの「Serializer for class is not found」エラーの修正方法

kotlinx.serialization.SerializationException: Serializer for class 'X' is not found. Mark the class as @Serializable or provide the serializer explicitly.
KotlinAndroidKotlinx SerializationGradle
androidintermediate

Jetpack Composeにおける「LocalNavController Not Provided」クラッシュの修正方法

java.lang.IllegalStateException: CompositionLocal LocalNavController not provided
androidjetpack-composekotlinnavigation
androidintermediate

Androidにおける「Fragment not attached to a context」クラッシュの修正方法

androidbeginner

Androidで「You need to use a Theme.AppCompat theme (or descendant) with this activity」を修正する

java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
androidテーマスタイルappcompat
androidintermediate

AndroidでのIllegalStateException: Fragment already addedの解決方法

java.lang.IllegalStateException: Fragment already added: MyDialogFragment{...}
androidfragmentdialogfragmentライフサイクル
androidintermediate

AndroidリリースビルドにおけるClassNotFoundExceptionの修正(R8 & ProGuard)

java.lang.ClassNotFoundException: Didn't find class "com.example.MyClass" on path: DexPathList
r8proguardandroid-sdk難読化
androidbeginner

Androidで「No adapter attached; skipping layout」警告を修正する方法

E/RecyclerView: No adapter attached; skipping layout
androidrecyclerviewkotlinmobile-development
androidbeginner

Android LiveDataにおける「java.lang.IllegalStateException: Cannot invoke setValue on a background thread」の解決方法

java.lang.IllegalStateException: Cannot invoke setValue on a background thread
livedataviewmodelcoroutinesandroid-error
androidintermediate

Hiltにおける[Dagger/MissingBinding]エラーの解決方法:実践ガイド

error: [Dagger/MissingBinding] com.example.Repository cannot be provided without an @Inject constructor or an @Provides-annotated method.
androidhiltdaggerkotlin
android中級

Android Studioでの「Manifest merger failed」エラーの解決方法

Error: Manifest merger failed with multiple errors, see logs
android-studiogradlemanifestbuild-error
androidintermediate

Androidで java.lang.IllegalArgumentException: Navigation destination is unknown to this NavController を解決する方法

java.lang.IllegalArgumentException: Navigation destination com.example:id/action_fragmentA_to_fragmentB is unknown to this NavController
ナビゲーションJetpackFragmentNavController
androidintermediate

Android 12, 13, 14におけるForegroundServiceStartNotAllowedExceptionの解決方法

android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false
Android開発フォアグラウンドサービスAndroid 14WorkManager
androidintermediate

AndroidでAPIコール時のSocketTimeoutExceptionを修正する(OkHttp / Retrofit)

java.net.SocketTimeoutException: failed to connect to api.example.com/192.168.1.1 (port 443) from /192.168.1.2 (port 52341) after 15000ms
ネットワークhttpタイムアウトソケット
androidintermediate

Android 12で「Targeting S+にはFLAG_IMMUTABLEまたはFLAG_MUTABLEが必要」を修正する

java.lang.IllegalArgumentException: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
android 12pendingintentマイグレーション
androidintermediate

java.lang.SecurityException: android.permission.CAMERA への権限拒否(Permission Denial)の修正方法

java.lang.SecurityException: Permission Denial: starting Intent requires android.permission.CAMERA
パーミッション実行時パーミッションセキュリティAndroid 6
androidintermediate

修正:Android 14 SecurityException – RECEIVER_EXPORTEDフラグの不足

java.lang.SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
android 14broadcastreceiverセキュリティandroid-sdk
androidbeginner

Androidでのandroid.os.NetworkOnMainThreadExceptionの解決方法

android.os.NetworkOnMainThreadException
androidネットワークスレッド処理kotlin-coroutines
androidintermediate

kotlin.UninitializedPropertyAccessExceptionの解決:'Lateinit'の罠を回避する

kotlin.UninitializedPropertyAccessException: lateinit property ... has not been initialized
kotlinlateinitandroidクラッシュ修正
androidintermediate

SSLHandshakeException修正: AndroidでTrust Anchor for Certification Path Not Foundが発生する場合

javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
sslhttpsokhttpretrofit
androidintermediate

AndroidでLargeビットマップ読み込み時のjava.lang.OutOfMemoryErrorを修正する

java.lang.OutOfMemoryError: Failed to allocate a 52428800 byte allocation with 8388608 free bytes and 7MB until OOM
ビットマップメモリglidepicasso
androidintermediate

ActivityNotFoundExceptionの修正:AndroidでIntentを処理するActivityが見つからない

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=... }
インテントアクティビティマニフェスト暗黙的インテント
androidintermediate

AndroidでIntentを使ってデータを渡す際のandroid.os.TransactionTooLargeExceptionを修正する

android.os.TransactionTooLargeException: data parcel size X bytes
androidintentbundleparcel
androidintermediate

INSTALL_FAILED_UPDATE_INCOMPATIBLE: パッケージの署名が一致しない問題をAndroidで修正する

INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package signatures do not match previously installed version
androidadbapksignature
androidintermediate

「.dexファイルのメソッド参照数が64Kを超えることはできません」(DexIndexOverflowException)の修正方法

com.android.dex.DexIndexOverflowException: method ID not in [0, ffff]: 65536
gradlemultidexandroid-studiobuild-error
androidintermediate

IllegalStateException修正:AndroidフラグメントでonSaveInstanceState後にこのアクションを実行できない

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
フラグメントライフサイクルフラグメントトランザクションandroid-ui
androidintermediate

Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules エラーの修正方法

Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules kotlin-stdlib-jdk8 and kotlin-stdlib
androidgradlekotlin依存関係
androidintermediate

FileUriExposedExceptionの修正:Android 7.0以降でfile:///によるクラッシュを止める方法

android.os.FileUriExposedException: file:///... exposed beyond app through Intent.getData()
androidfileproviderintenturi
androidintermediate

Androidでダイアログ표示時のandroid.view.WindowManager$BadTokenExceptionを修正する

android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@... is not valid; is your activity running?
androidダイアログアクティビティライフサイクル
androidintermediate

Androidエミュレーターの「Intel HAXM is required to run this AVD」エラーを修正する

Emulator: dev/kvm is not found. Intel HAXM is required to run this AVD. VT-x is disabled in BIOS.
android-emulatorhaxmvirtualizationavd-manager
androidintermediate

Androidで「アプリをインストールできません」エラーを修正する方法(空き容量がある場合)

Can't install app. There isn't enough storage space.
androidトラブルシューティングadbストレージ管理
androidbeginner

APKインストールの解析エラー「パッケージの解析中に問題が発生しました」の修正方法

There was a problem parsing the package.
androidapkインストール解析エラー
androidintermediate

Androidで「Cleartext HTTP traffic to [domain] not permitted」を修正する

java.io.IOException: Cleartext HTTP traffic to [domain] not permitted
android-securitynetwork-security-confighttp-errorandroid-9.0
androidbeginner

Androidで「Google Play servicesの更新」エラーを修正する方法

"App" won't run unless you update Google Play services.
AndroidGoogle Play servicesAndroid Studioモバイル開発
androidintermediate

Google Playストアのエラー [DF-DFERH-01] を解決する:実践的ガイド

Error retrieving information from server. [DF-DFERH-01]
androidplayストアトラブルシューティングadb
androidintermediate

Androidが空き容量があるのに「ストレージ不足」と表示する理由

Insufficient storage available
android-devstorage-fixadbsamsung-tips
androidbeginner

Android開発における「ADB Error: No Devices/Emulators Found」の解決方法

error: no devices/emulators found
adbusb-debuggingandroid-studioトラブルシューティング
androidintermediate

Androidで「[device name]とペアリングできませんでした」Bluetoothペアリングエラーを解決する

Couldn't pair with [device name]
BluetoothペアリングAndroid
androidbeginner

Android WiFi「認証に問題があります — Wi-Fiネットワークに接続できません」の修正方法

Authentication problem — Couldn't connect to Wi-Fi network
androidwifi認証ネットワーク
androidbeginner

Google Playストアの「Download pending...」エラーを修正する方法(Android)

Download pending...
androidplay-storeダウンロード保留中
androidbeginner

「Android Auto が停止しました」を修正 — Android Auto が車に接続できない問題

Android Auto has stopped. Please try again.
androidandroid-autoカーナビusb
androidbeginner

Androidの「ストレージ容量が不足しています」エラーを修正する

Storage space running out. Some system functions may not work.
androidストレージ容量クリーンアップ
androidbeginner

Androidの「Process System Isn't Responding」エラーを修正する方法

Process system isn't responding. Do you want to close it?
androidprocess-systemnot-respondingrestart
androidintermediate

Androidの「アプリ」が停止し続けるエラーを修正する — 高速トリアージガイド

"App" keeps stopping
androidapp-crashcacheforce-stop
androidbeginner

Androidの「残念ながら、アプリが停止しました」エラーを修正する

Unfortunately, "App" has stopped.
androidapp-stoppedcrashdata
androidbeginner

Androidの「System UIが応答していません」エラーを修正する方法

System UI isn't responding. Do you want to close it?
androidsystem-uiクラッシュランチャー