จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Android Studio v0.2.x (กรกฎาคม 2013)
- ผสานรวมในการเปลี่ยนแปลงฐานโค้ด IntelliJ ล่าสุด รวมการแก้ไขปัญหาที่ผู้ใช้ Studio รายงาน เช่น การปรับขนาดแบบอักษรและการแสดงผลแบบอักษรใน Linux
- อัปเดตปลั๊กอิน Android Gradle เป็น 0.5.0
ข้อควรระวัง: เวอร์ชันใหม่นี้ไม่สามารถใช้งานร่วมกับเวอร์ชันก่อนหน้าได้
เมื่อเปิดโปรเจ็กต์ที่ใช้ปลั๊กอินเวอร์ชันเก่ากว่า Studio จะแสดงข้อผิดพลาด
ที่ระบุว่ารีเฟรชโปรเจ็กต์ Gradle <project_name> ไม่สำเร็จ
ปลั๊กอิน Gradle ที่อัปเดตแล้วมีการเปลี่ยนแปลงต่อไปนี้
- แก้ไขโมเดล IDE ให้มีไฟล์เอาต์พุตแม้ว่าจะมีการปรับแต่งผ่าน DSL นอกจากนี้
ยังแก้ไข DSL เพื่อรับ/ตั้งค่าไฟล์เอาต์พุตในออบเจ็กต์ตัวแปรเพื่อให้ไม่จำเป็นต้อง
ใช้
variant.packageApplication or variant.zipAlign
- แก้ไขการแก้ปัญหาการขึ้นต่อกันเพื่อให้เราแก้ปัญหาการรวมกันของ (การกำหนดค่าเริ่มต้น
ประเภทบิลด์ รสชาติ) ด้วยกันแทนที่จะแยกกัน
- แก้ไขทรัพยากร Dependency สำหรับการทดสอบโปรเจ็กต์ไลบรารีเพื่อให้รวมทรัพยากร Dependency ทั้งหมดของไลบรารีได้อย่างถูกต้อง
- แก้ไขกรณีที่การอ้างอิง 2 รายการมีชื่อใบเดียวกัน
- แก้ไขปัญหาที่ใช้ไฟล์กฎ Proguard กับ Flavor ไม่ได้
ดูหมายเหตุประจำรุ่นของปลั๊กอิน Gradle ทั้งหมดได้ที่ http://tools.android.com/tech-docs/new-build-system
- ข้อผิดพลาดของ Gradle จาก aapt จะไม่ชี้ไปยังไฟล์เอาต์พุตที่ผสานในโฟลเดอร์ build/ อีกต่อไป แต่จะชี้กลับไปยังตำแหน่งแหล่งที่มาจริง
แทน
- การสร้างแบบคู่ขนาน ตอนนี้คุณใช้การสร้างแบบขนานของ Gradle ได้แล้ว โปรดทราบว่า
การสร้างแบบขนานอยู่ในระยะ "ฟักตัว" (ดูเอกสารประกอบของ
Gradle) ฟีเจอร์นี้ปิดอยู่โดยค่าเริ่มต้น หากต้องการเปิดใช้ ให้ไปที่
ค่ากำหนด > คอมไพเลอร์ แล้วเลือกช่องคอมไพล์
โมดูลอิสระแบบขนาน
- การทำงานเพิ่มเติมในที่เก็บทรัพยากรใหม่ที่ใช้สำหรับการแสดงเลย์เอาต์ ทรัพยากร
การพับในเอดิเตอร์ และอื่นๆ
- การสนับสนุนพื้นฐานสำหรับการอ้างอิงไลบรารี .aar (เช่น การใช้ไลบรารีโดยไม่มีสำเนาแหล่งที่มาในเครื่อง) ยังใช้ไม่ได้สำหรับการตรวจสอบ XML ของทรัพยากรและการไปยังส่วนต่างๆ ในเครื่องมือแก้ไขแหล่งที่มา
- การตรวจจับวงจรในการอ้างอิงทรัพยากร
- ตอนนี้เอกสารฉบับย่อ (F1) ซึ่งแสดงคำแปลทั้งหมดของสตริงภายใต้เครื่องหมายแคร์เร็ต
จะแสดงการวางซ้อนทรัพยากรทั้งหมดจาก Gradle รูปแบบต่างๆ และประเภทบิลด์
รวมถึงไลบรารีด้วย โดยจะแสดงตามลำดับการซ้อนทับทรัพยากรย้อนกลับ พร้อมขีดทับบน
สตริงเวอร์ชันที่มาสก์
- แก้ไขเพื่อจัดการการอัปเดตทรัพยากรที่ผสานเมื่อชุดการอ้างอิงของโมดูล
มีการเปลี่ยนแปลง
- แก้ไขการแสดงผล XML เพื่อจัดการประกาศเอนทิตีอักขระและการหลีก XML และ Unicode อย่างถูกต้อง
- บันทึกการรองรับภาพหน้าจอสำหรับหน้าต่างแสดงตัวอย่างเลย์เอาต์และเครื่องมือแก้ไขเลย์เอาต์
- การแก้ไขข้อบกพร่องของเทมเพลต
- การแก้ไขข้อบกพร่องของ Lint
- การแก้ไขต่างๆ สำหรับรายงานข้อขัดข้อง ขอขอบคุณ และโปรดส่งรายงานข้อขัดข้องต่อไป
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-27 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-08-27 UTC"],[],[],null,["\u003cbr /\u003e\n\nAndroid Studio v0.2.x (July 2013)\n\n- Merged in the latest IntelliJ codebase changes. Includes fixes for issues reported by Studio users such as tweaks to Linux font sizes and font rendering.\n- Android Gradle plug-in updated to 0.5.0. **Caution:** This new version is not backwards compatible.\n When opening a project that uses an older version of the plug-in, Studio will show an error\n stating **Gradle \\\u003cproject_name\\\u003e project refresh failed.**\n\n The updated Gradle plug-in includes the following changes:\n - Fixed IDE model to contain the output file even if it's customized through the DSL. Also fixed the DSL to get/set the output file on the variant object so that it's not necessary to use `variant.packageApplication or variant.zipAlign`\n - Fixed dependency resolution so that we resolved the combination of (default config, build types, flavor(s)) together instead of separately.\n - Fixed dependency for tests of library project to properly include all the dependencies of the library itself.\n - Fixed case where two dependencies have the same leaf name.\n - Fixed issue where Proguard rules file cannot be applied on flavors.\n\n All Gradle plugin release notes are available are here: \u003chttp://tools.android.com/tech-docs/new-build-system\u003e.\n- Gradle errors from aapt no longer point to merged output files in the build/ folder, they point back to the real source locations.\n- Parallel Builds. It's now possible to use Gradle's parallel builds. Please be aware that parallel builds are in \"incubation\" (see [Gradle's\n documentation](http://www.gradle.org/docs/current/userguide/gradle_command_line.html).) This feature is off by default. To enable it, go to **Preferences** \\\u003e **Compiler** and check the box *Compile\n independent modules in parallel*.\n- Further work on the new resource repository used for layout rendering, resource folding in the editor, and more:\n - Basic support for .aar library dependencies (e.g. using a library without a local copy of the sources). Still not working for resource XML validation and navigation in source editors.\n - Cycle detection in resource references.\n - Quick Documentation (F1), which can show all translations of the string under the caret, will now also show all resource overlays from the various Gradle flavors and build types, as well as libraries. They are listed in reverse resource overlay order, with strikethrough on the versions of the string that are masked.\n - Fixes to handle updating the merged resources when the set of module dependencies change.\n - XML rendering fixes to properly handle character entity declarations and XML and unicode escapes.\n- Save screenshot support for the layout preview and layout editor windows.\n- Template bug fixes.\n- Lint bug fixes.\n- Various fixes for crash reports. Thank you, and keep filing crash reports!\n\n\u003cbr /\u003e"]]