- Last edited 9 months ago ago
PC prerequisites about STM32MPU distribution for Android
Before downloading and building the STM32MPU distribution for Android™, make sure your system meets the following requirements:
- A 64-bit Linux® environment.
- At least 150 Gbytes of free disk space. If you conduct multiple builds, even more space is required.
- At least 8 Gbytes of RAM/swap. If you are running Linux on a virtual machine, at least 16 Gbytes of RAM/swap are required.
For more details, refer to the requirements page of the AOSP website.
Use the following commands to install the packages required to build an environment for Android (Distribution Package), after having installed the required packages listed on Android website:
sudo apt-get update sudo apt-get install chrpath curl libxml2-utils gdisk pv python-pycryptopp python-crypto autotools-dev automake libusb-1.0-0-dev
To ensure USB communication (with ADB) between the host and the device, see ADB § Device Connection.
To run Android-provided tests (CTS and VTS), see Android Platform Testing.
At this stage: Your environment is ready for Android build, debug and test.