android.support.v13.app does not exist while building TfLiteCameraDemo
@yerriswa You are using an older version of  TF  so please consider using the latest version of the TensorFlow Lite Support Library, which is built with AndroidX compatibility. The error messages "package android.support.v13.app does not exist" and "package FragmentCompat does not exist" point to the usage of deprecated libraries from the Android Support Library.

Thank you! I have cloned from https://github.com/tensorflow/tensorflow.git link and the branch is master.
I guess this is the latest. Please let me know if any other latest code is available. @yerriswa Since you've built the TensorFlow Lite library successfully, please try updating the TfLiteCameraDemo project to use modern libraries. Also kindly replace the deprecated android.support libraries with their AndroidX counterparts.
Thank you! @sushreebarsa Thanks for your response, I wil try to update from my side and let you know if I need any help in upgrading the TfLiteCameraDemo project. @yerriswa Could you please let us know if the issue has been resolved so that we could close the ticket?
If not please update us on the same?
Thank you!  @sushreebarsa, The android.support.v13.app framework was used only for the dynamic permision request which was not very critical for our application. I have commented as of now and went ahead with other development activites.
Let you know once I update this code base in future. This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/64019">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/64019">No</a>

### Issue type

Build/Install

### Have you reproduced the bug with TensorFlow Nightly?

No

### Source

source

### TensorFlow version

2.8.0

### Custom code

No

### OS platform and distribution

ubuntu 20.04

### Mobile device

container ubuntu 20.04

### Python version

3.11.8

### Bazel version

6.5.0

### GCC/compiler version

9.4.0

### CUDA/cuDNN version

NA

### GPU model and memory

_No response_

### Current behavior?

Trying to build TfLiteCameraDemo.apk using below command
   Cmd:bazel build -c opt //tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo
   Error: error: package android.support.v13.app does not exist

Please let me know the steps to resolve above issue.

### Standalone code to reproduce the issue

```shell
Steps followed:
1. Created container using the file "https://www.tensorflow.org/lite/android/lite_build" in the link (Guide==> Build for Android ==> You can download the Docker file [here])
2. Executed below sdkmanager command in the container
    sdkmanager \
  "build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \
  "platform-tools" \
  "platforms;android-${ANDROID_API_LEVEL}"
3. successfully Configured WORKSPACE (RCOM ==> NO, CUDA ==> NO)
4. configured all the below variables
    export ANDROID_NDK_HOME="/usr/local/android/android-ndk-r25b"
    export ANDROID_NDK_API_LEVEL="26"
    export ANDROID_BUILD_TOOLS_VERSION="30.0.3"
    export ANDROID_SDK_API_LEVEL="30"
    export ANDROID_SDK_HOME="/usr/local/android/android-sdk-linux"
5. Successfully able to build the complete tensorflow-lite library in the .aar format using below command
   bazel build -c opt --cxxopt=--std=c++17 --config=android_arm64 \
  --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a \
  --define=android_dexmerger_tool=d8_dexmerger \
  --define=android_incremental_dexing_tool=d8_dexbuilder \
  //tensorflow/lite/java:tensorflow-lite
6.  After the tensorflow-lite successfull build, tried building only TfLiteCameraDemo.apk using below command
    Cmd: bazel build -c opt //tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo
Got struck with Error: 
               error: package android.support.v13.app does not exist
```


### Relevant log output

```shell
ERROR: /host_dir/tensorflow/tensorflow/lite/java/demo/app/src/main/BUILD:9:15: Building tensorflow/lite/java/demo/app/src/main/libTfLiteCameraDemo.jar (7 source files) failed: (Exit 1): java failed: error executing command (from target //tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo) external/remotejdk11_linux/bin/java -XX:-CompactStrings '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' ... (remaining 18 arguments skipped)
tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/Camera2BasicFragment.java:64: error: package android.support.v13.app does not exist
import android.support.v13.app.FragmentCompat;
                              ^
tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/Camera2BasicFragment.java:76: error: package FragmentCompat does not exist
    implements FragmentCompat.OnRequestPermissionsResultCallback {
                             ^
tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/Camera2BasicFragment.java:615: error: cannot find symbol
      FragmentCompat.requestPermissions(this, getRequiredPermissions(), PERMISSIONS_REQUEST_CODE);
      ^
  symbol:   variable FragmentCompat
  location: class Camera2BasicFragment
tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/Camera2BasicFragment.java:158: error: [strict] Using type androidx.annotation.NonNull from an indirect dependency (TOOL_INFO: "bazel-out/android-armeabi-v7a-opt/bin/external/maven/v1/https/maven.google.com/androidx/annotation/annotation/1.1.0/header_annotation-1.1.0.jar").
        public void onOpened(@NonNull CameraDevice currentCameraDevice) {
                              ^
Target //tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 8.829s, Critical Path: 4.20s
INFO: 47 processes: 16 internal, 31 local.
FAILED: Build did NOT complete successfully
```
