วิธีแก้ไข Error: AndroidManifest.xml doesn’t exists or has incorrect root tag ใน Android Studio

เนื่องด้วย Reboot เครื่อง Mac พอมาเปิด Android Studio และ Import Project เข้ามา แต่เมื่อลองรันดูดันขึ้นข้อความ “Error: AndroidManifest.xml doesn’t exists or has incorrect root tag” ดังรูปด้านล่าง

Screen Shot 2557-12-17 at 12.05.47 PM

วิธีแก้ไขคือให้ Sync project with Gradle files ใหม่อีกรอบคลิกที่ไอคอนตามด้านล่างนี้ครับ

Screen Shot 2557-12-17 at 12.09.05 PM

 

รอสักครู่ในการ build ช้าเร็วอยู่ที่ขนาดไฟล์และความเร็วเน็ต ถ้าขึ้นข้อความ “Gradle build finished … ” แสดงว่าเสร็จเรียบร้อยแล้วครับ

Screen Shot 2557-12-17 at 12.16.31 PM

 

หวังว่าคงมีประโยชน์เล็กๆน้อยสำหรับผู้ที่เจอปัญหานี้นะครับ