Eclipse Android Activity Wizard Not Creating New Activities

三世轮回 提交于 2019-12-10 13:36:27

问题


I'm trying to follow the Build Your First App tutorial from the official Android site but I ran into some problem I honestly cannot find solutions to. I can access the Activity Wizard easy enough and I can get as far as here with no trouble:

But when I press Finish, no Activity is created in my project's folders. Anyone know what's going on?

Thanks :)

EDIT: Screenshot of src folder and the rest of my project


回答1:


This seems to be a bug in the latest (as of Mar 13, 2014) ADT bundle release. An update through Eclipse's Install New Software window should fix it. To do this, you can try the following:

  1. In Eclipse, go to Help -> Install new software;
  2. Pick main update site having the URL http://dl-ssl.google.com/android/eclipse;
  3. In the bottom section disable "Contact all update sites during install to find required software"; this causes issues when updating;
  4. Check Developer Tools;
  5. Perform the rest of the update;


来源:https://stackoverflow.com/questions/22211678/eclipse-android-activity-wizard-not-creating-new-activities

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