Native C programming for Android

Tutorials with advanced 'difficulty' and more Lines of Code.

Native C programming for Android

Postby radhoo » Wed May 13, 2009 11:10 am

Hi,

For those of you that are fond of using C instead of Java, there's the possibility of compiling native C applications for the Android Linux system.

You can read a tutorial here:
http://www.pocketmagic.net/?p=682

Hope it helps,

Radu Motisan
radhoo
Freshman
Freshman
 
Posts: 3
Joined: Wed May 13, 2009 11:08 am

Top

Postby minhzc » Tue Aug 04, 2009 7:31 pm

I try to install the NDK on Windows Vista but when I run the host-setup.sh in Cygwin, an error occurred:

Code: Select all
Phan Nazyc@minhpn00138 ~
$ e:/programming/android-ndk-1.5_r1/build/host-setup.sh
Detecting host toolchain.

CC         : compiler check ok (gcc)
LD         : linker check ok (gcc)
CXX        : C++ compiler check ok (g++)
Generate   : out/host/config.mk
Toolchain  : Checking for arm-eabi-4.2.1 prebuilt binaries

ERROR:
It seems you do not have the correct arm-eabi-4.2.1 toolchain binaries.
Please go to the official Android NDK web site and download the
appropriate NDK package for your platform (windows).
See http://developer.android.com/sdk/index.html

ABORTING.


I have downloaded the right versions, both SDK and NDK.
Somebody help me? :?
minhzc
Freshman
Freshman
 
Posts: 8
Joined: Sun Aug 02, 2009 10:26 am
Location: Vietnam

Top

Return to Advanced Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests