google app engine - java.awt.AWTError: Toolkit not found: apple.awt.CToolkit Android appengineUpdate -
i'm trying deploy android app engine backend google in android studio using gradle appengineupdate task.
here output in gradle console:
executing tasks: [appengineupdate] configuration on demand incubating feature. :backend:appenginedownloadsdk :backend:compilejava up-to-date :backend:processresources up-to-date :backend:classes up-to-date :backend:appengineendpointsgetclientlibs up-to-date :backend:appengineendpointsgetdiscoverydocs up-to-date :backend:war up-to-date :backend:appengineexplodeapp up-to-date :backend:appengineupdate exception in thread "thread-24" java.awt.awterror: toolkit not found: apple.awt.ctoolkit @ java.awt.toolkit$2.run(toolkit.java:876) @ java.security.accesscontroller.doprivileged(native method) @ java.awt.toolkit.getdefaulttoolkit(toolkit.java:861) @ java.awt.desktop.isdesktopsupported(desktop.java:169) @ com.google.appengine.tools.admin.oauth2native.browse(oauth2native.java:321) @ com.google.appengine.tools.admin.oauth2native.authorize(oauth2native.java:251) @ com.google.appengine.tools.admin.appcfg.authorizeoauth2(appcfg.java:426) @ com.google.appengine.tools.admin.appcfg.<init>(appcfg.java:190) @ com.google.appengine.tools.admin.appcfg.<init>(appcfg.java:124) @ com.google.appengine.tools.admin.appcfg.main(appcfg.java:120) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ org.codehaus.groovy.reflection.cachedmethod.invoke(cachedmethod.java:90) @ groovy.lang.metamethod.domethodinvoke(metamethod.java:324) @ org.codehaus.groovy.runtime.callsite.staticmetamethodsite.invoke(staticmetamethodsite.java:43) @ org.codehaus.groovy.runtime.callsite.staticmetamethodsite.call(staticmetamethodsite.java:88) @ org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:45) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:108) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:116) @ com.google.appengine.task.appcfg.appconfigtasktemplate.runappconfig(appconfigtasktemplate.groovy:68) @ com.google.appengine.task.appcfg.appconfigtasktemplate$runappconfig.call(unknown source) @ org.codehaus.groovy.runtime.callsite.callsitearray.defaultcall(callsitearray.java:45) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:108) @ org.codehaus.groovy.runtime.callsite.abstractcallsite.call(abstractcallsite.java:112) @ com.google.appengine.task.appcfg.appconfigtasktemplate$appconfigrunnable.run(appconfigtasktemplate.groovy:121) @ java.lang.thread.run(thread.java:745)
i have googled , haven't found way prepare issue. configuration or installation issue?
i had problem. did upload first time command line using standard:
~/appengine-java-sdk/bin/appcfg.sh --oauth2 update webap
which prompts me give permission, in browser, , asks me cut-n-paste secret gives me on command line, did.
now can upload android studio using gradle appengineupdate task (it not inquire password again) without problems.
android google-app-engine android-studio android-gradle
No comments:
Post a Comment