Android NDK Installation in Debian Bullseye – Step-by-step

September 20, 2021 | By the+gnu+linux+evangelist.

Setting Up Requirements

  1. 2. Installing SDK

    Install Required Android SDK Tools Only for Debian

    Install Android SDK on Debian

    But if you Prefeer instead Install Android Studio IDE that includes the Tools…

  2. 3. Setting Up SDK Env

    Provide also to Set Up ANDROID_HOME Environment Variable
    Editing the Bash Config User’s File:

    nano ~/.bashrc

    Example Append (Following your SDK Installation Location):

    /nexport ANDROID_HOME=/opt/android-sdk-linux/nexport PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
    

    So you may Replace the ANDROID_HOME Path with your’ actual one…
    Ctrl+x to Save & Exit from nano Editor.

  3. 4. Installing JDK

    How to Install Required Oracle Java JDK on Debian

    Install Oracle JDK for Debian
  4. 5. Setting Up JDK Env

    And Set Up JDK_PATH Environment Variable
    Again Editing the Configuration File with:

    nano ~/.bashrc

    Example Append (Following your JDK Installation Location):

    /nexport JDK_PATH=/usr/lib/jvm/jdk1.[X]*/bin/nexport PATH=$PATH:$JDK_PATH
    

    So again here you may need to Replace the JDK_PATH with your actual one.

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress