luxeengine / alpha

alpha - deprecated 2015~2016. unrelated to the new engine! view the new engine here - https://luxeengine.com/
MIT License
565 stars 74 forks source link

Don't build for android #126

Closed sergey-miryanov closed 10 years ago

sergey-miryanov commented 10 years ago

arm-linux-androideabi-strip libLuxeApp-v7.so flow / android specifics { build_type: 'debug', install_location: 'preferExternal', libs: { native: { snow: 'snow' } }, sdk_min: 10, sdk_target: 19, permissions: [ 'READ_EXTERNAL_STORAGE', 'INTERNET' ], certificate: '' } flow / build - android - using ant at /opt/apache-ant/bin/ant Buildfile: /Users/zerg/Source/HAXE/luxe-samples/5_components/bin/android.build/project/build.xml

BUILD FAILED /Users/zerg/Source/HAXE/luxe-samples/5_components/bin/android.build/project/build.xml:11: Cannot find /Users/sven/dev/android-sdk/tools/ant/build.xml imported from /Users/zerg/Source/HAXE/luxe-samples/5_components/bin/android.build/project/build.xml

Total time: 0 seconds flow / build - android - stopping because ant failed to build, exit code 1

real 2m49.125s user 5m9.719s sys 0m9.553s Sergeys-MacBook-Pro:5_components zerg$

zhelezkov commented 10 years ago

Open your config.json in a flow location and fix a path to an android sdk. I've got the same issue a few minutes ago. It looks like a defect in a flow library. I think it shoud automatically detect a path to an android sdk.

sergey-miryanov commented 10 years ago

Thank you, I will try.

ruby0x1 commented 10 years ago

Does this help? Or did you already set these http://snowkit.org/2014/10/01/android-path-setup/

sergey-miryanov commented 10 years ago

No, I didn't see this.

sergey-miryanov commented 10 years ago

Hm, I wrote path to android sdk to project.flow and got same error. I will try tomorrow again.

ruby0x1 commented 10 years ago

Ok. If it's the exact same error (including my path) you might have put it in the wrong place (or I wrote the wrong place in the answer :p)

sergey-miryanov commented 10 years ago

Yes, you are right - I put path to wrong place :) Thank you, all compile fine!

ruby0x1 commented 10 years ago

thanks for reporting back

facciocose commented 9 years ago

As of today ant path and android-sdk path are still hardcoded. Are there any plans to make them configurable? ;)

ruby0x1 commented 9 years ago

They are configurable (and always were :)) See http://snowkit.org/2014/10/29/quick-setup-guides-and-help/#androidspecificsetup

facciocose commented 9 years ago

Thanks, I missed that article.

BTW per project configuration is great but a system wide configuration file would be simple to maintain for this sort of things. (somewhere like ~/.config/flow/... )

edit: OK, I found it myself this time :) https://github.com/underscorediscovery/luxe/issues/122#issuecomment-57530789

ruby0x1 commented 9 years ago

I thought I had added the link to the setup guide - but it isn't listed there. I'll add both, and on the android setup specifics I'll also list the global option. Glad you got it working then, and thanks for the report!

mightymarcus commented 8 years ago

Hi. I just tested flow for android build and it says "build.xml" not found.

flow / build - android - using ant at C:/Development/Apache Ant/bin/ant.bat Buildfile: build.xml does not exist! Build failed flow / build - android - stopping because ant failed to build, exit code 1

Hope someone can help me.