Eclipse wizard to create new Android Activity doesn't work

前端 未结 6 2331
春和景丽
春和景丽 2021-02-19 11:38

This is my first question, I hope to make it right. I have a problem with Eclipse and Android. I\'m using the last build of the Android ADT bundle, adt-bundle-windows-x8

相关标签:
6条回答
  • 2021-02-19 11:51

    Uninstall ADT and read https://code.google.com/p/android/issues/detail?id=82393#makechanges

    Download http://tools.android.com/download/adt-issue-82393-v2.zip?attredirects=0&d=1

    Then -> Help -> Install New -> Add -> Archive and select it.

    Fixed my error.

    0 讨论(0)
  • 2021-02-19 11:53

    I've had this exact same problem with mine recently. I managed to the problem. Whatever the update was to the android bundle messed up the system. To solve my problem, you have to delete the extracted files from the adt bundle. Once it's deleted then re-extract the adt zip files again in your desired location. Once you have it, load the sdk manager and install all the programs that you want, but don't update any of the files that say they're available for updates. Once you have everything else, your program should operate just fine.

    0 讨论(0)
  • 2021-02-19 12:02

    There is some problem with the last update. I've find another way to solve it. In the sdk folder I've deleted the "tools" folder, download de sdk from the web http://developer.android.com/sdk/index.html and copy the "tools" folder from this zip to the sdk location in my computer. That have worked for me.

    0 讨论(0)
  • 2021-02-19 12:03

    Another thing to note, From the Android SDK Manager, ensure that you have installed "Android Support Repository" & "Android Support Library".

    I had installed only the later and I was having the same issue as you. When I installed the first one too, then I was able to see "MainActivity" created as expected.

    0 讨论(0)
  • 2021-02-19 12:09

    I had this problem last month. The "Install new software" procedure didn't work for me, it found that I was up to date. I just updated "Android SDK Tools" (24.0.2) today using the "Android SDK Manager" and it works fine again.

    0 讨论(0)
  • 2021-02-19 12:12

    I solved similar problem doing this:

    "Help" -> "Install new software", then put url https://dl-ssl.google.com/android/eclipse/ for getting updates, it will reinstall new versions.

    0 讨论(0)
提交回复
热议问题