Closed sergey-miryanov closed 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.
Thank you, I will try.
Does this help? Or did you already set these http://snowkit.org/2014/10/01/android-path-setup/
No, I didn't see this.
Hm, I wrote path to android sdk to project.flow and got same error. I will try tomorrow again.
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)
Yes, you are right - I put path to wrong place :) Thank you, all compile fine!
thanks for reporting back
As of today ant path and android-sdk path are still hardcoded. Are there any plans to make them configurable? ;)
They are configurable (and always were :)) See http://snowkit.org/2014/10/29/quick-setup-guides-and-help/#androidspecificsetup
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
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!
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.
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$