I’m pretty new to Haxe and OpenFL. I’m working on an app to better learn the language and see what I can make with it. Currently, I am having an issue building my application for iOS and Android.
I am using the command
lime build ios -simulator -Dsource-header=haxe to build the app for iOS. When I try to run the app in Xcode to run it on an emulator there is an issue with a try-catch statement I use to check for a file.
lime build android , it goes through the list of stuff it’s exporting for the build but in the end it gives an error when trying to download Gradle (at the bottom of the thread).
I love the Haxe language and would love to use this for future projects, if anyone has had this issue and/or knows the solution please let me know. Thank you
Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-2.10-bin.zip at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1913) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509) at org.gradle.wrapper.Download.downloadInternal(Download.java:58) at org.gradle.wrapper.Download.download(Download.java:44) at org.gradle.wrapper.Install$1.call(Install.java:61) at org.gradle.wrapper.Install$1.call(Install.java:48) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65) at org.gradle.wrapper.Install.createDist(Install.java:48) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)