พบกับ Android Studio สำหรับแพลตฟอร์ม
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Android Studio for Platform (ASfP) เป็นสภาพแวดล้อมในการพัฒนาซอฟต์แวร์แบบผสานรวม (IDE) อย่างเป็นทางการที่ออกแบบมาเพื่อการพัฒนาแพลตฟอร์ม Android โดยเฉพาะ ASfP สร้างขึ้นบนพื้นฐานอันทรงพลังของ IntelliJ IDEA โดยปรับแต่งมาเพื่อเพิ่มประสิทธิภาพการทำงานและปรับปรุงเวิร์กโฟลว์สำหรับวิศวกรที่ทำงานในโปรเจ็กต์โอเพนซอร์ส Android (AOSP)
เหตุผลที่ควรใช้ ASfP
ASfP มีชุดเครื่องมือที่ครอบคลุมซึ่งได้รับการเพิ่มประสิทธิภาพเพื่อความท้าทายเฉพาะตัว
ของการพัฒนาแพลตฟอร์ม ซึ่งนอกเหนือจากการพัฒนาแอป Android มาตรฐาน โดยจะผสานรวมอย่างลึกซึ้งกับโค้ดเบสและระบบบิลด์ของ AOSP เพื่อนำเสนอฟีเจอร์
ที่จะช่วยเร่งกระบวนการพัฒนา
ฟีเจอร์หลัก
การผสานรวม AOSP ที่ราบรื่น: ทำงานร่วมกับโครงสร้างแหล่งที่มาของ AOSP และระบบบิลด์ Soong (ไฟล์ Android.bp
) ได้โดยตรง ซิงค์และจัดการโปรเจ็กต์แพลตฟอร์มที่ซับซ้อนได้อย่างง่ายดาย
การแก้ไขโค้ดอัจฉริยะ: ใช้ประโยชน์จากการเติมโค้ด
การปรับโครงสร้าง และการวิเคราะห์ขั้นสูงสำหรับ Kotlin, Java, C/C++ และ Rust ซึ่งจะช่วยให้คุณ
เขียนโค้ดคุณภาพสูงได้เร็วขึ้น
การแก้ไขข้อบกพร่องที่มีประสิทธิภาพ: แก้ไขข้อบกพร่องของโค้ดแพลตฟอร์ม ซึ่งรวมถึง C/C++ และ Java ด้วย
ฟีเจอร์ต่างๆ เช่น จุดพัก การตรวจสอบตัวแปร และการประเมินนิพจน์
ดูข้อมูลเพิ่มเติมเกี่ยวกับการแก้ไขข้อบกพร่อง
การทดสอบแบบผสานรวม: เรียกใช้คำสั่ง atest
โดยตรงจาก IDE เพื่อ
เรียกใช้การทดสอบแพลตฟอร์มและดูผลลัพธ์ ดูทดสอบโค้ด
แพลตฟอร์ม
การตั้งค่าโปรเจ็กต์ที่ปรับแต่งได้: ปรับขอบเขตโปรเจ็กต์และการกำหนดค่าบิลด์
โดยใช้ไฟล์ .asfp-project
YAML ที่ยืดหยุ่น ดูข้อมูลเพิ่มเติม
เกี่ยวกับการจัดการโปรเจ็กต์
การรองรับภาษา Rust: การรองรับฟีเจอร์หลักสำหรับการพัฒนา Rust ใน AOSP ดูรายละเอียดเพิ่มเติมได้ที่การรองรับ Rust ใน ASfP
ความช่วยเหลือที่ทำงานด้วยระบบ AI: ใช้ Gemini ใน Android Studio เพื่อสร้างโค้ด อัปเดตโค้ด และรับคำตอบสำหรับคำถามเกี่ยวกับการพัฒนา
ทั้งหมดภายในเอดิเตอร์
เริ่มต้นใช้งาน
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-04 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-09-04 UTC"],[],[],null,["Android Studio for Platform (ASfP) is the official Integrated Development\nEnvironment (IDE) designed specifically for Android platform development. Built\non the powerful foundation of IntelliJ IDEA, ASfP is tailored to enhance\nproductivity and streamline workflows for engineers working within the Android\nOpen Source Project (AOSP).\n\nWhy use ASfP?\n\nASfP provides a comprehensive suite of tools optimized for the unique challenges\nof platform development, going beyond standard Android app development. It\nintegrates deeply with the AOSP codebase and build systems, offering features\nthat accelerate your development process.\n\nKey features\n\n- **Seamless AOSP integration:** Works directly with the AOSP source tree and\n the Soong build system (`Android.bp` files). Effortlessly sync and manage\n complex platform projects.\n\n- **Intelligent code editing:** Benefit from advanced code completion,\n refactoring, and analysis for Kotlin, Java, C/C++, and Rust, helping you\n write high-quality code faster.\n\n- **Powerful debugging:** Debug platform code, including C/C++ and Java, with\n features like breakpoints, variable inspection, and expression evaluation.\n Learn more about [debugging](/studio/platform/debug).\n\n- **Integrated testing:** Run `atest` commands directly from the IDE to\n execute platform tests and view results. See [Test your platform\n code](/studio/platform/test).\n\n- **Customizable project setup:** Fine-tune your project scope and build\n configurations using the flexible `.asfp-project` YAML file. Learn more\n about [project management](/studio/platform/projects).\n\n- **Rust language support:** Core feature support for Rust development in\n AOSP. More details at [Rust Support in ASfP](/studio/platform/projects/rust).\n\n- **AI-powered assistance:** Use [Gemini in Android\n Studio](https://developer.android.com/gemini-in-android) for code\n generation, code updates, and to get answers to your development questions,\n all within the editor.\n\nGet started\n\n- [Install Android Studio for Platform](/studio/platform/install)\n- [Create a project](/studio/platform/projects/create-project)\n- See the latest updates in the [Release Notes](/studio/platform/releases)."]]