Prologue
Over the years, processors in mobile devices have gotten faster and faster to the point where they can even emulate PC games well. With that power, we should be able to do web development just fine. Leaving aside the limitations of the ARM CPU architecture, we are going to set up a coding environment on Android.
Prerequisites
- Android phone (version 7 and above)
- Ability to download approximately 200 MB
Step 1
Download Termux from F-Droid click here
And download Acode from the Google Play Store from here
Step 2
- Once downloaded, go to your Android settings under Power or Battery Settings
- Whitelist Acode and Termux from battery saver and battery optimization
- Now open Acode and Termux
Step 3
- Open the left side menu in Acode and click on "Open Folder"
- Then click on the plus icon at the top
- Choose "Add Path" and click "Select Folder"
- In Android Material Files, open the side menu and click Termux
- Click "Add This Folder"
- Name the folder
With this done, you have successfully connected Acode and Termux.
Step 4
Enter the Termux directory you just created
Click on the New Folder icon and create a new folder named test
Step 5
- Click on the three dots on the test folder that has now appeared in the sidebar
- Choose "New File" and name the file index.html
- Copy this code:
<h1>hello</h1>
- Click on the play button at the top to see what happens
Step 6
To finish this tutorial Click on this link
And see how to use plugins and AcodeX-server so you can use the Termux terminal inside
Top comments (0)