C
C#2mo ago
Otozinclus

.net does work with Android Studio on Mac M3

Hi! Both Android Studio and .net (via terminal) individually work on my Mac (M3 Air 24GB OSX 15). However, now I want to compile a Android GitHub project, that is based on the .net SDK and every time I try to build it, it throws out a generic "process command dotnet returns non 0 value "1"" error, or something like that I previously build it on my Windows PC already and I got that error there as well, because the project requires v9 and I only had v8 and after updating, the error disappeared. On my Mac however, I am stuck at this error. Any idea?
12 Replies
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Otozinclus
OtozinclusOP2mo ago
I try to compile following project: https://github.com/emmauss/Ryujinx/tree/libryujinx_bionic I try to build it by opening it in Android Studio and clicking on build. The project gets build with gradle, there is a gradle build file and gradle settings and everything else necessary The error was "return value non Zero: 1" on the command dotnet. I don't know when it returns value 1, I assume this happens when it fails extremely early, like not having dotnet installed or not finding it or similar. The error happened on the task "compileLibRyujinx" However, after I updated to the new Ladybug version (was on Koala previosly), the error changed. Now I have following: FAILURE: Build failed with an exception * What went wrong: Execution failed for task ":libryujinx:compileLibRyujinx" A problem occured starting process 'command 'dotnet'' Then it states the exceptions, which are org.gradle.api.tasks.TaskExecutionException ; net.rubygrapefruit.platform.NativeException ; java.io.IOException All of them said they were unable to start the command 'dotnet' I previosly tried building it on Windows the same way and it worked, just failed later when compiling because of too long filenames, therefore I try it on mac
GitHub
GitHub - emmauss/Ryujinx at libryujinx_bionic
Experimental Switch emulator written in C#. Contribute to emmauss/Ryujinx development by creating an account on GitHub.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Otozinclus
OtozinclusOP2mo ago
When I type in "dotnet --version" in the console, it says I have dotnet v9 RC1 installed I assume the error maybe has something to do with Android Studio not finding dotnet somehow I did not start any command manually, but the build script has some dotnet commands. I am currently not at home, but I can send you more detail when I am home And thank you already for your help It searched for command first in a specific project folder and if it is not present, it searches for a general 'dotnet' command That is what I remember
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Otozinclus
OtozinclusOP2mo ago
Yes
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Otozinclus
OtozinclusOP2mo ago
I will for sure do it when I am home in about 2 hours, thank you You mean the terminal inside android studio, the one you open with F12? There it says v9 RC1 as well
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Otozinclus
OtozinclusOP2mo ago
As far as I know, no Ryujinx based project was taken down yet by Nintendo. Only GDK took his ones down by himself, after his deal with Nintendo But sure, I understand of course that people are more careful with Nintendo
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Otozinclus
OtozinclusOP2mo ago
Thank you regardless though. It's not like I am in a hurry anyway
Want results from more Discord servers?
Add your server