IntarBV / dotnet-maui-android

Docker container for MAUI Android builds
Other
9 stars 2 forks source link

Missing cmdline-tools #1

Open stevefan1999-personal opened 4 months ago

stevefan1999-personal commented 4 months ago

JAVA_HOME value found: /usr/lib/jvm/java-17-openjdk-amd64/
Java SDK path to be used: /usr/lib/jvm/java-17-openjdk-amd64
ANDROID_SDK_ROOT value found: /usr/lib/android-sdk
Android SDK path to be used: /usr/lib/android-sdk

Android components:
    - Java SDK: installed version '17.0.11'

    Android SDK recommended required components:
    - platforms/android-34: installed version '3'
    - build-tools/34.0.0: installed version '34.0.0'
    - platform-tools: installed version '35.0.1'
    x cmdline-tools/11.0: not installed.

    Android SDK recommended optional components:
    x emulator: not installed.
    x system-images/android-34/google_apis/x86_64: not installed.

ACTION REQUIRED:
    - The required Android SDK components need to be installed. You can install them from the command palette by choosing '.NET MAUI: Configure Android', selecting 'How to configure Android', and following the instructions. Take into account that the Maui Android SDK recommends specific component versions and if you decide to not use them the build/debug may not work well.
SUGGESTION:
    - There are optional recommended Android SDK components that can be installed/upgraded. You can install it from the command palette by choosing '.NET MAUI: Configure Android', selecting 'How to configure Android', and following the instructions.

JAVA_HOME value found: /usr/lib/jvm/java-17-openjdk-amd64/
Java SDK path to be used: /usr/lib/jvm/java-17-openjdk-amd64
ANDROID_SDK_ROOT value found: /usr/lib/android-sdk
Android SDK path to be used: /usr/lib/android-sdk

Android components:
    - Java SDK: installed version '17.0.11'

    Android SDK recommended required components:
    - platforms/android-34: installed version '3'
    - build-tools/34.0.0: installed version '34.0.0'
    - platform-tools: installed version '35.0.1'
    x cmdline-tools/11.0: not installed.

    Android SDK recommended optional components:
    x emulator: not installed.
    x system-images/android-34/google_apis/x86_64: not installed.

ACTION REQUIRED:
    - The required Android SDK components need to be installed. You can install them from the command palette by choosing '.NET MAUI: Configure Android', selecting 'How to configure Android', and following the instructions. Take into account that the Maui Android SDK recommends specific component versions and if you decide to not use them the build/debug may not work well.
SUGGESTION:
    - There are optional recommended Android SDK components that can be installed/upgraded. You can install it from the command palette by choosing '.NET MAUI: Configure Android', selecting 'How to configure Android', and following the instructions.
Ghostbird commented 4 months ago

Please provide more context. What is it that you are trying to do?

Note: Command line tools are not available in the SDK manager, yet we've never needed it to build our images.

stevefan1999-personal commented 4 months ago

Please provide more context. What is it that you are trying to do?

Note: Command line tools are not available in the SDK manager, yet we've never needed it to build our images.

Oh, right. I used this Docker image to run my DevPod and I installed the C#/MAUI extension in the remote VSCode DevPod environment.

Ghostbird commented 4 months ago

Sorry,‌ I don't have experience with that. You might need to craft your own image.