I want to use Emacs for Android development, so I installed
But I get an error. I entering path, package, activity names and I get "can't find project root" error.
I am using Ubuntu 16.04
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
This problem is related to this code in android-mode.el
(defmacro android-in-root (body) "Execute BODY form with project root directory as ``default-directory''. The form is not executed when no project root directory can be found." `(let ((android-root-dir (android-root))) (if android-root-dir (let ((default-directory android-root-dir)) ,body) (error "can't find project root"))))
I was having the same problem. I removed the error and it worked.