참조: “http://stackoverflow.com/questions/5232471/creating-an-aidl-file-in-eclipse
right click the package -> new -> File
then enter your interface name together with your .aidl extension so for example:
ILogService.aidl
참조: “http://stackoverflow.com/questions/5232471/creating-an-aidl-file-in-eclipse
right click the package -> new -> File
then enter your interface name together with your .aidl extension so for example:
ILogService.aidl
참조: http://knight76.tistory.com/entry/android-ndk-r7-%EB%B2%84%EA%B7%B8
- Android ndk-build ERROR:
~/workspace-android/Fibonacci$ ndk-build android-ndk-r7/prebuilt/linux-x86/bin/awk: 1: ELF: not found android-ndk-r7/prebuilt/linux-x86/bin/awk: 4: Syntax error: word unexpected (expecting ")") Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to point to Gawk or Nawk ! android-ndk-r7/build/core/init.mk:258: *** Android NDK: Aborting. . 멈춤.
- 에러 원인: x86-32bit ubuntu 버전에서 prebuilt/linux-x86/bin/awk 는 x86-64 bit 임
android-ndk-r7/prebuilt/linux-x86/bin$ file awk awk: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
- 해결책: awk 파일을 지우고 gawk를 링크를 걸어준다.
android-ndk-r7/prebuilt/linux-x86/bin# mv awk awk.old /work/android-ndk-r7/prebuilt/linux-x86/bin# sudo apt-get install gawk android-ndk-r7/prebuilt/linux-x86/bin# ln -s /usr/bin/gawk awk