Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Update create package commands to sdkmanager #32

Description

@adamantivm

Starting with version 25.3.1, the Android SDK Tools has deprecated the android command, used by i.e.: catkin_create_android_package.
These commands need to be updated to use the new available commands.

See #31

Activity

  1. jubeira commented on Oct 20, 2017

    @jubeira

    This is certainly a problem; if you follow the tutorials and download the SDKs with Android Studio, you will end up downloading SDK > 25.x and you won't be able to create packages with the Catkin way. There might be a simple way around this.

  2. jubeira commented on Oct 20, 2017

    @jubeira

    I did a quick search and didn't find a replacement for android create project.
    The quickest fix I found is downloading build tools r25 and replacing the content of $ANDROID_HOME/tools with it: https://dl.google.com/android/repository/tools_r25.2.5-linux.zip.

    Another possible approach to the problem is generating the required files from the catkin_create_android_package directly instead of relying in an external tool. It basically creates the bottom-level buildscript, dummy manifest, resources and Activity, with some parameters as the target SDK and so on. That should be doable in the Python script.

  3. jubeira commented on Dec 26, 2018

    @jubeira

    See rosjava/android_core#286 (comment).

    For now, to create a new Android app just create a package with the command line, and use android_tutorial_pubsub as a template, factoring out what you don't need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions