APK can't be build

Hi,
I am trying to build an APK file but builder says that connection is refused and apk build failed.

Please have a look into this issues and resolve it.

Thank you.

3 Likes

The issue has been noted, kindly prevent creation of duplicate topics

2 Likes

Dear appzard team
My app is not building when I tap on build on apk I show alert notice connection refused but my connection is fine
Please support
Thanks appzard

1 Like

it is a bug will fix it soon

2 Likes

What is date this issue will fix

1 Like

It will be fix soon. @Appzard_Staff is working on it. Please be patient.

2 Likes

The buildserver should be up now.

3 Likes

A post was split to a new topic: Server Error: Couldn’t build target

I faced apk or aab build faied still after upgrade and reinstall the offline buider to 1.4.2
I am using Win8.1 64bit OS.
please help me in this matter.
Screenshot (199)

1 Like

Can you run appzard -v and send the output here?

1 Like

the output is 1.4.2

1 Like

@Cyber This may help you.

Hello, can you please open the terminal you are running appzard at, and use CTRL + C to terminate it, then, run appzard start -d and post the results here?
Thank you.

2 Likes

2 posts were split to a new topic: Appzard offline doesn’t build APKs : Connection Refused

By @Cyber

IMG_20210728_190215_761
IMG_20210728_190219_399
IMG_20210728_190221_350

@MohamedTamer Please look here.

Please try to follow this answer:

3 Likes

@MohamedTamer how to set -Xmx3000m? I got this error also… Ihave 8 GB ram with 4.5 free. please help

2 Likes

Hello @ZYRENE_LUMBOY,
You should find an environment variable in Windows environmental variables called _JAVA_OPTIONS, setting this variable to -Xmx3000m, if this doesn’t work, you might want to post the full output of appzard start -d command.

4 Likes

Executing [C:\Program Files\Java\jdk1.8.0_341\jre\bin\java, -Dfile.encoding=UTF-8, -classpath, C:\Users\Shan\AppData\Roaming\appzard\appengine\bin..\lib\appengine-tools-api.jar, com.google.appengine.tools.development.DevAppServerMain, --property=kickstart.user.dir=C:\Program Files\Appzard Offline, --no_java_agent, --port=8888, --address=0.0.0.0, C:\Users\Shan\AppData\Roaming\appzard\build\build\war]
Picked up _JAVA_OPTIONS: -Xmx3000m


There is a new version of the SDK available.

Latest SDK:
Release: 1.9.98
Timestamp: Tue Jul 12 12:27:02 PKT 2022
API versions: [1.0]


Your SDK:
Release: 1.9.76
Timestamp: Thu Jan 01 05:00:00 PKT 1970
API versions: [1.0]


Please visit Fazer o download e instalar o SDK do Google Cloud  |  Documentação do App Engine for the latest SDK.


Oct 26, 2022 7:26:05 PM com.google.appengine.tools.development.SystemPropertiesManager setSystemProperties
INFO: Overwriting system property key ‘java.util.logging.config.file’, value ‘C:\Users\Shan\AppData\Roaming\appzard\appengine\config\sdk\logging.properties’ with value ‘WEB-INF/logging.properties’ from ‘C:\Users\Shan\AppData\Roaming\appzard\build\build\war\WEB-INF\appengine-web.xml’
2022-10-26 19:26:05.884:INFO::main: Logging initialized @25249ms to org.eclipse.jetty.util.log.StdErrLog
2022-10-26 19:26:06.144:WARN:oejs.AbstractConnector:main: Ignoring deprecated socket close linger time
2022-10-26 19:26:07.134:INFO:oejs.Server:main: jetty-9.4.18.v20190429; built: 2019-04-29T20:42:08.989Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_341-b10
Error occurred during initialization of VM
Picked up _JAVA_OPTIONS: -Xmx3000m
Could not reserve enough space for object heap
2022-10-26 19:26:13.953:INFO:oejsh.ContextHandler:main: Started c.g.a.t.d.j.DevAppEngineWebAppContext@2692b61e{/,file:///C:/Users/Shan/AppData/Roaming/appzard/build/build/war/,AVAILABLE}{C:\Users\Shan\AppData\Roaming\appzard\build\build\war}
2022-10-26 19:26:13.953:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2022-10-26 19:26:13.953:INFO:oejs.session:main: node0 Scavenging disabled
2022-10-26 19:26:13.993:INFO:oejs.AbstractConnector:main: Started NetworkTrafficSelectChannelConnector@359f7cdf{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}
2022-10-26 19:26:14.043:INFO:oejs.Server:main: Started @33402ms
Oct 26, 2022 2:26:14 PM com.google.appengine.tools.development.AbstractModule startup
INFO: Module instance default is running at http://localhost:8888/
Oct 26, 2022 2:26:14 PM com.google.appengine.tools.development.AbstractModule startup
INFO: The admin console is running at http://localhost:8888/_ah/admin
Oct 26, 2022 7:26:14 PM com.google.appengine.tools.development.DevAppServerImpl doStart
INFO: Dev App Server is now running
Oct 26, 2022 7:27:22 PM com.google.appengine.tools.development.jetty9.DevAppEngineWebAppContext disableTransportGuarantee
INFO: Ignoring for /* as the SDK does not support HTTPS. It will still be used when you upload your application.
Oct 26, 2022 7:27:27 PM com.google.appengine.tools.development.jetty9.LocalResourceFileServlet doGet
WARNING: Can not serve /manifest.json directly. You need to include it in in your appengine-web.xml.

Send complete error logs