Skip to content

Application opening issue #4688

@JayasuryaDaikoku

Description

@JayasuryaDaikoku

Duplicate Check

Describe the bug

Hi Everyone,

I developed application using flet(0.25.2). I installed that apk in android, while opening the application in third time(1st and 2nd time is working properly). I am getting white screen instead of home page. if i open again afterwards, i am facing same issue. Please do the needful. I am facing this issue from last week.

Thanks in advance

Code sample

Code
[Paste your code here]

To reproduce

01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgGpsTime = 0 ms; BgGpsTime = 0 ms.
01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgGpsPower = 0.0 mAh; BgGpsPower = 0.0 mAh.
01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgSensorTime = 0 ms; BgSensorTime = 0 ms.
01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgSensorPower = 0.0 mAh; BgSensorPower = 0.0 mAh.
01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgCameraTime = 0 ms; BgCameraTime = 0 ms
01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgCameraPower = 0.0 mAh; BgCameraPower = 0.0 mAh
01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgFlashLightTime = 0 ms; BgFlashLightTime = 0 ms
01-10 11:54:24.412 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgFlashLightPower = 0.0 mAh; BgFlashLightPower = 0.0 mAh
01-10 11:54:24.550 5136 5136 W DartWorker: type=1400 audit(0.0:70681): avc: granted { execute } for path="/data/data/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/files/flet/python_bundle/modules/_csv.cpython-312.so" dev="dm-48" ino=1941135 scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c79,c258,c512,c768 tclass=file app=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:24.630 5136 5136 W DartWorker: type=1400 audit(0.0:70682): avc: granted { execute } for path="/data/data/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/files/flet/python_bundle/modules/_multibytecodec.cpython-312.so" dev="dm-48" ino=5495 scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c79,c258,c512,c768 tclass=file app=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:24.921 1579 2913 D CoreBackPreview: Window{e643d58 u0 manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@40e56df, mPriority=0}
01-10 11:54:24.934 1579 2913 D CoreBackPreview: Window{e643d58 u0 manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@80d1f2c, mPriority=-1}
01-10 11:54:25.547 5136 8951 D ProfileInstaller: Skipping profile installation for manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:32.373 1579 2913 V WindowManager: Changing focus from Window{e643d58 u0 manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity} to null,diplayid=0
01-10 11:54:32.377 1579 2913 I PowerHalWrapper: last:manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, next:com.android.launcher
01-10 11:54:32.378 1579 2913 I OplusHansManager : front pkg: com.android.launcher, uid: 10093, prev pkg: manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, prev uid: 10591
01-10 11:54:32.378 1579 2496 I OplusHansManager : uid=10591, pkg=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid enter SM
01-10 11:54:32.378 1579 2496 I OplusHansManager : uid=10591, pkg=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid R enter(), D stay=13
01-10 11:54:32.380 1579 2046 I Osense-DecisionMaker: notifySceneToAthenaPolicy: SCENE_LAUNCHER, bundle: Bundle[{prevPkgName=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, curUid=10093, curPkgName=com.android.launcher, prevUid=10591}]
01-10 11:54:32.380 1579 2508 I OplusResourcePreloadManager: resume pkg: com.android.launcher, uid:10093, prev pkg: manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, prev uid: 10591
01-10 11:54:32.391 1579 4504 D OplusAppListInterceptManager: shouldFilterTask::packageName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:32.393 1579 2632 D OplusAppSwitchListener: Detect manacare.se.DaikokuinnovationsLLp.trustadvisorandroid switch to background
01-10 11:54:32.393 1579 2632 D OplusEapManager: mTargetExitName :manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:32.393 1579 2632 V DCSEX-AppSwitchManager: OnAppSwitchObserver: onAppExit, resuming = com.android.launcher, target = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, is ResumingFirstStart = false, is ResumingMultiApp = false, extensionInfo = Bundle[{taskId=19902, uid=10093}]
01-10 11:54:32.393 1579 4513 I PowerHalWrapper: amsBoostNotify pid:22233,activity:com.android.launcher.Launcher, package:com.android.launcher, mProcessCreatePackmanacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:32.393 1579 2632 D VRR [OPlusFrontAppManager]: OnAppSwitchObserver: onAppExit , info.targetName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:32.394 1579 1789 D VRR [OPlusExternalRefreshRateManager]: setFrontPackageName pkgName: com.android.launcher CurPkgName: manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:32.395 2419 3082 I Athena : AthenaDynamicReceiver: pre_app:manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, next_app:com.android.launcher(10093|22233)
01-10 11:54:32.395 1579 8634 D DCSEX-AppLaunchEventRecorder: onAppSwitch from = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid to = com.android.launcher
01-10 11:54:32.395 1579 8634 D DCSEX-AppLaunchEventRecorder: recordExitApp = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:32.422 861 876 I mtkpower@impl: [notifyAppState] pc:0, manacare.se.DaikokuinnovationsLLp.trustadvisorandroid => com.android.launcher
01-10 11:54:33.043 1579 1598 V OplusZoomWindowManagerService: onAnimationFinished: r = ActivityRecord{7feca75 u0 manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/.MainActivity} t22899}
01-10 11:54:33.052 1579 1742 I PowerHalWrapper: amsBoostNotify pid:5136,activity:manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity, package:manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, mProcessCreatePackmanacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:33.053 1579 1742 I mtkpower_client: [Legacy][PowerHal_Wrap_notifyAppState] manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity pid=5136 state:0
01-10 11:54:33.053 1579 1742 I game_scn: collectForegroundAppList packName=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid, actName=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity, pid=5136, uid=10591, state:PAUSED
01-10 11:54:33.061 1579 1742 D OplusUIFirst_FB: manacare.se.DaikokuinnovationsLLp.trustadvisorandroid moveToBack 5136
01-10 11:54:33.062 5136 5136 D BLASTBufferQueue: SurfaceView[manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity]#1 destructor()
01-10 11:54:33.063 5136 5136 D BufferQueueConsumer: SurfaceView[manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity]#1(BLAST Consumer)1 disconnect
01-10 11:54:33.073 1579 1598 V WindowManager: Relayout Window{e643d58 u0 manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity}: viewVisibility=8, oldvis=0, req=1080x2400
01-10 11:54:33.088 5136 5136 D BLASTBufferQueue: VRI[MainActivity][manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity]#0 destructor()

