zbkoong / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Building the source #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to build the source on my mac but get error following error. Can 
you point me any doc/info on how to build? Particular version of android api?

I want to retrieve add Service-Route header from 200 OK of REGISTER request and 
than use while sending INVITE/MESSAGE.  This is required header for OpenIMS 
core. 

See the below build failure error. 

 [aaptexec] WARNNG: Using deprecated 'resources' attribute in AaptExecLoopTask.Use nested element(s) <res path="value" /> instead.
 [aaptexec] WARNNG: Using deprecated 'outfolder' attribute in AaptExecLoopTask.Use 'apkfolder' (path) instead.

BUILD FAILED
/Users/rohitjoshi/Projects/workspace/ims-client/trunk/core/build.xml:320: 
aaptexec doesn't support the "basename" attribute
    at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:396)
    at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:344)
    at org.apache.tools.ant.Task.maybeConfigure(Task.java:202)
    at org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:196)
    at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
    at org.apache.tools.ant.Task.perform(Task.java:347)
    at org.apache.tools.ant.Target.execute(Target.java:390)
    at org.apache.tools.ant.Target.performTasks(Target.java:411)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
    at org.apache.tools.ant.Main.runBuild(Main.java:801)
    at org.apache.tools.ant.Main.startAnt(Main.java:218)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: The <aaptexec> type doesn't support the "basename" attribute.
    at org.apache.tools.ant.IntrospectionHelper.setAttribute(IntrospectionHelper.java:402)
    at org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:388)
    ... 15 more

Original issue reported on code.google.com by rohit.c.joshi@gmail.com on 11 Jan 2011 at 8:46

GoogleCodeExporter commented 9 years ago
I never use a Mac to develop under Android. Perhaps try to compile the project 
by using Eclipse instaed of build.xml which have been tested only under Windows.

Original comment by jmauffret@gmail.com on 12 Jan 2011 at 7:36

GoogleCodeExporter commented 9 years ago
Thx for quick response. In build.xml, there are relative path for common and 
tools directory. I don't have common and I guess tools is referencing 
$ANDROID_SDK/tools.
If you can tar up abd send me your eclipse project, that would help me too.
Thx.

Original comment by rohit.c.joshi@gmail.com on 12 Jan 2011 at 1:59

GoogleCodeExporter commented 9 years ago
For Eclipse: instructions are well described by Google at 
http://developer.android.com/guide/developing/eclipse-adt.html

Original comment by jmauffret@gmail.com on 12 Jan 2011 at 4:36

GoogleCodeExporter commented 9 years ago

Original comment by jmauffret@gmail.com on 15 Mar 2011 at 3:39