Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mobile] Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported #21681

Open
sirramin opened this issue Aug 8, 2024 · 0 comments · May be fixed by #21711 or #23847
Assignees
Labels
api:Javascript issues related to the Javascript API platform:mobile issues related to ONNX Runtime mobile; typically submitted using template

Comments

@sirramin
Copy link

sirramin commented Aug 8, 2024

Describe the issue

Task :onnxruntime-react-native:processDebugManifest FAILED
Incorrect package="ai.onnxruntime.reactnative" found in source AndroidManifest.xml: \node_modules\onnxruntime-react-native\android\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="ai.onnxruntime.reactnative" from the source AndroidManifest.xml: D:\Projects\speakup\react native\speakup-react-native2\node_modules\onnxruntime-react-native\android\src\main\AndroidManifest.xml.

To reproduce

use onnxruntime-react-native and build the android project.
The error appears from the Gradle 8.2 and Android Api level 34 up (Which is required for submitting new updates to google play store)

Urgency

No response

Platform

React Native

OS Version

14

ONNX Runtime Installation

Built from Source

Compiler Version (if 'Built from Source')

No response

Package Name (if 'Released Package')

onnxruntime-react-native

ONNX Runtime Version or Commit ID

1.20

ONNX Runtime API

JavaScript

Architecture

X64

Execution Provider

Default CPU

Execution Provider Library Version

No response

@sirramin sirramin added the platform:mobile issues related to ONNX Runtime mobile; typically submitted using template label Aug 8, 2024
@github-actions github-actions bot added api:Javascript issues related to the Javascript API platform:web issues related to ONNX Runtime web; typically submitted using template labels Aug 8, 2024
@sophies927 sophies927 removed the platform:web issues related to ONNX Runtime web; typically submitted using template label Aug 8, 2024
@carzh carzh linked a pull request Aug 12, 2024 that will close this issue
@carzh carzh self-assigned this Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api:Javascript issues related to the Javascript API platform:mobile issues related to ONNX Runtime mobile; typically submitted using template
Projects
None yet
3 participants