Comments (13)
Try cleaning everything and rebuilding:
> git clean -dxf
> dotnet build HelloMaui
> dotnet build HelloMaui -t:Run -f net6.0-android --no-restore
@mattleibow do you see anything with the log above? It seems like it can't parse the .svg
file?
Microsoft.Maui.Resizetizer.targets(332,9): Failed to Convert SVG to Android Drawable: EXCEPTION in parsing c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg:
error in parsing "m 105.50037,281.60863 " in [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg] [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\HelloMaui.csproj]
Microsoft.Maui.Resizetizer.targets(332,9): One or more errors occurred. (Failed to Convert SVG to Android Drawable: EXCEPTION in parsing c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg:
error in parsing "m 105.50037,281.60863 " in [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg]) [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\HelloMaui.csproj]
from maui-samples.
Add —no-restore
from maui-samples.
Add —no-restore
That makes the following error to occur:
C:\Users\RsZoli\Documents\net6-mobile-samples-develop\packages\microsoft.maui.resizetizer\6.0.100-preview.2.122\buildTransitive\Microsoft.Maui.Resizetizer.targets(332,9): error : Failed to Convert SVG to Android Drawable: EXCEPTION in parsing c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg: [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\HelloMaui.csproj]
C:\Users\RsZoli\Documents\net6-mobile-samples-develop\packages\microsoft.maui.resizetizer\6.0.100-preview.2.122\buildTransitive\Microsoft.Maui.Resizetizer.targets(332,9): error : error in parsing "m 105.50037,281.60863 " in [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg] [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\HelloMaui.csproj]
C:\Users\RsZoli\Documents\net6-mobile-samples-develop\packages\microsoft.maui.resizetizer\6.0.100-preview.2.122\buildTransitive\Microsoft.Maui.Resizetizer.targets(332,9): error : One or more errors occurred. (Failed to Convert SVG to Android Drawable: EXCEPTION in parsing c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg: [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\HelloMaui.csproj]
C:\Users\RsZoli\Documents\net6-mobile-samples-develop\packages\microsoft.maui.resizetizer\6.0.100-preview.2.122\buildTransitive\Microsoft.Maui.Resizetizer.targets(332,9): error : error in parsing "m 105.50037,281.60863 " in [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\Resources\AppIcons\appiconfg.svg]) [c:\Users\RsZoli\Documents\net6-mobile-samples-develop\HelloMaui\HelloMaui.csproj]
from maui-samples.
@RsZoli can you attach a .binlog
? Add -bl
to your command and upload the msbuild.binlog
here, thanks!
from maui-samples.
@RsZoli can you attach a
.binlog
? Add-bl
to your command and upload themsbuild.binlog
here, thanks!
Of course!
dotnet build HelloMaui -t:Run -f net6.0-android --no-restore -bl:
https://drive.google.com/file/d/1JjlCK6WMaQDnIgIanKeF9BuSVEaSsEFj/view?usp=sharing
dotnet build HelloMaui -t:Run -f net6.0-android -bl:
https://drive.google.com/file/d/1md4eIMaCJXdtM48JuSa3H1llpAyTVO6F/view?usp=sharing
from maui-samples.
Try cleaning everything and rebuilding:
It's the same.
from maui-samples.
Replace the svg image with your own image and try again
from maui-samples.
We think this is fixed in: dotnet/maui@45f9d47
We will get a new build of Maui here, which will hopefully fix it.
from maui-samples.
@RsZoli can you try the latest on the main branch now and let us know?
from maui-samples.
@RsZoli can you try the latest on the main branch now and let us know?
I have tried it!
The following error occurs after the command: dotnet build HelloMaui -t:Run -f net6.0-android --no-restore
"C:\Program Files\dotnet\sdk\6.0.100-preview.2.21155.3\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(871,5): error MSB3073: The command "c:\Users\RsZoli\Documents\net6-mobile-samples-main\HelloMaui\bin\Debug\net6.0-android\HelloMaui.exe " exited with code 3. [c:\Users\RsZoli\Documents\net6-mobile-samples-main\HelloMaui\HelloMaui.csproj]"
And this one after: dotnet build HelloMaui
"C:\Program Files\dotnet\sdk\6.0.100-preview.2.21155.3\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(109,5): error NETSDK1139: The target platform identifier android was not recognized. [c:\Users\RsZoli\Documents\net6-mobile-samples-main\HelloMaui\HelloMaui.csproj]]"
from maui-samples.
This looks like you don't have the latest Android workload, can you check that you have:
from maui-samples.
This looks like you don't have the latest Android workload, can you check that you have:
I had that version, but i used the installer you linked and did a repair, it is working now, thank you!
from maui-samples.
Ok, great, thanks!
from maui-samples.
Related Issues (20)
- In Control Gallery Sample, iOS Displaying Incorrect Text in TableView
- In Control Gallery, Windows Host Stops Navigating After One Click / Back Sequence HOT 4
- Dynamic change of `ControlTemplates` at runtime doesn't work.
- Install QUEST
- WordPuzzle sample
- Weathertwentyone app example GitHub action pipelines
- why are all sample codes not running because of packages? HOT 3
- BugSweeper
- WebAuthenticator in PlatformIntegrationDemo ends (crashes?) App HOT 1
- Native embedding sample
- NativeEmbeddingDemo doesn't work. HOT 2
- DatePicker crashes app HOT 3
- Point of Sale will not even Compile... HOT 4
- WEATHER APP DOES NOT RUN!! HOT 2
- Update quest.config
- Share.RequestAsync() doesn't work on .Net MAUI HOT 1
- Update OIDC keys for the OSPO API
- All of the CollectionView samples need to be updated so the CV is inside a Grid not a StackLayout
- MAUI and OpenXR HOT 1
- ISSUE on Windows for any official .NET MAUI examples in the repo that uses TableView
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-samples.