android eclipse not creating blank activity

前端 未结 4 1220
囚心锁ツ
囚心锁ツ 2021-02-09 10:23

The problem is, in Eclipse, the new >> Project >> Android >> Android Application Project >> BlankActivity does not create any Activities in

4条回答
  •  礼貌的吻别
    2021-02-09 10:58

    I had the same problem. I tried installing the ADT plugin + Eclipse bundle and when I tried their "My First App" example Eclipse would not create an activity.

    Manually installing Eclipse first and then adding the latest ADT plugin worked for me.

    1. I installed Eclipse Standard 4.4 first (http://www.eclipse.org/downloads/).
    2. Then I installed the Android SDK (https://developer.android.com/sdk/index.html - use the "GET THE SDK FOR AN EXISTING IDE" link)
    3. Then I installed the ADT plugin for Eclipse (https://developer.android.com/sdk/installing/installing-adt.html)
    4. Then I was able to follow their demo project successfully.

    Eclipse does automatically create new activities and I can run the application on an actual device.

    Hope that helps.

提交回复
热议问题