Oliver Wang
Oliver Wang

Reputation: 11

Error:java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 app

java.io.IOException: Cannot run program "C:\Users\a0924\AppData\Local\Android\sdk2\build_tools\25.0.3\aapt.exe": CreateProcess error=193, %1 is not a valid Win32 app.

When i run my app this error will occur and all my R references in the program cannot be resolved.

Help me it has been a few days!!!

Upvotes: 1

Views: 3831

Answers (1)

Amanullah Asraf
Amanullah Asraf

Reputation: 436

I once have same problem. Problem is in "build_tools" folder So, solved it by change the "Android SDK Build Tool" version 18.0.2 to 18.0.1 . Upgrade or downgrade "Android SDK Build Tool" version may solve it as me.

File->Settings

Upvotes: 2

Related Questions