前提・実現したいこと
Unityでビルドしたアプリを実機で試そうとした結果開くと即落ちしてしまう不具合を直したい。
発生している問題・エラーメッセージ
Unityでビルドしたアプリを実機で試そうとした結果開くと即落ちしてしまう
試したこと
プラットフォームをPC,Mac&Linux Standaloneにしてビルド後、windowsでそれを起動すると正常に
動作する。
この不具合をググって同じ体験をしている人の解決方法を一通り試した。
Player Settingsをいじってみたが変わらず。
adb logcatをしてみたがログがよくわからない。
補足情報
Unity 2019.2.8f1
C#
###追加
logcatを使うのが初めてなのでよくわかりませんがadb logcat *:Eの結果がこれです。(41行目から画像)
04-27 23:08:35.287 1854 13518 E DollieActivityManagerAdapter: HwActivityNotifierEx null uid 04-27 23:08:35.295 3638 3683 E AppLifeChangeSensor: CAWARENESS: activityPaused mAppLifeChangeCallback is null 04-27 23:08:35.301 1198 1826 E ProcessInfoCollector: getProcessInfo: failed to find this proc 04-27 23:08:35.302 1198 1518 E : [ZeroHung]zrhung_get_config: Get config failed for wp[0x0110] 04-27 23:08:35.342 1983 2420 E powergenie_jni: FUNC: setHisiCABCInner() LINE: 60 open /dev/pri_lcd error: No such file or directory 04-27 23:08:35.342 1983 2420 E DisplayControl: Fail! set cabc mode: 1 04-27 23:08:35.343 1854 2472 E XEngineMpipControl: Invalid SubId 04-27 23:08:35.343 1854 13518 E ActivityThread: Failed to find provider info for com.huawei.hwid.gameservice.inshowbuoylist 04-27 23:08:35.344 1983 2752 E AwareLog: SPKSchedFeature: Uid has been sent, ignore. 04-27 23:08:35.346 1854 2472 E Hicom_PolicyCenterService: enableAppLevelMP. null == mMultipathAppsMap 04-27 23:08:35.346 1983 2773 E AwareLog: KeyThreadRecognize: can not find max eas level for: com.com.Blood.TaikorandomMk2.TaikorandomMk2 04-27 23:08:35.347 1983 2773 E AwareLog: AwareGameFreq: gameFreqGov is invalid. 04-27 23:08:35.374 13656 13656 E AndroidRuntime: FATAL EXCEPTION: main 04-27 23:08:35.374 13656 13656 E AndroidRuntime: Process: com.com.Blood.TaikorandomMk2.TaikorandomMk2, PID: 13656 04-27 23:08:35.374 13656 13656 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider androidx.core.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.com.Blood.TaikorandomMk2.TaikorandomMk2-l7l_btL8pWjcDGfuZw0W6Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.com.Blood.TaikorandomMk2.TaikorandomMk2-l7l_btL8pWjcDGfuZw0W6Q==/lib/arm, /data/app/com.com.Blood.TaikorandomMk2.TaikorandomMk2-l7l_btL8pWjcDGfuZw0W6Q==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]] 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:7278) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6813) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6699) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.ActivityThread.access$2000(ActivityThread.java:273) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2020) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:112) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.os.Looper.loop(Looper.java:216) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7625) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" on path: DexPathList[[zip file "/data/app/com.com.Blood.TaikorandomMk2.TaikorandomMk2-l7l_btL8pWjcDGfuZw0W6Q==/base.apk"],nativeLibraryDirectories=[/data/app/com.com.Blood.TaikorandomMk2.TaikorandomMk2-l7l_btL8pWjcDGfuZw0W6Q==/lib/arm, /data/app/com.com.Blood.TaikorandomMk2.TaikorandomMk2-l7l_btL8pWjcDGfuZw0W6Q==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]] 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:121) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:7262) 04-27 23:08:35.374 13656 13656 E AndroidRuntime: ... 10 more 04-27 23:08:35.375 13656 13678 E AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@3455db1 04-27 23:08:35.375 13656 13678 E AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@efb0296 04-27 23:08:35.378 827 3022 E iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 04-27 23:08:35.378 827 3022 E iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 04-27 23:08:35.379 827 3022 E iMonitor: FaultDetect: DUMPTOOL_PRINTF return. 04-27 23:08:35.380 827 3022 E iMonitor: FaultDetect: DUMPTOOL_PRINTF return.
追加
空プロジェクトをプラットフォームAndroidでそのままビルド→実機で正常に動作
パッケージ名は「com.com.Blood.TaikorandomMk2.TaikorandomMk2」
AssetStoreからインポート(どれも最新版)
- Modern UI Pack
- DOTween (HOTween v2)
- Ultimate Mobile Pro
- DoozyUI: Complete UI Management System
- TextMesh Pro
回答1件
あなたの回答
tips
プレビュー