App crash after successfully changed wallpaper - flutter

hi i'm a beginner in flutter, here i'm trying to make a wallpaper application. my application can run and change the wallpaper, my problem is why does my application crash after success?
_saving() async {
await _askPermissions();
var response = await Dio().get(
widget.imgData,
options: Options(responseType: ResponseType.bytes),
);
final result = await ImageGallerySaver.saveImage(
Uint8List.fromList(response.data), name: 'images');
print(result['filePath']);
var path = await FlutterAbsolutePath.getAbsolutePath(result['filePath']);
print(path);
String out;
try {
out = await WallpaperManager.setWallpaperFromFile(
path, WallpaperManager.HOME_SCREEN);
} on PlatformException {
out = 'Failed to get wallpaper.';
}
}
i am getting this log
D/EGL_emulation(26450): app_time_stats: avg=1550.15ms min=19.34ms max=12037.74ms count=8
I/System.out(26450): ImageGallerySaverPlugin 80
I/flutter (26450): content://media/external/images/media/90
I/flutter (26450): /data/user/0/realfz.flutter.xeed.xeed/cache/IMG_1645634589898.png
E/FA (26450): Missing google_app_id. Firebase Analytics disabled.
D/EGL_emulation(26450): eglCreateContext: 0x7d36c51db690: maj 2 min 0 rcv 2
D/EGL_emulation(26450): eglCreateContext: 0x7d36c51de750: maj 2 min 0 rcv 2
D/HostConnection(26450): createUnique: call
D/HostConnection(26450): HostConnection::get() New Host Connection established 0x7d36c51df950, tid 27786
D/HostConnection(26450): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
D/EGL_emulation(26450): eglMakeCurrent: 0x7d36c51de750: ver 2 0 (tinfo 0x7d38ea0a7200) (first time)
I/Choreographer(26450): Skipped 49 frames! The application may be doing too much work on its main thread.
D/HostConnection(26450): createUnique: call
D/HostConnection(26450): HostConnection::get() New Host Connection established 0x7d36c51e36d0, tid 27785
D/HostConnection(26450): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_2
D/EGL_emulation(26450): eglMakeCurrent: 0x7d36c51db690: ver 2 0 (tinfo 0x7d38ea0a7100) (first time)
D/EGL_emulation(26450): eglCreateContext: 0x7d36c51e30d0: maj 2 min 0 rcv 2
I/Choreographer(26450): Skipped 109 frames! The application may be doing too much work on its main thread.
I/OpenGLRenderer(26450): Davey! duration=2649ms; Flags=1, FrameTimelineVsyncId=113284, IntendedVsync=47817620015088, Vsync=47818436681722, InputEventId=0, HandleInputStart=47818446770100, AnimationStart=47818446842400, PerformTraversalsStart=47818446945100, DrawStart=47820247194700, FrameDeadline=47817636681754, FrameInterval=47818446237700, FrameStartTime=16666666, SyncQueued=47820248422100, SyncStart=47820248873100, IssueDrawCommandsStart=47820249153600, SwapBuffers=47820251098700, FrameCompleted=47820270211800, DequeueBufferDuration=10092300, QueueBufferDuration=2055700, GpuCompleted=47820259923000, SwapBuffersCompleted=47820270211800, DisplayPresentTime=8589934592,
sorry

Related

How to resolve Deploying error in heroku using mongodb

