Android IDE (AIDE) Support Forum

An error called [error aapt exited with code139] is given. What should I do?

An error called [error aapt exited with code139] is given. What should I do?Screenshot_20191114-134225

This is not a error with your project and yes with AAPT, the most common cause is a file in res that was not registered by your R.java.

Try:

Delete bin and gen folder;
Refresh Build;
Restart AIDE (optional);
Build & Run;

In some cases it’s just a simple error that can be solved by just Build and Run (ignorate the error)

1 Like