android - Eclipse: please check aapt is present at "..\sdk\build-tools\23.0.0_rc1\aapt.exe" -


recently, upgraded android-sdk android m (api 22, mnc preview). after this, every project reported errors when eclipse opened.

the error said: "error executing aapt. please check aapt present @ ..\sdk\build-tools\23.0.0_rc1\aapt.exe".

after checking *.exe file, found "aapt.exe" of 23.0.0_rc1 @ ..\23.0.0_rc1\bin\aapt.exe not of 22.0.1 @ ..\22.0.1\aapt.exe. so, location of aapt.exe changed, eclipse can't realize that.

so, did android on purpose or carelessly? how solve problem in case of no changing original file structure?

i use eclipse android studio. so, want make sure android sdk ok first, eclipse, don't change structure of sdk

any tips appreciated. in advance.

p.s.:

  • my os windows 7 , mac os x;
  • the version of adt plugin eclipse 23.0.6, date now;
  • also, there error reported popup window when eclipse starts: error: error parsing ...\sdk\system-images\android-22\android-wear\armeabi-v7a\devices.xml cvc-complex-type.2.4.d: found invalid contents started element of "d:skin". child element shouldn't here.

@josecash's answer worked charm. here's solution link in english.

it turns out binaries in build-tools / 23.0.0_rc1 / folder in subfolder called bin, when eclipse not find them in new route, fastest solution create direct link binary folder looking eclipse.

in linux:

$ cd / path / / sdk /build-tools/23.0.0_rc1/ $ ln -s bin/aapt 

in windows: let path sdk build-tools \ 23.0.0_rc1 \ bin \ folder once there click right mouse button on aapt -. create direct link, copy link upper build-tools \ 23.0 folder. 0_rc1 \ , change name aapt.exe

then restart eclipse.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -