Recently, I noticed that GitHub is getting slower at providing the master.zip file of the repo. Sometimes it takes up to two minutes to open a project. (I don’t exclude that it might be a CDN problem related to my region).
Would it be possible to create a release on GitHub so we can reference that specific zip file (which is usually generated faster) in the game.project file?
More than that, it would allow to easily use a specific version of the extension in the future
I added a new argument for pompom script --exclude, and now it possible to exclude libraries that already added in Defold or in some other extension automatically (example).
Defold dependencies in exceptions.json file that based on this list https://www.defold.com/manuals/extensions-details/#_android
Recently, I noticed that GitHub is getting slower at providing the master.zip file of the repo. Sometimes it takes up to two minutes to open a project. (I don’t exclude that it might be a CDN problem related to my region).
Would it be possible to create a release on GitHub so we can reference that specific zip file (which is usually generated faster) in the game.project file?
Any update on this? Unfortunately GitHub is still pretty slow to generate the master.zip file runtime (up to 5 minutes sometimes).
That can’t be right. It must be the download that is slow. On a decent connection it takes just a few seconds. From where and using what kind of connection does it take 5 minutes?
If you only worry about download speed just download the extension manually and unpack it into your project. This way it won’t be downloading at startup at all.
I think the problem is that github re-generates/doesn’t cache the master.zip but keeps static release zips? So it adds extra wait time. This would be worth testing to see if there is actually a difference.
Defold has moved to a new dependency system for android extensions and this update addresses that.
Unfortunately initial Defold dependencies break the extension, so as a temporary measure I’ve made a fixed version of gps-ads-17.2.1.zip dependency.
Steps to migrate your projects:
Replace old dependencies with the new ones.
Add android_app_id value to the game.project file.
Remove app_id param from the call to admob.init().
2019-11-19 13:24:16.387 158696 [JavaFX Application Thread] WARN editor.app-view - {:line 804}
clojure.lang.ExceptionInfo: Failed to build engine, status 500: Internal Server Error
at editor.engine.build_errors$build_error.invokeStatic(build_errors.clj:451)
at editor.engine.native_extensions$build_engine_archive.invokeStatic(native_extensions.clj:245)
at editor.engine.native_extensions$get_engine_archive.invokeStatic(native_extensions.clj:289)
at editor.engine$get_engine.invokeStatic(engine.clj:185)
at editor.app_view$async_build_BANG_$fn__45688$fn__45694.invoke(app_view.clj:754)
at editor.app_view$async_build_BANG_$fn__45688.invoke(app_view.clj:752)
at clojure.core$binding_conveyor_fn$fn__5739.invoke(core.clj:2030)
at clojure.lang.AFn.call(AFn.java:18)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
I’ve double checked all, I can’t find what is wrong