W
W
WizAlx2013-12-17 06:52:29
Android
WizAlx, 2013-12-17 06:52:29

How to correctly integrate Android SDK into Eclipse in Ubuntu?

Good day!
Installed Eclipse in Ubuntu. Acted according to the manual from the off-site. Installed Android SDK via help -> install new software. Created AVD.
Run does not work. More precisely, when I go to Run -> Run as, I see only an empty line.
Question: CHYADNT and what needs to be done, sobsno, so that everything would work?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
svd71, 2013-12-17
@WizAlx

add to ~/.profile file

export JAVA_HOME=/usr/lib/jvm/java-k-amd64/bin
export NDKROOT="/home/svd/android-ndk"
export NDK_ROOT="$NDKROOT"
export SDKROOT="/home/svd/android-sdk"
export SDK_ROOT="$SDKROOT"
export PATH="$NDKROOT:$SDKROOT:$PATH"
export LD_LIBRARY_PATH=/home/svd/android-sdk/tools/lib:$LD_LIBRARY_PATH

export PATH="/home/svd/android-sdk/platform-tools":$PATH
export PATH="/home/svd/android-sdk/tools":$PATH
export PATH="/home/svd/android-sdk/tools/lib":$PATH

I think you can guess that the paths need to be changed to suit your realities.

M
Maxim Moseychuk, 2013-12-18
@fshp

CHYADNT and what needs to be done, sobsno, to make everything work?

Use IDEA/Android Studio

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question