MongoServerError: bad auth : Authentication failed.
at Connection.onMessage (/Users/harshkataria/Desktop/Tag/node_modules/mongodb/lib/cmap/connection.js:210:30)
at MessageStream.<anonymous> (/Users/harshkataria/Desktop/Tag/node_modules/mongodb/lib/cmap/connection.js:63:60)
at MessageStream.emit (node:events:527:28)
at processIncomingData (/Users/harshkataria/Desktop/Tag/node_modules/mongodb/lib/cmap/message_stream.js:132:20)
at MessageStream._write (/Users/harshkataria/Desktop/Tag/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
at writeOrBuffer (node:internal/streams/writable:389:12)
at _write (node:internal/streams/writable:330:10)
at MessageStream.Writable.write (node:internal/streams/writable:334:10)
at TLSSocket.ondata (node:internal/streams/readable:754:22)
at TLSSocket.emit (node:events:527:28) {
ok: 0,
code: 8000,
codeName: 'AtlasError',
[Symbol(errorLabels)]: Set(1) { 'HandshakeError' }
}
[nodemon] app crashed - waiting for file changes before starting...
hello i am facing issue while connecting my app in heroku while using mongo auth

App stuck at black screen after upgraded from flutter 1.22.2 to flutter 2.5.3

After upgrading flutter, if I run the app from Android studio, I am consistently getting black screen. And If we create release bundle then opening the app and closing we are getting black screen 2 in 5 times.
And when shared the play console internal testing, after install and first open it is stuck at black screen and until user kills the app and reopen then it is opening. Even in this case also once in 3 times of closing and opening it is giving black screen.
2022-01-18 17:21:02.472 31430-31430/? I/lix.sample: Late-enabling -Xcheck:jni
2022-01-18 17:21:02.551 31430-31430/? I/lix.sample: Unquickening 26 vdex files!
2022-01-18 17:21:02.618 31430-31430/? D/ActivityThread: setConscryptValidator
2022-01-18 17:21:02.619 31430-31430/? D/ActivityThread: setConscryptValidator - put
2022-01-18 17:21:02.689 31430-31430/com.example.sample D/ActivityThread: handleBindApplication()++ app=com.example.sample
DEVICE | 0x78c683e3e0 | 0002 | RGBx_8888 | 0.0 480.0 2560.0 2080.0 | 0 0 2560 1600 | com.android.systemui.ImageWallpaper$_1872#0
2022-01-18 17:21:02.472 31430-31430/? I/lix.sample: Late-enabling -Xcheck:jni
2022-01-18 17:21:02.551 31430-31430/? I/lix.sample: Unquickening 26 vdex files!
2022-01-18 17:21:02.618 31430-31430/? D/ActivityThread: setConscryptValidator
2022-01-18 17:21:02.619 31430-31430/? D/ActivityThread: setConscryptValidator - put
2022-01-18 17:21:02.689 31430-31430/com.example.sample D/ActivityThread: handleBindApplication()++ app=com.example.sample
2022-01-18 17:21:02.472 31430-31430/? I/lix.sample: Late-enabling -Xcheck:jni
2022-01-18 17:21:02.551 31430-31430/? I/lix.sample: Unquickening 26 vdex files!
2022-01-18 17:21:02.618 31430-31430/? D/ActivityThread: setConscryptValidator
2022-01-18 17:21:02.619 31430-31430/? D/ActivityThread: setConscryptValidator - put
2022-01-18 17:21:02.689 31430-31430/com.example.sample D/ActivityThread: handleBindApplication()++ app=com.example.sample
2022-01-18 17:21:03.281 31430-31430/com.example.sample D/LoadedApk: LoadedApk::makeApplication() appContext=android.app.ContextImpl#ef78042 appContext.mOpPackageName=com.example.sample appContext.mBasePackageName=com.example.sample appContext.mPackageInfo=android.app.LoadedApk#d81e853
2022-01-18 17:21:03.282 31430-31430/com.example.sample D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true
2022-01-18 17:21:03.330 31430-31430/com.example.sample D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: true
2022-01-18 17:21:03.392 31430-31430/com.example.sample I/FirebaseApp: Device unlocked: initializing all Firebase APIs for app [DEFAULT]
2022-01-18 17:21:03.470 31430-31430/com.example.sample I/FirebaseInitProvider: FirebaseApp initialization successful
2022-01-18 17:21:03.472 31430-31430/com.example.sample D/FLTFireContextHolder: received application context.
2022-01-18 17:21:03.511 31430-31430/com.example.sample D/ActivityThread: handleBindApplication() -- skipGraphicsSupport=false
2022-01-18 17:21:03.529 31430-32714/com.example.sample I/ResourceExtractor: Found extracted resources res_timestamp-85-1642506494019
2022-01-18 17:21:03.529 31430-32714/com.example.sample I/ResourceExtractor: Resource version mismatch res_timestamp-85-1642506661529
2022-01-18 17:21:03.556 31430-31430/com.example.sample I/sampleTestBed: in Application class on create82a8af868409226a
2022-01-18 17:21:03.591 31430-32733/com.example.sample I/AdrenoGLES-0: QUALCOMM build : 4fb6cde, I78bcc4c05a
Build Date : 12/15/20
OpenGL ES Shader Compiler Version: EV031.32.02.06
Local Branch : mybrancheb3e9cd6-ca89-f13d-b631-08f1eafda2d0
Remote Branch : quic/gfx-adreno.lnx.1.0.r114-rel
Remote Branch : NONE
Reconstruct Branch : NOTHING
2022-01-18 17:21:03.591 31430-32733/com.example.sample I/AdrenoGLES-0: Build Config : S P 10.0.7 AArch64
2022-01-18 17:21:03.591 31430-32733/com.example.sample I/AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
2022-01-18 17:21:03.597 31430-32733/com.example.sample I/AdrenoGLES-0: PFP: 0x016ee190, ME: 0x00000000
2022-01-18 17:21:03.603 31430-31430/com.example.sample I/MainActivity: keys and data from intent
2022-01-18 17:21:03.604 31430-31430/com.example.sample I/MainActivity: data received from applink null app link action android.intent.action.MAINintent Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example.sample/com.example.example.MainActivity }
2022-01-18 17:21:03.623 31430-31430/com.example.sample I/DecorView: [INFO] isPopOver=false, config=true
2022-01-18 17:21:03.623 31430-31430/com.example.sample I/DecorView: updateCaptionType >> DecorView#991b1d1[], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
2022-01-18 17:21:03.623 31430-31430/com.example.sample D/DecorView: setCaptionType = 0, this = DecorView#991b1d1[]
2022-01-18 17:21:03.638 31430-31430/com.example.sample I/BranchSDK: onActivityCreated, activity = com.example.example.MainActivity#ed5bdc2
2022-01-18 17:21:04.418 31430-32714/com.example.sample I/ResourceExtractor: Extracted baseline resource assets/flutter_assets/kernel_blob.bin
2022-01-18 17:21:04.420 31430-32714/com.example.sample I/ResourceExtractor: Extracted baseline resource assets/flutter_assets/vm_snapshot_data
2022-01-18 17:21:04.464 31430-32714/com.example.sample I/ResourceExtractor: Extracted baseline resource assets/flutter_assets/isolate_snapshot_data
2022-01-18 17:21:04.601 31430-31430/com.example.sample I/WebViewFactory: Loading com.google.android.webview version 97.0.4692.87 (code 469208733)
2022-01-18 17:21:04.630 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
2022-01-18 17:21:04.630 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
2022-01-18 17:21:04.630 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
2022-01-18 17:21:04.630 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
2022-01-18 17:21:04.630 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
2022-01-18 17:21:04.633 31430-31430/com.example.sample I/cr_WVCFactoryProvider: Loaded version=97.0.4692.87 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
2022-01-18 17:21:04.662 31430-31430/com.example.sample I/cr_LibraryLoader: Successfully loaded native library
2022-01-18 17:21:04.663 31430-31430/com.example.sample I/cr_CachingUmaRecorder: Flushed 8 samples from 8 histograms.
2022-01-18 17:21:04.670 31430-31430/com.example.sample I/TetheringManager: registerTetheringEventCallback:com.example.sample
2022-01-18 17:21:04.670 31430-31430/com.example.sample D/ConnectivityManager: ConnectivityManager() mContext=com.example.example.BranchApplicationClass#efa180c getOpPackageName()=com.example.sample getBasePackageName()=com.example.sample getPackageName()=com.example.sample
2022-01-18 17:21:04.740 31430-613/com.example.sample I/flutter: Observatory listening on http://127.0.0.1:34591/BoFcuBcmvWM=/
2022-01-18 17:21:04.819 31430-31430/com.example.sample D/PathProviderPlugin: Don't use TaskQueues.
2022-01-18 17:21:04.855 31430-31430/com.example.sample I/TextToSpeech: Sucessfully bound to com.samsung.SMT
2022-01-18 17:21:04.888 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (greylist,test-api, reflection, allowed)
2022-01-18 17:21:04.888 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (greylist, reflection, allowed)
2022-01-18 17:21:04.888 31430-31430/com.example.sample W/lix.sample: Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (greylist, reflection, allowed)
2022-01-18 17:21:04.888 31430-31430/com.example.sample W/lix.sample: Accessing hidden method Landroid/util/LongArray;->get(I)J (greylist, reflection, allowed)
2022-01-18 17:21:04.904 31430-31430/com.example.sample I/BranchSDK: onActivityStarted, activity = com.example.example.MainActivity#ed5bdc2
2022-01-18 17:21:04.909 31430-31430/com.example.sample I/MainActivity: data from intent null
2022-01-18 17:21:04.910 31430-31430/com.example.sample I/BranchSDK: Warning: You are using your test app's Branch Key. Remember to change it to live Branch Key during deployment.
2022-01-18 17:21:04.941 31430-31430/com.example.sample I/BranchSDK: onActivityResumed, activity = com.example.example.MainActivity#ed5bdc2
2022-01-18 17:21:04.969 31430-31430/com.example.sample D/InputTransport: Input channel constructed: 'ac866f0', fd=152
2022-01-18 17:21:04.975 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: setView = com.android.internal.policy.DecorView#991b1d1 TM=true
2022-01-18 17:21:05.028 31430-31430/com.example.sample I/SurfaceControl: assignNativeObject: nativeObject = 0 Surface(name=null)/#0xc29ff13 / android.view.SurfaceControl.readFromParcel:1117 android.view.IWindowSession$Stub$Proxy.relayout:1820 android.view.ViewRootImpl.relayoutWindow:9130 android.view.ViewRootImpl.performTraversals:3420 android.view.ViewRootImpl.doTraversal:2669 android.view.ViewRootImpl$TraversalRunnable.run:10092 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
2022-01-18 17:21:05.032 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: Relayout returned: old=(0,0,1600,2560) new=(0,0,1600,2560) req=(1600,2560)0 dur=19 res=0x7 s={true 505099329536} ch=true fn=-1
2022-01-18 17:21:05.040 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: [DP] dp(1) 1 android.view.ViewRootImpl.reportNextDraw:11078 android.view.ViewRootImpl.performTraversals:3915 android.view.ViewRootImpl.doTraversal:2669
2022-01-18 17:21:05.040 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: [DP] pd() Asnyc report
2022-01-18 17:21:05.041 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: mAttachInfo.mThreadedRenderer.draw, mView = DecorView#991b1d1[MainActivity] w = 1600 h = 2560
2022-01-18 17:21:06.108 31430-32733/com.example.sample I/Gralloc4: mapper 4.x is not supported
2022-01-18 17:21:06.109 31430-32733/com.example.sample W/Gralloc3: mapper 3.x is not supported
2022-01-18 17:21:06.147 31430-32733/com.example.sample I/OpenGLRenderer: Davey! duration=1169ms; Flags=1, IntendedVsync=958650888198330, Vsync=958650904864996, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=958650906882843, AnimationStart=958650906893780, PerformTraversalsStart=958650906900499, DrawStart=958650952542113, SyncQueued=958651991816332, SyncStart=958651992435290, IssueDrawCommandsStart=958651992788363, SwapBuffers=958652055637373, FrameCompleted=958652058430394, DequeueBufferDuration=25025677, QueueBufferDuration=1090052, GpuCompleted=0,
2022-01-18 17:21:06.160 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: [DP] pdf(0) 1 android.view.ViewRootImpl.lambda$performDraw$1$ViewRootImpl:4743 android.view.-$$Lambda$ViewRootImpl$DJd0VUYJgsebcnSohO6h8zc_ONI.run:6 android.os.Handler.handleCallback:938
2022-01-18 17:21:06.160 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: [DP] rdf()
2022-01-18 17:21:06.164 31430-31430/com.example.sample I/Choreographer: Skipped 71 frames! The application may be doing too much work on its main thread.
2022-01-18 17:21:06.191 31430-31430/com.example.sample I/TextToSpeech: Connected to ComponentInfo{com.samsung.SMT/com.samsung.SMT.SamsungTTSService}
2022-01-18 17:21:06.193 31430-31430/com.example.sample I/ViewRootImpl#8ee4c76[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1
2022-01-18 17:21:06.194 31430-31430/com.example.sample D/InputMethodManager: prepareNavigationBarInfo() DecorView#991b1d1[MainActivity]
2022-01-18 17:21:06.194 31430-31430/com.example.sample D/InputMethodManager: getNavigationBarColor() -855310
2022-01-18 17:21:06.196 31430-31430/com.example.sample D/InputMethodManager: prepareNavigationBarInfo() DecorView#991b1d1[MainActivity]
2022-01-18 17:21:06.196 31430-31430/com.example.sample D/InputMethodManager: getNavigationBarColor() -855310
2022-01-18 17:21:06.196 31430-32714/com.example.sample I/TextToSpeech: Set up connection to ComponentInfo{com.samsung.SMT/com.samsung.SMT.SamsungTTSService}
2022-01-18 17:21:06.196 31430-31430/com.example.sample V/InputMethodManager: Starting input: tba=com.example.sample ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
2022-01-18 17:21:06.197 31430-31430/com.example.sample D/InputMethodManager: startInputInner - Id : 0
2022-01-18 17:21:06.197 31430-31430/com.example.sample I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
2022-01-18 17:21:06.197 31430-32723/com.example.sample I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2022-01-18 17:21:06.198 31430-32723/com.example.sample I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
2022-01-18 17:21:06.205 31430-32612/com.example.sample D/InputTransport: Input channel constructed: 'ClientS', fd=161
2022-01-18 17:21:06.231 31430-31430/com.example.sample D/InputMethodManager: prepareNavigationBarInfo() DecorView#991b1d1[MainActivity]
2022-01-18 17:21:06.231 31430-31430/com.example.sample D/InputMethodManager: getNavigationBarColor() -855310
2022-01-18 17:21:06.231 31430-31430/com.example.sample V/InputMethodManager: Starting input: tba=com.example.sample ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
2022-01-18 17:21:06.232 31430-31430/com.example.sample D/InputMethodManager: startInputInner - Id : 0
2022-01-18 17:21:06.235 31430-31430/com.example.sample I/SurfaceControl: nativeRelease nativeObject s[503463222464]
2022-01-18 17:21:06.235 31430-31430/com.example.sample I/SurfaceControl: nativeRelease nativeObject e[503463222464]
2022-01-18 17:21:06.235 31430-31430/com.example.sample I/SurfaceControl: nativeRelease nativeObject s[503463221504]
2022-01-18 17:21:06.235 31430-31430/com.example.sample I/SurfaceControl: nativeRelease nativeObject e[503463221504]
2022-01-18 17:21:06.240 31430-564/com.example.sample I/flutter: Log.INFO : in checkAndHandleLocalNotificationOnLaunch
2022-01-18 17:21:06.284 31430-31430/com.example.sample W/FlutterJNI: FlutterJNI.setRefreshRateFPS called more than once
2022-01-18 17:21:06.286 31430-761/com.example.sample W/FlutterJNI: FlutterJNI.loadLibrary called more than once
2022-01-18 17:21:06.287 31430-32714/com.example.sample I/ResourceExtractor: Found extracted resources res_timestamp-85-1642506661529
2022-01-18 17:21:06.288 31430-763/com.example.sample W/FlutterJNI: FlutterJNI.prefetchDefaultFontManager called more than once
2022-01-18 17:21:06.291 31430-31430/com.example.sample W/FlutterJNI: FlutterJNI.init called more than once
2022-01-18 17:21:06.292 31430-31430/com.example.sample I/FLTFireBGExecutor: Creating background FlutterEngine instance, with args: []
2022-01-18 17:21:06.308 31430-31430/com.example.sample D/PathProviderPlugin: Don't use TaskQueues.
2022-01-18 17:21:06.319 31430-31430/com.example.sample I/TextToSpeech: Sucessfully bound to com.samsung.SMT
2022-01-18 17:21:06.337 31430-31430/com.example.sample I/TextToSpeech: Connected to ComponentInfo{com.samsung.SMT/com.samsung.SMT.SamsungTTSService}
2022-01-18 17:21:06.342 31430-32714/com.example.sample I/TextToSpeech: Set up connection to ComponentInfo{com.samsung.SMT/com.samsung.SMT.SamsungTTSService}
EDIT:
One more observation I found is, if I declare splashscreen drawable in manifest file, then the splash screen is coming up and then immediately black screen is coming and the app is stuck.
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="#drawable/launch_drawable" />
UPDATE:
After day of debugging and narrowing it down, finally found the culprit. This was present in MainActivity.java, apparently it was added to handle the black screen in older versions of flutter, but now this lead to complete stuck.
#NonNull
#Override
protected FlutterActivityLaunchConfigs.BackgroundMode getBackgroundMode() {
return FlutterActivityLaunchConfigs.BackgroundMode.transparent;
}

