Shun87 / aacplayer-android

Automatically exported from code.google.com/p/aacplayer-android
GNU General Public License v3.0
0 stars 0 forks source link

How to complie libAACDecoder #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, i search to compile sources to create libAACDecoder.so file but i don't 
understand how ?

Can you help me please ?

Original issue reported on code.google.com by emulien...@gmail.com on 4 Apr 2011 at 6:11

GoogleCodeExporter commented 9 years ago
Hi,

you must use standard Android NDK (r4) for building.
Edit local.properties (set path to NDK)
Copy sample.ant.properties to .ant.properties and edit it.
Run Apache Ant: ant
For compiling the native (C) part only you can run "ant native".

Also in the last trunk (revision 16+) you can go to "jni" dir and run standard 
makefile command: make.

Original comment by vbarta...@gmail.com on 4 May 2011 at 8:09

GoogleCodeExporter commented 9 years ago
Hello, when I try to compile with Ant (with eclipse), I get the message:

"Error. You are using an obsolete build.xml
You need to delete it and regenerate it using
android update project"

I edited the files local.properties and .ant.properties

Can you help me, please?

Original comment by rafaelba...@gmail.com on 13 Feb 2012 at 11:08

GoogleCodeExporter commented 9 years ago
Hi,

it seems that you are using a new version of SDK/NDK ? Which one ?
Could you try with older ones, please ?
V.

Original comment by vbarta...@gmail.com on 14 Feb 2012 at 7:22

GoogleCodeExporter commented 9 years ago
Hi,
I try to compile with the NDK r4 and SDK 1.5, but got the same message.

Original comment by rafaelba...@gmail.com on 15 Feb 2012 at 12:33

GoogleCodeExporter commented 9 years ago
My "ant build" fails as well.  I was unable to find a download for the r4 of 
the NDK, I am trying r7 which is the current one available for download at the 
android developer portal.

Original comment by anthony....@gmail.com on 25 Mar 2012 at 5:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,
I've recognized the problem was probably in the player/ demo player part - so 
not related to NDK at all.
I've commited rev#26 - updated build file for latest Android SDK 17 
Re-tested with Android SDK 17 (current) and NDK r6b (this could be downloaded 
by changing the revision number in the url). 
Please let me know if your problem has been solved.
Thanks.
Vaclav

Original comment by vbarta...@gmail.com on 28 Mar 2012 at 9:54