Skip to content

App Crashes when using bundle.config with abi splits set to negate. #8979

Closed
@dellis1972

Description

@dellis1972

Android application type

.NET Android (net7.0-android, net8.0-android, etc.)

Affected platform version

.net8.0-android, .net9.0-android

Description

When using a bundle.config with the following contents

{
	"compression": { },
	"optimizations": {
		"splitsConfig": {
			"splitDimension": [
				{
						"value": "ABI",
						"negate": true
				}
			 ],
		}
	}
}

the app crashes at runtime with the following error.

At least a single application lib directory must be added"

Steps to Reproduce

  1. Download the attached repo app.
  2. Build and run it using the latest main of .net android.

Did you find any workaround?

Changing "negate": true to "negate": false fixes the issue.

Relevant log output

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions