Comments (4)
Thank you for your help.
The link you shared led me to try and delete the bin and obj folders from the solution and that seemed to do the trick.
from maui.
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Android Release build crashes on device but Debug build runs (#19165), similarity score: 0.79
- CreateRendererWithContext working in xamarin not working in MAUI (#15525), similarity score: 0.76
Closed similar issues:
- [regression/8.0.0] MAUI crashing on CarouselView render/remove, flyout menu (#17396), similarity score: 0.79
- Crash on startup for default MAUI Blazor app on Android release mode (#4262), similarity score: 0.77
- [regression/7.0.0] PlatformView cannot be null (#17165), similarity score: 0.77
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from maui.
When Debug works and Release not - it is usually optimizations and there are several steps layers of optimizations:
- managed (trimming/linking .NET assemblies
*.dll
s) - Android (Android R8/proguard)
In your case seems like part of the stacktrace is missing, but
System.NotSupportedException: Cannot create instance of type '': no Java peer type found.
led me to:
I would suggest adding and playing with Trimming options (IsTrimmable
, TrimmerRootDescriptor
)
xamarin/xamarin-android#7736 (comment)
I hope this helps and if it works report it here please.
from maui.
Thank you for your help.
You re welcome.
The link you shared led me to try and delete the bin and obj folders from the solution and that seemed to do the trick.
Good ol nuking... I am glad something helped you.
from maui.
Related Issues (20)
- Follow CA1825 Use Array<T>.Empty in all instances
- Employ .NET [Auto]Vectorization features HOT 1
- [Android] Border doesnt expand on Content size changed HOT 1
- ControlTemplate not propagating the BindingContext correctly if set through Binding HOT 2
- Rotate screen on ios <= 15
- How to know what version of Maui/.NET each pull request goes into HOT 1
- How are we doing in the repo? Survey inside! HOT 1
- Make Toolbar public HOT 1
- ListView Scrolled event is not triggered HOT 2
- Crash on iOS when initializing a TabbedPage without children HOT 4
- [Mac Catalyst] DeviceDisplay.MainDisplayInfoChanged event not getting raised HOT 1
- Unable to style focus using physical keyboard on collectionview HOT 1
- Binding Border.StrokeShape RoundRectangle CornerRadius not working HOT 2
- CollectionView: Adding groups leads to "IndexOutOfBoundsException: Inconsistency detected" HOT 4
- Border width not updated if device was rotated [Regression] HOT 5
- Add support for multiple displays in DeviceDisplay
- [Mac Catalyst] DeviceDisplay.MainDisplayInfo is not refreshed HOT 1
- Shell Page Memory Leak HOT 2
- [iOS] Work through how iOS propagates SetNeedsLayout
- Flyout shown for a moment when interacting with a backbutton in Android Shell HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maui.