Skip to content

Questions and problems

Mark Rose edited this page Dec 30, 2025 · 4 revisions

Questions, problems, and other info

Questions

  • Why does chmod +x gradlew not work? Umask is 077 by default. Is chmod overridden?
  • Why can I not see AppDev4All project files in the Files application? (Cannot see /storage at all, it appears. However, there appears to be a URI prefix that allows access, just not file://.)
  • Why is /bin not readable? Why is /bin not on the PATH? Why is /data not readable?
  • Why do .htm and .html files show in the file browser with “lop” appended?
  • How do I open an HTML file, such as Javadoc generated for an AD4A project?
  • Why is Kotlin the default for Gradle build files, when Groovy would be closer to Java? Can I change the default?
  • Why does “Terminal” in the main Code-on-the-Go menu open in the last opened project?
  • Why do I see an “Installation failed” message when I cancel the installation?
  • Why does deleting a saved project not delete the project directory on disk? It’s deleted in the background, so may linger a bit.
  • Why do compiled classes go into such a deep path in the project? (app/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/)
  • How do you tell whether there are other terminals open?
  • How do you switch between terminal sessions?
  • Is there a way to add a project template for a command-line program?

Problems

  • It is not obvious what buttons in Code on the Go do, and there doesn't seem to be a way to hover over them and get info.
  • Is it possible to run an Android application without installing (from Code on the Go)?
  • There should be a way to run a console application within Code on the Go.
  • There should be a way to run jshell within Code on the Go.
  • When creating a new project with “Empty Activity,” the editor says that the package com.example.<whatever>.databinding does not exist. Yet the project compiles. So either the editor is wrong or the project isn’t compiling correctly.
  • Entirely unclear whether the editor automatically saves. If it doesn't, how do you save a file? (Files are automatically saved when building, but apparently not otherwise.)
  • Terminals don’t go away automatically and there’s not a good way to figure out how many you have open.
  • IDE does not automatically scan directories for changes, and there is no obvious way to refresh the file tree.
  • Build of project from template succeeds from the IDE but fails with “bash gradlew build”.
  • Various folders have only “x” permission for “other,” though subdirectories have read or write as well.
  • Cannot see IDE folders from Files app. (Well, there’s a workaround: Can use “Open from folder” when opening a project, then browse to the file, then click “full screen” icon on file, and select to open in Chrome.
  • There doesn't seem to be any way to configure the default Gradle task for a build. When creating a new Java project using gradle init, the task needed is build. The defualt task does not build the project.

Suggestions

  • Add Gradle to the default user PATH in the terminal.

AD4A IDE info

  • Terminal starting locations
    • No project: /data/data/com.itsaky.androideide/files/home/
    • With project: /storage/emulated/0/CodeOnTheGoProjects//

Jshell info

  • Commands added by TOOLING:
    • run(arg, …)
    • tools()
    • javac(), java(), etc.

Clone this wiki locally