Can i avoid this error. E/InputMethodManager: Failed to get fallback IMM with expected .flutter.plugins.webviewflutter.InputAwareWebView

I'm Using the flutter_tex library
flutter_tex
flutter_tex: ^3.6.7+10
I want to release the app in the play store. My app is running fine. But I'm getting this message in the Debug Console.
Can I Avoid It?
TeXView(
renderingEngine: const TeXViewRenderingEngine.katex(),
child: TeXViewDocument('\$\$$text\$\$'),
),
Getting this error:
E/InputMethodManager(28630): b/117267690: Failed to get fallback IMM with expected displayId=137 actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{86b4162 VFEDHVC.. ........ 0,0-864,188}
E/InputMethodManager(28630): b/117267690: Failed to get fallback IMM with expected displayId=137
actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{86b4162 VFEDHVC..
........ 0,0-864,188}
D/EGL_emulation(28630): eglMakeCurrent: 0x963e0360: ver 2 0 (tinfo 0xebe0dce0)
E/InputMethodManager(28630): b/117267690: Failed to get fallback IMM with expected displayId=138
actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{47b28d1 VFEDHVC..
........ 0,0-864,188}
D/HostConnection(28630): HostConnection::get() New Host Connection established 0x6bd973d0, tid 28933
D/HostConnection(28630): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1
ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2
ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings
ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache
ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync
ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit
GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing
ANDROID_EMU_gles_max_version_2
E/InputMethodManager(28630): b/117267690: Failed to get fallback IMM with expected displayId=139
actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{d55bd6b VFEDHVC..
........ 0,0-864,188}
E/InputMethodManager(28630): b/117267690: Failed to get fallback IMM with expected displayId=140
actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{24c90e0 VFEDHVC..
........ 0,0-864,188}
Is this safe to not care about this.
We have to enable hybrid composition, set WebView.platform = SurfaceAndroidWebView();
You can look at this github link https://github.com/flutter/flutter/issues/40716#issuecomment-708076795. This helped me solve this error.
This problem is due to clicking on this widget and will not be fixed by resetting or deleting the build files.
All you have to do is design an operation that clicks on this widget or add a read-only feature to it, and this will solve the problem.
Your day without bugs!
Had the same problem. A clean rebuild of the project fixed it.

