microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator

Home Page:https://onnxruntime.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Mobile] Using flatDir should be avoided because it doesn't support any meta-data formats.

sirramin opened this issue · comments

commented

Describe the issue

When I try to build react native for android with android studio I got following error:
Using flatDir should be avoided because it doesn't support any meta-data formats.
I think the error comes from this line in package's build.gradle file:
flatDir { dir 'libs' }

To reproduce

Build an app containing onnxruntime-react-native module in a react native android project with android studio

Urgency

No response

Platform

Android

OS Version

12

ONNX Runtime Installation

Released Package

Compiler Version (if 'Built from Source')

No response

Package Name (if 'Released Package')

onnxruntime-react-native

ONNX Runtime Version or Commit ID

1.16.3

ONNX Runtime API

JavaScript

Architecture

ARM64

Execution Provider

Default CPU

Execution Provider Library Version

No response

Error or warning?

commented

Untitled
it's a warning but I think it causes some other related errors about meta-data: