Comments (8)
travisでandroidアプリをテストしてる人がいるので、CLIだけでできるはず
from jsk_smart_apps.
@KazutoMurase 君も見てみて下さい.
from jsk_smart_apps.
ping
from jsk_smart_apps.
- oracle javaをインストールする(androidはoracle java依存)
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer
- android SDKを入れる。
ここからダウンロードして展開。
展開してできたディレクトリを/optに移動
$ sudo mv android-studio /opt
- catkin_make
$ export ANDROID_HOME=/opt/android-studio
$ catkin_make --only-pkg-with-deps android_core
Total time: 2.515 secs
Built target gradle-rosjava_core
:android_acm_serial:compileLint
:android_acm_serial:copyReleaseLint UP-TO-DATE
:android_acm_serial:mergeReleaseProguardFiles UP-TO-DATE
:android_acm_serial:preBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':android_acm_serial:preBuild'.
> failed to find target android-13 : /opt/android-studio
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 11.425 secs
make[2]: *** [android_core/CMakeFiles/gradle-android_core] Error 1
make[1]: *** [android_core/CMakeFiles/gradle-android_core.dir/all] Error 2
make: *** [all] Error 2
from jsk_smart_apps.
これを参考にしたほうがよいか?
from jsk_smart_apps.
travisでandroid http://docs.travis-ci.com/user/languages/android/
from jsk_smart_apps.
androidコマンドから過去のSDKをインストールするらしい。
android 10とandroid 13が必要
from jsk_smart_apps.
android10等はandroidコマンドからインストール。GUIもしくはCUI
wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
tar xzf android-sdk_r21.0.1-linux.tgz
export ANDROID_HOME=$PWD/android-sdk-linux
export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# Install required Android components.
echo y | android update sdk --no-ui --force
echo y | android update sdk --all --filter android-10 --no-ui --force
echo y | android update sdk --all --filter android-13 --no-ui --force
echo y | android update sdk --all --filter build-tools-19.1.0 --no-ui --force
from jsk_smart_apps.
Related Issues (19)
- スマホ関係のメッセージをupstreamにpull requestする
- missing app_manager HOT 1
- failed to generate ros java message because of wrong destination HOT 4
- get error for object_snapshotter HOT 2
- packages for ios app HOT 2
- travis でコンパイルまでチェックする HOT 2
- jsk_smart_appsのテストを作る HOT 2
- jsk_smart_apps is super heavy HOT 8
- cannot compile jsk_smart_gui HOT 13
- rosrun jsk_smart_gui tablet_receiver.l fails HOT 5
- build.sh fails in jsk_ios_utils package because gitrious.org is discontinued. HOT 3
- Could not find face_recognition: Travis test fails without any changes HOT 9
- topic name of jsk_android_apps is not well organized
- can not send audio from tablet to the pc
- no information on candidate
- gradle-jsk_rosjava_messages HOT 3
- jsk_smart_gui depends on jsk_maps HOT 1
- missing android_gingerbread_mr1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsk_smart_apps.