You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set environment variable ANDROID_NDK_HOME to the path of the NDK installation.
ie. nano ~/.bashrc, add line export ANDROID_NDK_HOME="$HOME/dev/android-ndk-r27".
cd to beyondnet/Generator/Beyond.NET.CodeGenerator.CLI.
Run ./publish_linux_arm64 or ./publish_linux_x64 depending on the host platform.
Add a symlink to beyondnetgen so that it's on the PATH.
ie. sudo ln -s ~/dev/beyondnet/Generator/Beyond.NET.CodeGenerator.CLI/bin/Release/net9.0/linux-arm64/publish/beyondnetgen /usr/local/bin/beyondnetgen.
Check if invoking beyondnetgen works and shows usage info.
cd to beyondnet/Samples/Beyond.NET.Sample.Managed.
Run ./publish_managed.
cd to beyondnet/Samples.
Run beyondnetgen Beyond.NET.Sample_Config.json.
cd to beyondnet/Samples/Beyond.NET.Sample.Native.
Run ./publish_android_arm64.
NOTE: It appears that the Android NDK is currently unavailable for ARM64-based Linux machines and at least for me, the compilation fails within Parallels with the following error EXEC : rosetta error : failed to open elf at /lib64/ld-linux-x86-64.so.2 [/home/fx/dev/beyondnet/Samples/Beyond.NET.Sample.Native/Beyond.NET.Sample.Native.csproj].
Open beyondnet/Samples/Beyond.NET.Sample.Android in Android Studio and try to build/run OR to build from the command line, cd to beyondnet/Samples/Beyond.NET.Sample.Android and run ./build.sh.
Install .NET 9 SDK.
https://dotnet.microsoft.com/en-us/download/dotnet/9.0
Ensure
dotnet --versionworks.Install Android NDK.
https://developer.android.com/ndk/downloads
Set environment variable
ANDROID_NDK_HOMEto the path of the NDK installation.ie.
nano ~/.bashrc, add lineexport ANDROID_NDK_HOME="$HOME/dev/android-ndk-r27".Clone beyondnet.
ie.
git clone https://github.com/royalapplications/beyondnet.git.cd to
beyondnet/Generator/Beyond.NET.CodeGenerator.CLI.Run
./publish_linux_arm64or./publish_linux_x64depending on the host platform.Add a symlink to
beyondnetgenso that it's on thePATH.ie.
sudo ln -s ~/dev/beyondnet/Generator/Beyond.NET.CodeGenerator.CLI/bin/Release/net9.0/linux-arm64/publish/beyondnetgen /usr/local/bin/beyondnetgen.Check if invoking
beyondnetgenworks and shows usage info.cd to
beyondnet/Samples/Beyond.NET.Sample.Managed.Run
./publish_managed.cd to
beyondnet/Samples.Run
beyondnetgen Beyond.NET.Sample_Config.json.cd to
beyondnet/Samples/Beyond.NET.Sample.Native.Run
./publish_android_arm64.NOTE: It appears that the Android NDK is currently unavailable for ARM64-based Linux machines and at least for me, the compilation fails within Parallels with the following error
EXEC : rosetta error : failed to open elf at /lib64/ld-linux-x86-64.so.2 [/home/fx/dev/beyondnet/Samples/Beyond.NET.Sample.Native/Beyond.NET.Sample.Native.csproj].Open
beyondnet/Samples/Beyond.NET.Sample.Androidin Android Studio and try to build/run OR to build from the command line, cd tobeyondnet/Samples/Beyond.NET.Sample.Androidand run./build.sh.