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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XDev.ScottyAb.Rootbeer" Version="0.1.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XDev.ScottyAb.Rootbeer" Version="0.1.1.2" />
                    
Directory.Packages.props
<PackageReference Include="XDev.ScottyAb.Rootbeer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XDev.ScottyAb.Rootbeer --version 0.1.1.2
                    
#r "nuget: XDev.ScottyAb.Rootbeer, 0.1.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XDev.ScottyAb.Rootbeer@0.1.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XDev.ScottyAb.Rootbeer&version=0.1.1.2
                    
Install as a Cake Addin
#tool nuget:?package=XDev.ScottyAb.Rootbeer&version=0.1.1.2
                    
Install as a Cake Tool

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

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 Compatible and additional computed target framework versions.
.NET net8.0-android34.0 is compatible.  net9.0-android was computed.  net10.0-android was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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