"Error executing aapt: Return code 138" -- Help, can't find the error

  • Antworten:3
  • OffenNicht stickyNicht beantwortet
  • Forum-Beiträge: 8

30.12.2013 13:23:19 via Website

Hi,

I have a problem in my Android project. I get the error message in the screenshot. I don't know what to do. I tried to check all my XML resource files, but can't find the error.. I googled but nothing does really help me. Also I can't find the return code 138 using google.

Do you have any ideas what to do? I just can't get the R.java file to be generated... :-(

Thanks, Little



— geändert am 30.12.2013 13:24:37

  • Forum-Beiträge: 359

30.12.2013 13:35:19 via Website

Hi,
If you Speak German you can do it ;)

I know this Problem, when a error is in one Of the XML Files. --> Then fix them.
Or Eclipse is not current.
Then go to Project --> Clean (The Checkbox to Build have to Selected).

Fabian
  • Forum-Beiträge: 8

30.12.2013 13:56:59 via Website

Danke Fabian!

Unfortunately I couldn't find the error and I ended up to restore a backup from yesterday and copy/pasting all changes I have made since then.
It did work luckily, now it compiled and my project is running again. This took me about 15 minutes.. compared to almost one hour trying to find the stupid error in the XML files.

But thanks anyways :-)

Little

— geändert am 30.12.2013 13:57:55

  • Forum-Beiträge: 8

30.12.2013 14:00:08 via Website

Fabian Simon
Hi,
If you Speak German you can do it ;)

I know this Problem, when a error is in one Of the XML Files. --> Then fix them.
Or Eclipse is not current.
Then go to Project --> Clean (The Checkbox to Build have to Selected).

Fabian

Grüße nach Birkweiler. Komme aus Karlsruhe, gar nicht so weit :-)