TPG
TPG

Reputation: 3219

How to set aaptOptions in Xamarin.Android for TensorFlow Lite .tflite File

I am trying to work on the tflite stuffs and try to open the tflite file but got error. From internet, it seems everybody is talking about adding the below setting in Android Studio at the build.gradle file.

android {
    // ...
    aaptOptions {
        noCompress 'tflite'
    }
}

But since I am doing it in Xamarin.Android and without gradle file, anybody now where and how can I set this in Xamarin?

Thank you.

Upvotes: 0

Views: 570

Answers (1)

Nick Bauer
Nick Bauer

Reputation: 1072

I don't know if this will work for you, but this might be it:

In Visual Studio, open the Android project properties > "Android Options". There's a box that says "Leave the following resource extensions uncompressed", with examples .dll;.mp3.

So you might try putting .tflite there.

Upvotes: 3

Related Questions