XDev.ScottyAb.Rootbeer
0.1.1.2
dotnet add package XDev.ScottyAb.Rootbeer --version 0.1.1.2
NuGet\Install-Package XDev.ScottyAb.Rootbeer -Version 0.1.1.2
<PackageReference Include="XDev.ScottyAb.Rootbeer" Version="0.1.1.2" />
<PackageVersion Include="XDev.ScottyAb.Rootbeer" Version="0.1.1.2" />
<PackageReference Include="XDev.ScottyAb.Rootbeer" />
paket add XDev.ScottyAb.Rootbeer --version 0.1.1.2
#r "nuget: XDev.ScottyAb.Rootbeer, 0.1.1.2"
#:package XDev.ScottyAb.Rootbeer@0.1.1.2
#addin nuget:?package=XDev.ScottyAb.Rootbeer&version=0.1.1.2
#tool nuget:?package=XDev.ScottyAb.Rootbeer&version=0.1.1.2
Introduction
Nuget packaging for Rootbeer-lib java lib, lincluding support for Anrdoid 16 (16kb-page file memory support)
The native libs in maven: https://central.sonatype.com/artifact/com.scottyab/rootbeer-lib/0.1.1/overview
native repo: scottyab/rootbeer: Simple to use root checking Android library and sample app
Getting Started
To use this nuget package, just install the desired version as you normally install nuget packs. If you are creating an Android-binding for a native library that has Rootbeer-lib java lib dependency, you can add this package to your binding project to get the native jar-libs pulled in automatically.
Usage
For .Net8 you will need to also use https://www.nuget.org/packages/XDev.Android.MavenBinding.Tasks to allow MSbuild to resolve the native dependency. Using the MavenBinding Task should resolve the native dependency to this package, but if it does not, you can tell MSbuild exactly where to find it by adding JavaArtifact and JavaVersion attributes:
<PackageReference Include="XDev.ScottyAb.Rootbeer" Version="0.1.1"
JavaArtifact="com.scottyab:rootbeer-lib"
JavaVersion="0.1.1"/>
For .Net9, see next section.
Build and Test
- VS 2022 or higher.
- .Net8 SDK required to build.
- This project uses XDev.Android.MavenBinding.Tasks to aid pulling in the native jar-libs directly from maven. See here for more info: https://github.com/jpobst/Prototype.Android.MavenBindings
XamPrototype.Android.MavenBinding.Tasks is being integrated into .Net9 SDK build tools, and the usage rolls forward in .Net9, but no longer needs the nuget package for the build tool. https://learn.microsoft.com/en-us/dotnet/android/features/maven/android-maven-library
Known issues
.net9 SDk does not play well with this repo, so the global.json is set to use .net8 SDK to help local builds. This should not be a problem for consuming this package in .net9 projects, but if you want to build this repo locally, you will need to have .net8 SDK installed.
{
"sdk":
{
"version": "8.0",
"rollForward": "latestMinor"
}
}
Contribute
If you need a different/newer version, PR, or open an issue in the .Net repo! https://xdevapps.visualstudio.com/DefaultCollection/XDev.Maui/_git/XDev.ScottyAb.Rootbeer
https://xdevapps.visualstudio.com/XDev.Maui/_workitems/recentlyupdated
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-android34.0 is compatible. net9.0-android was computed. net10.0-android was computed. |
-
net8.0-android34.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.1.2 | 335 | 3/9/2026 |
rootbeer-lib v 0.1.1 supports 16kb page files, meeting Android 16 req's