Appengine connected Android Project - Add Account

…衆ロ難τιáo~ 提交于 2019-12-24 09:48:52

问题


I just signed up for 'C2DM' and created an 'Appengine connected Android Project'. After starting the Android Project, when I try to add my Account comes an error after the Server Settings: "Unable to open connection to Server". Is this error coming up, because my C2DM account hasn't been released yet?


回答1:


What target are you using? If you're using the AOSP (Android) 2.2 or above, you need to switch to using the Google API level 8 instead. This will allow you to use a (required) google account.

Edit: Let me clarify in that it's the emulator that needs to be running Google vs Android target, not the build target of the app.




回答2:


Google Api 8 Emulator will give no problem. Worked for me. in Eclipse.. Menu > Windows > Avd Manager > Create a new AVD with google api 8 . Make sure to change the run configurations of project too...



来源:https://stackoverflow.com/questions/6254073/appengine-connected-android-project-add-account

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