I recently upgraded my Android-SDK to Android M (API 22, MNC Preview) . After that, each project reported errors when opening Eclipse.
Error: "Error while executing aapt. Please check that aapt is present on .. \ sdk \ build-tools \ 23.0.0_rc1 \ aapt.exe . "
After checking this * .exe file, I found that "aapt.exe" 23.0.0_rc1 is located in .. \ 23.0.0_rc1 \ bin \ aapt.exe does not look like 22.0.1 on .. \ 22.0.1 \ aapt.exe . Thus, the location of aapt.exe is changed, but Eclipse cannot understand this.
So, did Android do it intentionally or carelessly? How can I solve this problem if the original file structure is changed?
I am using Eclipse as well as Android Studio. So, I want the Android SDK to be OK for AS in the first place, then this is Eclipse, so I do not change the structure of the SDK
Any advice would be appreciated. Thanks in advance.
PS:
- My OS is Windows 7 and Mac OS X ;
- version of the ADT plugin for Eclipse 23.0.6 , which is currently being updated;
- In addition, an error message appears in a pop-up window when Eclipse starts: Error : error analysis ... \ sdk \ system-images \ android-22 \ android-wear \ armeabi-v7a \ devices.xml cvc-complex-type. 2.4.d: Invalid content started with the "d: skin" element found. This child should not be here.
source share