error: cannot find symbol return DaggerApplication_HiltComponents_SingletonC.builder()

I am trying to migrate from dagger to hilt but I cant run the app. Its a modular app. All modules have the same app hilt dependencies. The viewModels have #ViewModelInject the viewControllers have the #AndroidEntryPoint annotation and i dont know what’s going on (the stacktrace error doesn’t help much)
the project build.gradle is a bit like this
buildscript {
....
dependencies {
....
classpath "com.google.dagger:hilt-android-gradle-plugin:2.29.1-alpha"
}
}
the app/build.gradle
apply plugin: 'com.android.application'
apply plugin: 'dagger.hilt.android.plugin'
apply plugin: 'kotlin-kapt'
...
dependencies {
implementation "com.google.dagger:hilt-android:2.29.1-alpha"
implementation "androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha02"
implementation 'androidx.hilt:hilt-common:1.0.0-alpha02'
kapt "com.google.dagger:hilt-android-compiler:2.29.1-alpha"
kapt "androidx.hilt:hilt-compiler:1.0.0-alpha02"
}
The Application (apparently it fails here)
#HiltAndroidApp
class Application : Application()
The App Manifest
<application
android:name=".Application"
android:allowBackup="false"
android:supportsRtl="true"
tools:ignore="GoogleAppIndexingWarning">
Full stacktrace error
/Users/username/android/project-name/app/build/generated/source/kapt/debug/com/aplication/app/Hilt_Application.java:22: error: cannot find symbol
return DaggerApplication_HiltComponents_SingletonC.builder()
^
symbol: variable DaggerApplication_HiltComponents_SingletonC
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:200)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:198)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:179)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:372)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:359)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:352)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:57)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:40)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:97)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:51)
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:37)
at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51)
at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37)
at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:46)
at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:36)
at org.gradle.api.internal.tasks.compile.CleaningJavaCompiler.execute(CleaningJavaCompiler.java:53)
at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory.lambda$createRebuildAllCompiler$0(IncrementalCompilerFactory.java:98)
at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:61)
at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:45)
at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59)
at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51)
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:343)
at org.gradle.api.tasks.compile.JavaCompile.performIncrementalCompilation(JavaCompile.java:237)
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:209)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.IncrementalInputsTaskAction.doExecute(IncrementalInputsTaskAction.java:32)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:555)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:540)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:523)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:108)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:271)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:260)
at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:33)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:33)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26)
at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:67)
at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:36)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44)
at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54)
at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38)
at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:42)
at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:159)
at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:72)
at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:43)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40)
at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28)
at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:187)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:179)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:109)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:200)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:195)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:62)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$call$2(DefaultBuildOperationExecutor.java:76)
at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.callWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:54)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:76)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:372)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:359)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:352)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 5s
Any idea??
In my case this error caused by androidx.hilt:hilt-lifecycle-viewmodel dependency
According to Dagger Hilt Github comments:
implementation "androidx.hilt:hilt-lifecycle-viewmodel"
kapt "androidx.hilt:hilt-compiler"
should be removed.
see this
Apparently there are certain dependencies that dagger needs in the app module although it does not use them explicitly. So it is fixed adding said dependencies in the app/build.gradle.
EDIT
I dont remember a specific dependency. If you are working on a modular project and for example you have a retrofit dependency in your module A, even when your module A is implemented in the app module, you must add retrofit dependency as well:
implementation "com.squareup.retrofit2:retrofit:1.0.0" -> moduleA/build.gradle
Copy and paste on app/build.gradle
implementation "com.squareup.retrofit2:retrofit:1.0.0" -> app/build.gradle
Or make them transactive with the api to be accessible to the app module:
implementation "com.squareup.retrofit2:retrofit:1.0.0" -> moduleA/build.gradle
Change implementation to api
api "com.squareup.retrofit2:retrofit:1.0.0" -> moduleA/build.gradle

