google app engine fails using app engine:update and app cfg.sh, different errors

时光总嘲笑我的痴心妄想 提交于 2020-01-02 23:01:54

问题


My questions is in two folds: issue with app engine:update and with the app cfg.sh.

I looked on the web and could not find any workaround or potential answer that could help me fixing this issue.

My application is working with not much issue locally. Time now to give it a shot on production and upload it to google app engine. At first I tried doing this by using the 'app engine:update' from gradle (I'm using Android Studio). The execution failed with the following error message: "toolkit not found: apple.awt.ctoolkit. Why is this toolkit required and where can we find it?

While searching on the internet there were suggestions to use the appcfg.sh script to upload the application. It seemed to work at first until it asked for email and password. I used the exact same email/password I use to connect to goole-appengine and for some reasons it does not work.

Thanks.


回答1:


After few hours investigating this issue I found out what the issues were. First thing, my account was compromised and received an email from Google. All I had is to confirm that was me trying to upload application to GAE. Secondly, my primary email address linked to my Google account belongs to another ISP. There is a security feature to disable and for security being a bit more loose. Creating a gmail account did the trick.



来源:https://stackoverflow.com/questions/25703994/google-app-engine-fails-using-app-engineupdate-and-app-cfg-sh-different-errors

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!