Best Coding Apps for Android, to Learn or to Write Code

Lesson apps teach you the language. Editors such as Pydroid 3 and Acode run real code on the phone. Which to get for Python, C++, Java or the web.

A phone is a good place to learn what a loop does and a poor place to build anything large, and the apps split the same way. To learn from nothing, install Sololearn. If you already know which language you want, Programiz has a separate app for each. To write and run your own code, get Pydroid 3 for Python or Acode for web work. All of them are on Google Play and free to start.

Apps that teach you to code

These give you short lessons and exercises. Most are free with ads and sell a paid plan inside the app, which is where you see the price.

Complete beginners

Sololearn is free with ads and covers Python, JavaScript, HTML, CSS, SQL and more, so you can sample a few before settling. Mimo covers much the same ground but sets out a path towards a developer job, which helps if you need telling what comes next. Encode is built around 15 minutes a day with a built-in editor. Programming Hub has downloadable lessons for learning offline, handy on an expensive data plan. Those three are free with ads as well.

One language in mind

Programiz makes single-language apps, free with ads: Learn Python, Learn C and Learn C++. Each lets you run code inside the lesson, so there is nothing else to set up. For Kotlin, Java or Go, Hyperskill teaches through projects, with in-app purchases and no ads.

Free, with no ads

The freeCodeCamp app is free, carries its challenges and tutorials, and its listing shows no ads or in-app purchases. Khan Academy is free too, but skip it for this: its listing says computer programming content is only on the website.

Work skills and data

DataCamp teaches Python, SQL and R. Coursera carries university and company courses, with videos you can download. Both are free to install with paid courses inside. Codecademy Go is for reviewing and practising what you are studying elsewhere, so it is not a first step.

Children

ScratchJr is free, with no ads, and is aimed at ages five and up. Children snap blocks together to make characters move, and they type no code at all.

Apps for writing and running code

Here the choice comes down to your language. All of these are free to install.

  • Python: Pydroid 3 runs Python offline and installs libraries with pip, including numpy and matplotlib. It has ads, some libraries are for Premium users only, and it wants 250MB of free space.
  • C and C++: Cxxdroid, from the same maker, compiles offline. It has ads, with a Premium version.
  • Java: Jvdroid, again from that maker, includes OpenJDK 11 and Maven projects. It has ads, with a Premium version.
  • HTML, CSS and JavaScript: Acode is our pick for web work, with syntax highlighting for over 100 languages, Git, a Linux terminal and Node.js. It is free with ads, or $6.49 on Google Play in the US without them. Spck Editor is lighter, with no ads, and is strong on Git: it clones, commits and pushes from the phone. Back your projects up before uninstalling it, as its listing warns.
  • Several languages in one editor: Code Editor by Rhythm Software highlights over 110 languages and runs over 30 through an online compiler, so it needs a connection for that part. It has ads.
  • A real command line: Termux gives you bash, Python, clang and git, free and with no ads. It needs Android 11, and the Termux wiki says the Google Play build is still in development, with stability issues, and that most users are better off with the F-Droid build.

Two more things that are useful without being editors. VS Code for the Web opens at vscode.dev in your phone’s browser, free with nothing to install, and Microsoft pitches it at browsing code and lightweight changes, since it has no terminal or way to run your code. The GitHub app is free for reading and merging pull requests, not for writing much.

One to avoid if your aim is learning: Replit now describes itself as an AI app builder where you describe what you want. Its listing says “No coding”, so that is what you will learn.

Can you build Android apps on an Android phone?

Only just. Android Studio, Google’s own tool for this, installs on a computer and has no phone version. Code Studio from ALIF Technology is the app on Google Play that says it builds Android apps on the device, in Java, with in-app purchases. Treat it as a way to try out small ideas.

Recent Pixels have an experimental extra: Android’s release notes describe a Linux terminal, switched on in Developer options under Linux development environment, on selected devices. Google still calls it experimental, so do not plan around it.

When the phone stops being enough

The on-screen keyboard is usually what gives out first, because code is mostly symbols. Spck adds an extra row of keys, and any Bluetooth keyboard helps far more. The screen comes next, once you need your code and your results side by side.

Once you are building something that spreads over many files, you will want a computer. These laptops for students are a sensible place to look, and the lessons you have done on your phone carry straight over.

Written by

Oscar Frank

I’m Oscar Frank, a software engineer, gadget reviewer and the creator behind the Oscarmini YouTube channel. I’ve spent over a decade exploring smartphones, cameras and everyday tech, and I build tools like MoreMacSpace and GearMatchup.