'Error while Uploading and launching Instant App in android studio

i have made a instant app and i get this error when deploying


    com.google.android.instantapps.sdk.lib.AdbCommandException: ADB process exited with code 1: [install-multiple, -r, -t, --ephemeral, D:\hello\normal\app\build\intermediates\apk\debug\app-debug.apk]
Command output:
adb: failed to finalize session
Failure [-116: Failed to prepare for install.]

Error while Uploading and launching Instant App
Failed to launch an application on all devices

How do i fix this error? i have android studio bumblebee 2021. it worked a couple of days ago. my compilesdk is 32.

this is a share of logcat when i try to deploy the instant app. The normal non instant app is working perfectly so it has to be a problem with the instant app part.

2022-03-06 22:04:54.793 550-550/? A/libc: crash_dump helper failed to exec
2022-03-06 22:04:55.088 789-789/? A/libc: failed to wait for crash_dump helper: No child processes
2022-03-06 22:04:55.293 790-790/? A/libc: failed to wait for crash_dump helper: No child processes
    
    --------- beginning of system
2022-03-08 17:41:19.022 1655-3107/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:41:19.037 1655-3107/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:41:19.196 1655-4445/? E/OplusCustomizeRestrictionManagerService: isBiometricDisabled start
2022-03-08 17:41:19.461 1655-4444/? E/OplusCustomizeRestrictionManagerService: isBiometricDisabled start
2022-03-08 17:41:19.511 29948-29948/? E/OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
2022-03-08 17:41:22.259 29948-30001/? E/ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
2022-03-08 17:41:22.321 1655-4287/? E/OplusCustomizeRestrictionManagerService: isUSBOtgDisabled start
2022-03-08 17:41:22.322 1655-4442/? E/OplusCustomizeRestrictionManagerService: isUSBOtgDisabled start
2022-03-08 17:41:22.322 1655-4442/? E/OplusCustomizeRestrictionManagerService: isUSBOtgDisabled start
2022-03-08 17:41:22.400 1655-4442/? E/OplusCustomizeRestrictionManagerService: isUSBOtgDisabled start
2022-03-08 17:41:24.028 29948-30297/? E/ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
2022-03-08 17:41:24.469 1655-3987/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:24.474 1655-3118/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:24.475 1655-3108/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:24.475 1655-3107/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:24.475 1655-2004/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:24.475 1655-3727/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:24.475 1655-4426/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:24.512 1655-1669/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.084 1655-1676/? E/ColorZoomWindowManagerService: onConfigurationChanged rotation not changed - prevRotation: 0
2022-03-08 17:41:29.087 1655-1676/? E/ColorZoomWindowManagerService: onConfigurationChanged rotation not changed - prevRotation: 0
2022-03-08 17:41:29.146 1655-1669/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:41:29.156 1655-1669/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:41:29.864 1655-3108/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:41:29.871 1655-2004/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.876 1655-4445/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.876 1655-4445/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.877 1655-4426/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.877 1655-3107/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.879 1655-4445/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.880 1655-4445/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:29.881 1655-3109/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:41:29.928 1655-4445/? E/OplusCustomizeRestrictionManagerService: isUSBFileTransferDisabled start
2022-03-08 17:41:30.379 29948-30340/? E/ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
2022-03-08 17:41:30.436 1655-3108/? E/AdbDebuggingManager: Expected keyStore, but got tag=null
2022-03-08 17:41:30.436 1655-3108/? E/AdbDebuggingManager: Expected keyStore, but got tag=null
2022-03-08 17:41:30.805 1655-3108/? E/AdbDebuggingManager: Expected keyStore, but got tag=null
2022-03-08 17:41:30.805 1655-3108/? E/AdbDebuggingManager: Expected keyStore, but got tag=null
2022-03-08 17:41:31.637 29948-30001/? E/ActivityThread: Failed to find provider info for com.qti.smq.Feedback.provider
2022-03-08 17:41:45.212 1655-4442/? E/AdbDebuggingManager: Expected keyStore, but got tag=null
2022-03-08 17:41:45.212 1655-4442/? E/AdbDebuggingManager: Expected keyStore, but got tag=null
2022-03-08 17:41:52.750 1655-2008/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:41:52.763 1655-2008/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:42:00.111 1655-3108/? E/OplusCustomizeRestrictionManagerService: isBiometricDisabled start
2022-03-08 17:42:00.113 1655-4443/? E/OplusCustomizeRestrictionManagerService: isBiometricDisabled start
2022-03-08 17:42:28.657 1655-3108/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:42:28.683 1655-4285/? E/ORMS_Platform : OplusResourceManagerPlatformUtils: readFile function exception:/sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/freq_table_mhz: open failed: ENOENT (No such file or directory)
2022-03-08 17:42:29.151 31636-31719/? E/OplusCustomizeRestrictionManager: sInstance is null, start a new sInstance
2022-03-08 17:42:29.202 1655-2835/? E/ActivityManager: Existing provider com.samsung.android.oneconnect/.base.settings.InternalSettingsProvider is crashing; detaching ProcessRecord{86b9e20 31636:com.samsung.android.oneconnect/u0a265}
2022-03-08 17:42:31.278 31736-31736/? E/OCF_CLOUD_UTILITY_MANAGER[0.11.99]: Host is empty!


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source