Expected behavior

No response

Screenshots / Videos

Captures

Screenshot 2025-01-10 151927

Operating System

Windows

Operating system details

windows11

Flet version

flet==0.25.2

Regression

I'm not sure / I don't know

Suggestions

No response

Logs

Logs

01-10 11:54:44.034 8096 8096 W DartWorker: type=1400 audit(0.0:70713): avc: granted { execute } for path="/data/data/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/files/flet/python_site_packages/aiohttp/_http_parser.cpython-312.so" dev="dm-48" ino=8748 scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c79,c258,c512,c768 tclass=file app=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:44.050 8096 8096 W DartWorker: type=1400 audit(0.0:70714): avc: granted { execute } for path="/data/data/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/files/flet/python_site_packages/aiohttp/_websocket.cpython-312.so" dev="dm-48" ino=1998399 scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c79,c258,c512,c768 tclass=file app=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:44.334 8096 8096 W DartWorker: type=1400 audit(0.0:70716): avc: granted { execute } for path="/data/data/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/files/flet/python_bundle/modules/_csv.cpython-312.so" dev="dm-48" ino=1941135 scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c79,c258,c512,c768 tclass=file app=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:44.402 8096 8096 W DartWorker: type=1400 audit(0.0:70717): avc: granted { execute } for path="/data/data/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/files/flet/python_bundle/modules/_multibytecodec.cpython-312.so" dev="dm-48" ino=5495 scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:object_r:app_data_file:s0:c79,c258,c512,c768 tclass=file app=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:44.702 1579 1838 D CoreBackPreview: Window{1f1ad64 u0 manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@2a6e5c0, mPriority=0}
01-10 11:54:44.705 1579 2668 D CoreBackPreview: Window{1f1ad64 u0 manacare.se.DaikokuinnovationsLLp.trustadvisorandroid/manacare.se.DaikokuinnovationsLLp.trustadvisorandroid.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@405d23e, mPriority=-1}
01-10 11:54:44.754 4667 5074 D AppSwitchObserverHelper: packageName: manacare.se.DaikokuinnovationsLLp.trustadvisorandroid,com.android.launcher
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; CpuFgTime = 0 ms; CpuBgTime = 0 ms.
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; CpuKernelFgTime = 0 ms; CpuKernelBgTime = 0 ms.
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; CpuUserFgTime = 0 ms ; CpuUserBgTime = 0 ms.
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; CpuFgPower = 0.0 mAh.; CpuBgPower = 0.0 mAh.
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; AlarmFgWakeupCount = 0; AlarmBgWakeupCount = 0
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; JobFgCount = 0; JobBgCount = 0; JobFgTime = 0; JobBgTime = 0
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; SyncFgCount = 0; SyncBgCount = 0; SyncFgTime = 0; SyncBgTime = 0
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; WakeLockFgTime = 0 ms; WakeLockFgPower = 0.0 mAh.; WakeLockBgTime = 0 ms; WakeLockBgPower = 0.0 mAh.
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; ScreenFgTime = 278630 ms; ScreenFgPower = 6.96575 mAh.
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgWifiRxBytes = 0 Bytes; BgWifiRxBytes = 0 Bytes; FgWifiTxBytes = 0 Bytes; BgWifiTxBytes = 0 Bytes; FgWifiRxPackets = 0 ; BgWifiRxPackets = 0 ; FgWifiTxPackets = 0 ; BgWifiTxPackets = 0 ; FgWiFiScanTimeMs = 0 ; BgWiFiScanTimeMs = 0 ; FgWiFiBatchScanTimeMs = 0 ; BgWiFiBatchScanTimeMs = 0
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgWifiRxPacketsPower = 0.0 mAh; BgWifiRxPacketsPower = 0.0 mAh; FgWifiTxPacketsPower = 0.0 mAh; BgWifiTxPacketsPower = 0.0 mAh; FgWifiScanPower = 0.0 mAh; BgWifiScanPower = 0.0 mAh; FgWifiBatchScanPower = 0.0 mAh; BgWifiBatchScanPower = 0.0 mAh; FgWiFiTotalPower = 0.0 mAh; BgWiFiTotalPower = 0.0 mAh.
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgMobileRxBytes = 0 Bytes; BgMobileRxBytes = 18998896 Bytes; FgMobileTxBytes = 0 Bytes; BgMobileTxBytes = 5756927 Bytes; FgMobileRxPackets = 0 ; BgMobileRxPackets = 28732 ; FgMobileTxPackets = 0 ; BgMobileTxPackets = 28646 ; FgMobileActiveCount = 0 ; BgMobileActiveCount = 0 ; FgMobileActiveTime = 0 ; BgMobileActiveTime = 0
01-10 11:54:44.813 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgMobileRxPacketsPower = 0.0 mAh; BgMobileRxPacketsPower = 0.02270182716049383 mAh; FgMobileTxPacketsPower = 0.0 mAh; BgMobileTxPacketsPower = 0.022633876543209877 mAh; FgMobileTotalPower = 0.04586271604938272 mAh; BgMobileTotalPower = 0.04586271604938272 mAh.
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgGpsTime = 0 ms; BgGpsTime = 0 ms.
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgGpsPower = 0.0 mAh; BgGpsPower = 0.0 mAh.
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgSensorTime = 0 ms; BgSensorTime = 0 ms.
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgSensorPower = 0.0 mAh; BgSensorPower = 0.0 mAh.
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgCameraTime = 0 ms; BgCameraTime = 0 ms
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgCameraPower = 0.0 mAh; BgCameraPower = 0.0 mAh
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgFlashLightTime = 0 ms; BgFlashLightTime = 0 ms
01-10 11:54:44.814 4667 5074 E Battery : AppStats: Uid = 10577; pkgName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid; FgFlashLightPower = 0.0 mAh; BgFlashLightPower = 0.0 mAh
01-10 11:54:45.965 8096 9292 D ProfileInstaller: Skipping profile installation for manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:54:47.000 1579 2668 D OplusAppListInterceptManager: shouldFilterTask::packageName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:55:06.546 8096 8096 W FinalizerDaemon: type=1400 audit(0.0:70723): avc: denied { getopt } for path="/dev/socket/usap_pool_primary" scontext=u:r:untrusted_app:s0:c79,c258,c512,c768 tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0 app=manacare.se.DaikokuinnovationsLLp.trustadvisorandroid
01-10 11:55:27.223 1579 4539 D OplusAppListInterceptManager: shouldFilterTask::packageName = manacare.se.DaikokuinnovationsLLp.trustadvisorandroid

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions