18 Ocak 2018 Perşembe

Build An Android Project

Since Android applications are for the most part created utilizing the Java dialect, Google favors the Eclipse stage, which is an extremely famous IDE in the Java world as an application improvement stage. With its implicit modules, Eclipse can bolster any application improvement system in the Java world, making it reasonable for Android application advancement utilizing Google's Android module.

NOTE: Since Eclipse is a constantly refreshed IDE, the screenshots and variant numbers on this page may vary from the present forms.

You can download the Eclipse-based Android Development Environment (ADT) for your working framework here.

Note: The underlying startup of the Eclipse IDE may take some time. These opening and use times rely upon the equipment of your PC, particularly when utilizing the emulator.

The Android Native Development Kit (NDK) is intended to enable you to compose local applications for the Android stage. On the Android stage, applications are generally composed utilizing the Java dialect, however Android additionally gives Native (C/C ++) bolster. So it isn't compulsory to download it for assist clarifications.

The most essential motivation behind why we like to grow more Java-based applications for Android preparing is the relative trouble and execution effect of Native application designers on the Android stage. Android NDK is composed in C libraries. Backings ARM and x86 stages. Utilizations GCC as compiler. Not at all like the Java condition, the Android NDK keeps running with charge line instruments, and investigating, making, and running are likewise taken care of through the order line. Some outsider instruments incorporate Eclipse and Visual Studio augmentations.

How about we investigate the Eclipse IDE we have perceived how to stack the past one:

Once the Eclipse establishment is finished, we have to introduce the Eclipse modules composed by Google for Android designers. Snap Help> Install New Software to open the extra establishment window. The accompanying window will come up.

To complete another transfer here, e
nter "Android" in the Name field and https://dl-ssl.google.com/android/obscure/in the Location segment.

Subsequent to squeezing the OK key, Eclipse will question the predefined address and rundown the bundles it finds.

Here we select every one of the bundles and tap on the Next catch. The following window will request that we favor the permit.

When you have given the important affirmation, click Finish to begin the download. At this stage, the documents begin downloading. When we restart Eclipse after the documents are stacked, two symbols about Android are shown in the best window.

Begin the Android SDK Manager by tapping on the symbol on the left and get ready to download the vital Android bundles.

On this screen, we can get to a wide range of advancement apparatuses distributed by organizations that help Google and the Android venture up until now. From the rundown we can dispatch the download by choosing the proper Android variant. By introducing more than one adaptation, we can track how our application will function with various variants of Android. When you have chosen the required bundles, we can begin the establishment with the Install Packages alternative.

After the establishment is done, we have to characterize ourselves a virtual gadget by propelling the application called Android Virtual Device Manager.

We will portray that the virtual gadget will dispatch an Android working framework in light of the working framework adaptation we pick and enable you to experiment with every one of the capacities as though it were running on a genuine gadget. On this screen, how about we characterize another gadget with New choice.

In the case above, we've characterized a virtual machine that utilizations Android 4.1 and has 512 MB of outside diskette. At the point when our settings are done, click Create AVD catch to make our virtual machine.

When we have distinguished the virtual gadget, we can begin the Android Emulator by squeezing the Start catch. (Android Emulator's work can set aside quite a while out of the blue.)

In the wake of introducing Android Studio, we would now be able to make another Android venture. You just need to choose File> New> New Project for this.

At that point the wizard who stands up to us requests that we indicate a few highlights identified with our undertaking:

Application Name: The name of the application. On the gadget, this esteem shows up as the application name.

Organization Domain: The name of the task. Undertaking records show up under this organizer.

Bundle Name: The name of the bundle where the application's documents will be put away. This application ought to have a one of a kind name. This is likewise essential since it recognizes your application on a Google Play account in the meantime.

Task Location: The area of the undertaking on your PC.

Next, you'll see a screen on which you pick which Android rendition you need to work with.

Telephone and Tablet: Specifies the least Android working framework form your application will utilize when running on telephone and tablet.

Television: When your application is running on TV

Hiç yorum yok:

Yorum Gönder