Difference between revisions of "PC prerequisites about STM32MPU distribution for Android"

[checked revision] [quality revision]
 

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-pycryptopppycrypto 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.


Before downloading and building the STM32MPU distribution for Android&trade;, make sure your system meets the following requirements:<br />


*A 64-bit Linux<sup>&reg;</sup> environment.<br />


*At least 150 Gbytes of free disk space. If you conduct multiple builds, even more space is required.<br />


*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.<br />


For more details, refer to the [https://source.android.com/setup/requirements requirements page] of the AOSP website.<br />


Use the following commands to install the packages required to build an environment for Android (Distribution Package), after having installed the required packages [http://source.android.com/source/initializing.html 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
pycrypto 
To ensure  USB communication (with ADB) between the host and the device, see [[ADB#Device Connection|ADB § Device Connection]].

To run Android-provided tests (CTS and VTS), see [https://source.android.com/compatibility/tests Android Platform Testing].
<u>At this stage</u>: Your environment is ready for Android build, debug and test.
<noinclude>

[[Category:Sub-articles]]
[[Category:Android]]
{{PublicationRequestId |13244 | 2019-09-12}}</noinclude>
Line 12: Line 12:
 
Use the following commands to install the packages required to build an environment for Android (Distribution Package), after having installed the required packages [http://source.android.com/source/initializing.html listed on Android website]:
 
Use the following commands to install the packages required to build an environment for Android (Distribution Package), after having installed the required packages [http://source.android.com/source/initializing.html listed on Android website]:
 
  sudo apt-get update
 
  sudo apt-get update
  sudo apt-get install chrpath curl libxml2-utils gdisk pv python-pycrypto
+
  sudo apt-get install chrpath curl libxml2-utils gdisk pv python-pycryptopp python-crypto autotools-dev automake libusb-1.0-0-dev
   
   

Attachments

Discussions