Giter Site home page Giter Site logo

Comments (4)

maxkatz6 avatar maxkatz6 commented on June 16, 2024 1

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.

runkelstein avatar runkelstein commented on June 16, 2024

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.

runkelstein avatar runkelstein commented on June 16, 2024

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.

maxkatz6 avatar maxkatz6 commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.