You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
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.
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.
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.
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.
Activity
jubeira commentedon Oct 20, 2017
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.
jubeira commentedon Oct 20, 2017
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/toolswith 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_packagedirectly 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.jubeira commentedon Dec 26, 2018
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_pubsubas a template, factoring out what you don't need.