Issue with Page Moving Up and Screen Visibility in MAUI Android
We have encountered an issue in my MAUI Android application that I hope someone can help me resolve. When the on-screen keyboard appears, the entire page moves up, but when the keyboard is dismissed, the page does not return to its original position, leaving a portion of the previous screen visible where the keyboard was.
how to restart killed application
I implemented android foreground service to restart killed application. So my service monitor logs using READ_CALL_LOG permission and if it is found that my application is not running (killed) and should start new Main Activity.
Unfortunately the timer callback function stop to work when application killed – there is no logging anymore.
in process monitor I see that service is running and even application started but it is not shown in user’s desktop.
What could be used for implement auto-restart for killed critical MAUI application?
How to add shadow to a custom bottom tabbar in .Net Maui on CustomAndroidShellHandler?
I need your help figuring out why I can’t get a shadow behind the center button on Android. I have it working in iOS just fine, but it doesn’t work.
Publish error for android cannot find file Release/net8.0-android/android-arm/linked/shrunk/_Microsoft.Android.Resource.Designer.dll
I have a .NET 8.0 MAUI app that I am trying to publish for Google store. The app will compile and run successfully in debug mode but when I try to build the .aab I get the following error:
error XABBA7023: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘/Users/me/Projects/myproject/aspnet-core/src/MyProject.Maui/obj/Release/net8.0-android/android-arm/linked/shrunk/_Microsoft.Android.Resource.Designer.dll’.
Publish error for android cannot find file Release/net8.0-android/android-arm64/linked/shrunk/_Microsoft.Android.Resource.Designer.dll
I have a .NET 8.0 MAUI app that I am trying to publish for Google store. The app will compile and run successfully in debug mode but when I try to build the .aab I get the following error:
error XABBA7023: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘/Users/me/Projects/myproject/aspnet-core/src/MyProject.Maui/obj/Release/net8.0-android/android-arm/linked/shrunk/_Microsoft.Android.Resource.Designer.dll’.
MAUI CollectionView: Java.Lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap
I am developing an Android Launcher application that needs to enumerate and display installed applications (I am using MAUI because I am more familiar with XAML layouts, and I am using the MVVM Community Toolkit). I have published a minimal repro on GitHub here – https://github.com/PaloMraz/MauiLauncherApp. This is a simple, one-page app:
.Net MAUI Mobile App Build Errors : Duplicate ‘global::System.Runtime.Versioning.TargetFrameworkAttribute’ attribute
I am getting some strange build errors while I am rebuilidng the.NET MAUI mobile app solution. It worked fine till yesterday.All of sudden I am getting some strange errors now.I deleted .obj & bin folders and restrtaing visual studio & System multiple times but no use.
DrawerLayout must be measured with MeasureSpec.EXACTLY error only in Android MAUI
I’m using Shell navigation to navigate from a Content Page to Shell page which contains TabBar. It is working perfectly on iOS but throwing MeasureSpec error in Android. I’m using .Net8.0.
Message even after updating targetsdk etc (This app was built for an older version of Android…)
Problem: I am getting the following when trying to run/install my MAUI Android app:
NullReferenceException Message=The current Activity can not be detected. Ensure that you have called Init in your Activity or Application class
Exception: System.NullReferenceException Message=The current Activity can not be detected. Ensure that you have called Init in your Activity or Application class.