How to run the darts programming language on android

The programming language dart or dart language in Indonesia is not as popular as the Java programming language or C++, because this programming language is still a new language. The darts programming language was first introduced at the GOTO conference in 2011 and released on November 14, 2013, called darts version 1.0 by Lars Bak and Kasper Lund of Google. 

The programming language darts has reached version dart 2.0 which was released in august 2018. And currently, stable darts has reached version 2.7.

The dart programming language used to be used by Google to replace the javascript programming language, but with the release of Flutter, making dart programming more flexible and preferred by programmers to create web applications, mobile apps, and software.

One of the most famous darts frameworks is flutter, this framework is quite popular, especially app developers because it makes applications with flutter, can run on windows os, mac os, linux, or mobile, or often referred to as multi-platform. So no need to bother coding for multiple platforms. Enough coding once and can be compiled to various platforms that have been mentioned earlier.

Well, for those of you who want to learn the darts programming language, but are constrained by not having a laptop or for other reasons. You can now learn the darts programming language right on your android.

Coding darts on Android is not only light, it can also be done anywhere and anytime.

And here's a tutorial on running the darts programming language on Android.

1. Install termux
The first thing is to install the termux application in the playstore. But if you already have the application, just open it.

2. Open termux application, and write

Pkg update && upgrade

3. After updating and upgrading termux, it's time to install dart. Enter the following command:

Pkg install dart

4. Wait for it to finish installing.

5. When finished, then create a new folder to store the dart programming language files by typing the following command:

cd /storage/emulated/0/

mkdir dart

6. If you have successfully created a new folder, please enter the folder you created earlier with the following command:

cd /storage/emulated/0/dart

7. Open your file explorer, then look for a new folder called " dart " and create a new file there with the name " cellphone's halo-dart.dart ".

8. Fill in the " halo-dart.dart file " with the following dart script:

void main (){
print ("halo dunia dart");
}

Then save.

9. If it has been saved, then go back to termux, and make sure it is still in the directory/storage/emulated/0/dart, then enter the following command to run the script:

dart halo-dart.dart
Screenschoot-dart-in-termux


Apart from the above method. You can also directly create a file in termux. How to type:

 

vi halo.dart

 

If so, please write the dart program in the file. Then save in the following way:
-click esc then enter : and enter again w

Then click ctrl z to exit vi and enter the command " dart halo.dart " to run the program you created earlier.

bikin-file-ditermux


Hope it is useful.
Hobi mengetik dan memasak serta menyukai teknologi dan tips dan trik yang unik

0 Response to "How to run the darts programming language on android"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel