neo4j-contrib / neo4j-mobile-android

Neo4j for Android
Other
78 stars 13 forks source link

Build error with Android SDK r22 (patch included) #2

Open snellen opened 11 years ago

snellen commented 11 years ago

I get the following error when trying to compile the current master branch (d659251):

BUILD FAILED /home/silvan/bin/adt-bundle-linux-x86_64-20130522/sdk/tools/ant/build.xml:597: The following error occurred while executing this line: /home/silvan/neo4j/neo4j-mobile-android/neo4j-android/build.xml:753: The following error occurred while executing this line: /home/silvan/neo4j/neo4j-mobile-android/neo4j-android/build.xml:773: renderscript doesn't support the "executable" attribute

Setup: Ubuntu 13.04 64 Bit Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Android SDK r22.0.5 Android SDK Build-tools 17 Apache Ant(TM) version 1.8.2 compiled on May 18 2012

I was able to resolve all compile errors by modifying the build.xml file in the neo4j-android folder as follows:

diff --git a/neo4j-android/build.xml b/neo4j-android/build.xml index 5196969..b501d5b 100644 --- a/neo4j-android/build.xml +++ b/neo4j-android/build.xml @@ -280,9 +280,6 @@

 <property name="adb" location="${android.platform.tools.dir}/adb${exe}" />
 <property name="zipalign" location="${android.tools.dir}/zipalign${exe}" />

@@ -590,6 +587,11 @@

 <!-- Pre build setup -->
 <target name="-build-setup" depends="-setup">
simpsonjulian commented 11 years ago

Hi @snellen,

Thanks for taking the time to do this.

Are you able to sign the Neo4j CLA and issue a pull request for this change? It'll make things easier in the long run, and you get the everlasting fame of your name on the contributor list!