Search code examples
androidubuntu-12.04adteclipse-adteclipse-luna

"Enter an application name" error in New Android Application window despite having entered it


I installed ADT with Eclipse and SDK in /home/user-name/adt-bundle-linux-x86-20140321, /opt/eclipse and /opt/android-sdk-linux respectively.

Previously I didn't experience any problems when working with ADT. I tried to install Eclipse and wanted to add the plugin to it. Then I installed Eclipse and added the SDK to it. Now the newly installed Eclipse Luna is working fine but my ADT is not creating a new Android project.

It's is showing the error "Enter an application name (shown in launcher)" and the red x mark will be on Theme (see image below). ADT software Error

Is it not possible to work on the two of them?

PS: I am using two different work spaces for them.


Solution

  • For ADT, make sure you have specified the SDK Location:

    Window->preferences->android
    

    If that preference is missing, then make sure ADT is installed in your new Eclipse Luna: see "Install ADT"

    • Start Eclipse, then select Help > Install New Software.
    • Click Add, in the top-right corner.
    • In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
    https://dl-ssl.google.com/android/eclipse/
    

    Even if it is already installed, it is still important to click Help > Install New Software and enter the https url.