Skip to content

[Mobile] Could not activate JNI Handle 0x7ff647d7d0 (key_handle 0xd084f07) of Java type 'crc646e4b5c24e03cdbf9/MainActivity' #32495

Description

@ljzj2

Describe the issue

when I add onnxruntime in .net android and there is error:
Could not activate JNI Handle 0x7ff647d7d0 (key_handle 0xd084f07) of Java type 'crc646e4b5c24e03cdbf9/MainActivity'

To reproduce

create android application.
add the package

here is the repo:https://github.com/ljzj2/XMedicalAndroid

Urgency

No response

Platform

Android

OS Version

windows 10

ONNX Runtime Installation

Built from Source

Compiler Version (if 'Built from Source')

No response

Package Name (if 'Released Package')

None

ONNX Runtime Version or Commit ID

1.29.0

ONNX Runtime API

C#

Architecture

ARM64

Execution Provider

Other / Unknown

Execution Provider Library Version

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeapi:CSharpissues related to the C# APIapi:Javaissues related to the Java APIplatform:mobileissues related to ONNX Runtime mobile; typically submitted using template

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions