GaioPepper

Running the app on Pepper Emulator

This guide provides step-by-step instructions for installing Android Studio and PepperSDK on Ubuntu.

Prerequisites

In order to run the robot emulator successfully you need Ubuntu 22.04

Make sure you have Java Development Kit (JDK) installed on your system. You can install it using the following command:

sudo apt update
sudo apt install default-jdk

Step 1: Download Android Studio

Download Android Studio Bumblebee | 2021.1.1 Patch 3 from the official archive repository.

Step 2: Extract the Archive

Extract the downloaded archive to a location of your choice.

Required libraries for 64-bit machines

If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386

Step 3: Start Android Studio

Navigate to the android-studio/bin/ directory, and execute studio.sh.

Step 4: Install PepperSDK

Inside Android studio go to File > Settings. Choose Plugins section from the sidebar. Find and install PepperSDK.

Step 5: Install Additional libraries

Step 6: Install Quick Emulator & Kernel-based Virtual Machine

sudo apt install qemu-kvm
sudo adduser <yourusername> kvm
cd /home/$USER/.local/share/Softbank\ Robotics/RobotSDK/API\ 7/tools/lib
mv libz.so.1 libz.so.1.bak
ln -s /usr/lib/x86_64-linux-gnu/libz.so libz.so.1

Step 8: Run the app