stride3d / stride3d/stride

Cannot create android project

Open
#827 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug platform-Android priority-high work-estimate-S
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release

Version: 4.0.0.1-beta04-1265

Platform(s): Windows

Describe the bug
New project cannot be created.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new empty project for .net core 3.1

Expected behavior
I expect the project to be created.

Log and callstacks
Verbose: Restore NuGet packages for MyGame4.Android...
[\MyGame4\MyGame4.Android\MyGame4.Android.csproj(93,3)]: Error: The imported project "C:\Program Files\dotnet\sdk\3.1.302\Xamarin\Android\Xamarin.Android.CSharp.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\3.1.302\Xamarin\Android\Xamarin.Android.CSharp.targets" is correct, and that the file exists on disk.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with MyGame4.Android.csproj at line 93 and the logged import of Xamarin/Android/Xamarin.Android.CSharp.targets under the .NET SDK 3.1.302 path. Reproduce project creation on Windows and verify that a new Android project restores successfully without the missing-target error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.