Comments (4)
Installing android workload fails.
If you have issues installing workloads, please double check that you have up to date .NET SDK installed. And if you still have issues, then it's probably something to do with dotnet/sdk or xamarin/xamarin-android.
from avalonia-dotnet-templates.
I tried to change the framework to 6.0 manually. However the browers project needs 7.0 to compile, so I left this one unchanged..
I removed IOS cause I cant work with it on my linux desktop anyway I guess.
I still cant compile the solution with the android project, even after downgrading to 6.0. It tells me to install the android workload. But when I run "workload restore" or "workload install android", it tells me it is allready installed.
The reason why I thought 7.0 would not work is, because when I checked the android packages in the nuget library, it told me that only net6.0 is supported.
So how do I get it to work? How can I install an android workload for net6? I added a global json and changed the framework to 6.0. But then it cant find a android workload at all
from avalonia-dotnet-templates.
Ok I got it to work with dotnet6 now. I had to switch from ubuntu to microsoft packages. Application now runs inside the android emulator.
However I still think that probably the template cannot support 7.0 for android or can it ? For now im running with 6.0 for this project
from avalonia-dotnet-templates.
It's definitely a wrong issue, as Avalonia.Android supports .NET 7 with no problems.
With 11.1 release, it won't support .NET 6 at all instead.
from avalonia-dotnet-templates.
Related Issues (20)
- TemplatedControl should use ControlTheme instead of styles HOT 2
- Update naming of templates
- Group Avalonia templates in Rider "New Project" window HOT 2
- iOS Templates wont work by default HOT 1
- iOS Supported version mismatching
- Update comment in Desktop template HOT 2
- Declare ViewModelBase as abstract
- XUnit/NUnit headless templates HOT 5
- New Avalonia User Control still contains the `private void InitializeComponent()` method HOT 3
- Base VM type mismatch in ViewLocator
- Avalonia xPlat Library template HOT 2
- Nullability warning in ViewLocator.cs
- Template namespaces missing subfolder HOT 1
- avalonia.xplat template replaces spaces with underscores in project references HOT 5
- Creating new items in Visual Studio doesn't replace invalid characters in namespace HOT 1
- Template namespace switch leads to strange behaviours
- Preparing for 11.1 HOT 3
- Remove ReactiveUI from XPlat templates HOT 4
- Full type name consistency for created UserControls HOT 2
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 avalonia-dotnet-templates.