PDA

View Full Version : Android build error



Le Viet Bach
01-10-2011, 06:24 PM
I followed all the step in the wiki to build RTSimpleApp.
The cpp part was built fine and rtsimpleapp.so is generated.
However, there's a problem with the java side.

"ant debug" gives me this message

build.xml:110: Reference android.libraries.src not found.

I'm using Android SDK rev 8. I tried creating a new project with "android create project" and build it with "ant debug install". And the Hello World app builds and run perfectly on the emulator so I dont think there's anything wrong with my setup.

How to fix this?

Thanks in advance.

Le Viet Bach
01-10-2011, 06:49 PM
I followed all the step in the wiki to build RTSimpleApp.
The cpp part was built fine and rtsimpleapp.so is generated.
However, there's a problem with the java side.

"ant debug" gives me this message

build.xml:110: Reference android.libraries.src not found.

I'm using Android SDK rev 8. I tried creating a new project with "android create project" and build it with "ant debug install". And the Hello World app builds and run perfectly on the emulator so I dont think there's anything wrong with my setup.

How to fix this?

Thanks in advance.

Nvm, I worked it out.
Just replace android.libraries.src with project.libraries.src