Run optimized image classification models from the Arm AI Portal on Android
Introduction
Set up the Android command-line tools for Photo Insight
Connect an Arm-based Android phone and run Photo Insight
Import and run Arm AI Portal image-classification models on Android
Understand the Photo Insight Android application
(Optional) Use a model not currently supported by Photo Insight
Next Steps
Run optimized image classification models from the Arm AI Portal on Android
Introduction
Set up the Android command-line tools for Photo Insight
Connect an Arm-based Android phone and run Photo Insight
Import and run Arm AI Portal image-classification models on Android
Understand the Photo Insight Android application
(Optional) Use a model not currently supported by Photo Insight
Next Steps
Who is this for?
Use this Learning Path if you develop Android or machine learning applications and want to run optimized image-classification models locally on an Arm-based Android device.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Prepare the Android command-line tools and connect an Arm-based Android phone.
- Download and run supported models from the Arm AI Portal
- Trace how the three supplied adapters import models, provide task-specific controls, preprocess inputs, run LiteRT or ExecuTorch, and format results
- Optionally register another compatible model or generate and validate a separate adapter
Prerequisites
Before starting, you will need the following:
- A macOS, Linux, or Windows development machine
- An Arm-based Android phone with Android 9 or later and enough storage for the application and model files
- Basic familiarity with terminal commands and Android applications
- Git installed on the development machine
- Python 3 with the
venvandpipmodules on the machine - Java Development Kit (JDK) 17 or later on the machine, available on your
PATH - A tool for downloading files and a tool for extracting ZIP archives on the machine
- A data-capable USB cable
- A Hugging Face account
- Network access for the first Gradle build and model downloads
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
adb devices -l. Confirm that your phone appears with the state device. If it reports unauthorized, unlock the phone and accept the debugging prompt. If it doesn’t appear, see
Run apps on a hardware device
.