cố gắng chạy
android update sdk -u
trong thiết bị đầu cuối.
Bạn sẽ thấy các bản ghi như thế này trên màn hình của bạn
Installing Archives:
Preparing to install archives
Downloading Android SDK Platform-tools, revision 17
Installing Android SDK Platform-tools, revision 17
Stopping ADB server succeeded.
Installed Android SDK Platform-tools, revision 1799%)
Downloading Android SDK Build-tools, revision 17
Installing Android SDK Build-tools, revision 17
Installed Android SDK Build-tools, revision 1799%)
Downloading ARM EABI v7a System Image, Android API 17, revision 2
(71%, 775 KiB/s, 41 seconds left))
Sau Android SDK được cập nhật thành công, hãy chắc chắn Build Tools được cài đặt.
thể trùng lặp của [Eclipse đưa ra lỗi, mất file R.java sau khi cập nhật gần đây] (http: //stackoverflow.com/questions/16608524/eclipse-giving-error-missing-r-java-file-after-recent-update) – laalto