How to add Tensorflow AAR file to Android.mk file?

I want to add Tensorflow-Lite and Tensorflow_lite-api AAR files to my Android.mk ?

can anyone guide me, how to include these two files to Android.mk and Android.bp files?

any update on this ?

Please “Add your AAR or JAR as a dependency” through android studio.

If you face any further issue please install AAR files to your local maven repo by following the below command

#For installing normal AAR files
mvn install:install-file \
  -Dfile=bazel-bin/tmp/tensorflow-lite.aar \
  -DgroupId=org.tensorflow \
  -DartifactId=tensorflow-lite -Dversion=0.1.100 -Dpackaging=aar
#Installing Select Ops AAR files
mvn install:install-file \
  -Dfile=bazel-bin/tmp/tensorflow-lite-select-tf-ops.aar \
  -DgroupId=org.tensorflow \
  -DartifactId=tensorflow-lite-select-tf-ops -Dversion=0.1.100 -Dpackaging=aar

Thank you.

thankyou @chunduriv

but my requirement is different.

we have to add Tensorflow-lite AAR to Android.bp file. we are not using gradle building.
we are using soong building system.

once we add the AAR file to Android.bp file, it will generate the jars in intermediates. but I don.t the process in Android.bp

if you have any idea, please let me know.