Adreno220 framebuffer object

I made a sample JNI android app.
It works well on Galaxy Note(Mali 400MP) but don't work on SGS2LTE(Adreno 220).
I think its problem in making FBO.
cpp code is below
// Create Depth Buffer;
GL_CMD(glGenFramebuffers(1, &m_depthBuffer))
GL_CMD(glBindRenderbuffer(GL_RENDERBUFFER, m_depthBuffer))
GL_CMD(glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT16, m_width, m_height))
GL_CMD(glBindRenderbuffer(GL_RENDERBUFFER, 0))
// Create Stencil Buffer;
GL_CMD(glGenFramebuffers(1, &m_stencilBuffer))
GL_CMD(glBindRenderbuffer(GL_RENDERBUFFER, m_stencilBuffer))
GL_CMD(glRenderbufferStorage(GL_RENDERBUFFER, GL_STENCIL_INDEX8, m_width, m_height))
GL_CMD(glBindRenderbuffer(GL_RENDERBUFFER, 0))
// Construct FBO
GL_CMD(glGenFramebuffers(1, &m_fbo))
GL_CMD(glBindFramebuffer(GL_FRAMEBUFFER, m_fbo))
GL_CMD(glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, textureId, 0))
GL_CMD(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, m_depthBuffer))
GL_CMD(glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, m_stencilBuffer))
GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
if (status != GL_FRAMEBUFFER_COMPLETE) {
LOGE("Check Frame Buffer Status Failed : %x", status);
return;
}
GL_CMD(glClear(GL_STENCIL_BUFFER_BIT | GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT))
status represents 0x8CDD(GL_FRAMEBUFFER_UNSUPPORTED_EXT).
I attach Logcat.
01-03 03:59:32.829: D/libEGL(24851): loaded /system/lib/egl/libGLES_android.so
01-03 03:59:32.829: D/libEGL(24851): loaded /system/lib/egl/libEGL_adreno200.so
01-03 03:59:32.839: D/libEGL(24851): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
01-03 03:59:32.839: D/libEGL(24851): loaded /system/lib/egl/libGLESv2_adreno200.so
01-03 03:59:32.849: W/EglHelper(24851): createContext com.google.android.gles_jni.EGLContextImpl#40529b80 tid=1
01-03 03:59:32.869: D/Surface(24851): Surface is full screen
01-03 03:59:32.899: D/Surface(24851): Surface is full screen
01-03 03:59:32.899: W/EglHelper(24851): start() tid=1
01-03 03:59:32.909: W/EglHelper(24851): createContext com.google.android.gles_jni.EGLContextImpl#4052afc0 tid=1
01-03 03:59:32.909: W/EglHelper(24851): createSurface() tid=1
01-03 03:59:32.939: D/dalvikvm(24851): Note: class Landroid/opengl/GLWrapperBase; has 211 unimplemented (abstract) methods
01-03 03:59:32.939: I/EGLUtils(24851): GL Version = OpenGL ES 2.0 1566933
01-03 03:59:32.939: I/EGLUtils(24851): GL Vendor = Qualcomm
01-03 03:59:32.949: I/EGLUtils(24851): GL Renderer = Adreno (TM) 220
01-03 03:59:32.949: I/EGLUtils(24851): GL Extensions = GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_QCOM_memory_monitor GL_AMD_compressed_3DC_texture
01-03 03:59:32.979: I/GLUtils(24851): EGL Extensions : EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
01-03 03:59:32.989: I/GLUtils(24851): GL Extensions : GL_AMD_compressed_ATC_texture GL_AMD_performance_monitor GL_AMD_program_binary_Z400 GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_type_2_10_10_10_REV GL_NV_fence GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_depth24 GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_vertex_type_10_10_10_2 GL_QCOM_alpha_test GL_QCOM_binning_control GL_QCOM_driver_control GL_QCOM_perfmon_global_mode GL_QCOM_extended_get GL_QCOM_extended_get2 GL_QCOM_tiled_rendering GL_QCOM_writeonly_rendering GL_QCOM_memory_monitor GL_AMD_compressed_3DC_texture
01-03 03:59:32.989: I/SharedTexture(24851): imageEGL: 0 syncKHR: 0
01-03 03:59:33.009: D/CLIPBOARD(24851): Hide Clipboard dialog at Starting input: finished by someone else... !
**01-03 03:59:33.039: E/AGRE(24851): Check Frame Buffer Status Failed : 8cdd**
How can it work on Adreno 220?
Have you checked the exact value glCheckFramebufferStatus() returns? If it is GL_FRAMEBUFFER_UNSUPPORTED, you should try simply ignoring the error and continuing with execution.
Try using GL_OES_packed_depth_stencil rather than separate depth/stencil render buffers. See http://www.khronos.org/registry/gles/extensions/OES/OES_packed_depth_stencil.txt for more details. You'll want to check that this extension is indeed supported by the device before using it. This would be the case for Adreno 220.