How to use eclipse to create a new android
New android app
1
Before starting development, please ensure that your computer has been correctly configured with a development environment. If the configuration has not been completed, please refer to the following experience: downloading and installing the Android SDK, and configuring environment variables. In addition, you also need to create an AVD (Android Virtual Device). For specific steps, please refer to the detailed tutorial on creating an AVD in Eclipse under ADT (Android Development Tools), which also includes how to deal with some common errors.
2
Open New in the file menu and select new android application. A dialog box will then appear.
3
Please fill in the relevant information in the input box above. Note that the name of the package is usually the inverted version of the domain name. If the writing is irregular, a red cross will be displayed. Once completed, click Next.
4
You can choose to use a local icon by configuring the startup icon, which will be used as a shortcut icon for the application on the mobile phone.
5
If you choose clipart, it will provide many icons to choose from.
6
The next step is to create an "activity". There are 7 to choose from. Select the first blank activity. Represents a blank activity.
7
Generally there is no need to modify the next step, click finish.
8
After completion, it will create a project, including several folders, including source code and required data.
Run and test
1
Right-click the project name, the following one is Firstprj, and then select run as android application. It will launch the emulator. Prompt debugging information.
2
Select yes in the previous step, it will prompt log information.
How to put androidstudio into the eclipse menu
Android development can use Eclipse or Android Studio. Eclipse needs to add the ADT plug-in on the original basis, while Android Studio can directly develop Android.
Tools/Materials
Eclipse、Android Studio
Method/Step
1. To import an Eclipse project into Android Studio, you need to generate the project in Eclipse in advance into a format that Studio can import. Open Eclipse, select a project, right-click, and select Export-->Android-->Generate Gradle build files, as shown in the figure:
2. Select the project to be exported in the displayed interface and click Next, as shown in the figure:
3. Continue Next, and finally click Finish. Remember the path of the exported file at this time, as shown in the figure:
4. At this time, the Eclipse export project has been completed. The next step is to import the project in Android Studio. Open Android Studio and select File-->New-->Import Modle, as shown in the figure:
5. Click the Show button in the displayed interface. Locate the path to the project just exported by Eclipse, as shown in the figure:
6. Select the build.gradle file of the project in Eclipse and click OK, as shown in the figure:
The above is the detailed content of Create a new Android project using Eclipse. For more information, please follow other related articles on the PHP Chinese website!

To access worldwide content online, you can use a popular free VPN service like Hola VPN. Learn more about Hola VPN and check the guides on how to get Hola VPN downloaded for Chrome, Edge, PC, Mac, Android, iOS, TV, Xbox, PlayStation, etc.

What is a yoursearchbar.me browser hijacker? Why does it happen on your system? To better protect your data and system, you need to take effective measures to remove yoursearchbar.me hijacker. So, how to do that? This post on the php.cn Website will

Are you troubled by the The File Couldn't Open in Protected View error in Excel? If you are looking for solutions, this is the right place for you to get answers. php.cn Solutions compiles several methods for you to solve the problem.

Some iPhone users report that they encounter the “voicemail not working on iPhone” issue after updating to the new iOS. How to fix the issue? This post from php.cn provides some useful methods. Now, keep on your reading.

There are multiple reasons for the “Facebook Messenger not sending messages” issue and you don’t need to overreact to that. The block is temporary and recoverable. This article on php.cn Website will tell you why that happens and how to troubleshoot

In this php.cn post, we will introduce the new cumulative update for Windows 10, Windows 10 KB5014699. You can find the bug fixes and improvements in this update. You can also learn how to get this update using Windows Update or download an offline i

Projecting to this PC greyed out is a common issue that often happens on Windows 10. What should you do if you cannot use this feature? Take it easy and you can go to find some methods to easily help you out. Let’s go to look through them on this pos

What will you do when HTTPS is not working and you cannot open any HTTPS sites in Google Chrome? If you are struggling with it now, follow the fixes in this post on php.cn Website to help you out.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

WebStorm Mac version
Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SublimeText3 English version
Recommended: Win version, supports code prompts!

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.
