บันทึกประจำรุ่น SDK
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คำเตือน: Google Play Instant จะไม่มีให้บริการอีกต่อไป ตั้งแต่เดือนธันวาคม 2025 เป็นต้นไป
คุณจะไม่สามารถเผยแพร่ Instant Apps ผ่าน Google Play ได้ และ Instant API ของบริการ Google Play
ทั้งหมดจะหยุดทำงาน Play จะไม่แสดงแอปด่วนต่อผู้ใช้โดยใช้กลไกใดๆ อีกต่อไป
เราทำการเปลี่ยนแปลงนี้ตามความคิดเห็นของนักพัฒนาแอปและการลงทุนอย่างต่อเนื่อง
เพื่อปรับปรุงระบบนิเวศตั้งแต่เปิดตัว Google Play Instant
เราขอแนะนำให้นักพัฒนาแอปนำผู้ใช้ไปยัง
แอปหรือเกมปกติของตนโดยใช้ Deep Link
เพื่อเปลี่ยนเส้นทางผู้ใช้ไปยังเส้นทางหรือฟีเจอร์ที่เฉพาะเจาะจงเมื่อเกี่ยวข้อง เพื่อเพิ่มประสิทธิภาพในการเพิ่มผู้ใช้อย่างต่อเนื่อง
SDK สำหรับการพัฒนา Google Play Instant v1.9.0 (05-09-2019)
SDK สำหรับการพัฒนา Google Play Instant รุ่นนี้มีการเปลี่ยนแปลงต่อไปนี้
การเปลี่ยนแปลง
- ตอนนี้ CLI ของ Instant Apps จะทำงานได้อย่างถูกต้องเมื่อเรียกใช้ผ่านลิงก์สัญลักษณ์
- ใน SDK เวอร์ชันก่อนหน้า การเปิดแอปที่มี minSdkVersion < 24
และลงนามด้วย Signature Scheme v2 เท่านั้นจะทําให้เกิดข้อผิดพลาดเสมอ การเปลี่ยนแปลงนี้
แก้ไขทั้ง
ia run
และคำสั่งเรียกใช้ของ Android Studio เพื่อให้ข้อผิดพลาด
จะเกิดขึ้นก็ต่อเมื่อเวอร์ชัน API ของอุปกรณ์ที่เชื่อมต่อเก่าเกินกว่าที่จะรองรับ
ลายเซ็น v2
SDK การพัฒนา Google Play Instant v1.8.0 (05-08-2019)
SDK สำหรับการพัฒนา Google Play Instant รุ่นนี้มีการเปลี่ยนแปลงต่อไปนี้
การเปลี่ยนแปลง
- คำสั่ง
ia run
ของ CLI สำหรับแอปด่วนสามารถทำให้ใช้งานได้เฉพาะแอปด่วนที่ลงชื่อโดยใช้ Signature Scheme v2 เท่านั้น
- ตอนนี้คำสั่ง
ia run -u [url]
ของ CLI สำหรับแอปด่วนจะทำงานได้โดยไม่ต้อง
ติดตั้งใช้งานอาร์ติแฟกต์
SDK การพัฒนา Google Play Instant v1.7.0 (29-03-2019)
SDK การพัฒนา Google Play Instant รุ่นนี้มีฟีเจอร์ใหม่และการเปลี่ยนแปลงต่อไปนี้
ฟีเจอร์ใหม่
- ตอนนี้ CLI ของแอปด่วนสามารถรวบรวมเมตริกการใช้งานได้โดยได้รับความยินยอมจากคุณ ซึ่งจะช่วยให้ทีมพัฒนาของ Google เข้าใจได้ดียิ่งขึ้นว่าฟีเจอร์ใดที่คุณเห็นว่ามีประโยชน์ และปรับปรุงข้อบกพร่องในเครื่องมือของเรา
- ตอนนี้คำสั่ง
ia check
รองรับการตรวจสอบกับบิลด์ที่ติดตั้งได้ของ
แอปเดียวกันเพื่อดูความไม่เข้ากันของเส้นทางการอัปเกรดทั่วไปแล้ว คุณระบุ APK ของแอปที่ติดตั้งได้โดยใช้ตัวเลือก -i
การเปลี่ยนแปลง
- คำสั่ง
ia run
ของ CLI สำหรับ Instant App ไม่จำเป็นต้องใช้บัญชี Google
ที่ใช้งานอยู่ในอุปกรณ์เพื่อเปิดใช้ Instant App ในโหมดการพัฒนาอีกต่อไป
Google Play Instant Development SDK v1.6.0 (05-11-2018)
SDK การพัฒนา Google Play Instant รุ่นนี้มีฟีเจอร์ใหม่และการเปลี่ยนแปลงต่อไปนี้
ฟีเจอร์ใหม่
- ตอนนี้คำสั่ง
ia check
ของ CLI สำหรับ Instant App รองรับการตรวจสอบขนาดในชุด APK (.apks
) ที่สร้างจาก
bundletool
แล้ว
การเปลี่ยนแปลง
- ในอุปกรณ์ที่ใช้ Android 8.0 (API ระดับ 26) ขึ้นไป การเรียกใช้ Instant App ที่มีคีย์ Signing ไม่ตรงกับคีย์จากแอปที่เปิดก่อนหน้านี้ในอุปกรณ์จะไม่ทำให้เกิดข้อขัดข้องใน Android Studio หรือ CLI อีกต่อไป
- เปลี่ยนข้อจำกัดด้านขนาดของ Instant App จาก 4 MB เป็น 10 MB
ตอนนี้แอปที่มีขนาดใหญ่กว่า 4 MB จะได้รับ
WARNING
แทน ERROR
แอปที่มีขนาดใหญ่กว่า 10 MB จะยังคงได้รับ ERROR
SDK การพัฒนา Google Play Instant v1.5.0 (27-09-2018)
SDK การพัฒนา Google Play Instant รุ่นนี้มีฟีเจอร์ใหม่และการเปลี่ยนแปลงต่อไปนี้
ฟีเจอร์ใหม่
- ตอนนี้คำสั่ง CLI
ia run
และ ia check
ของ Instant App รองรับการดำเนินการกับไฟล์ชุด APK (.apks) ที่สร้างโดย bundletool
แล้ว
- ตอนนี้ CLI ของ Instant App
ia check
ทำงานร่วมกับรายการ APK ได้แล้ว
- คำสั่ง
ia check
ของ CLI สำหรับ Instant App ช่วยให้มั่นใจได้ว่าชื่อของ APK ที่แยกจะ
ไม่ซ้ำกันภายในไฟล์ ZIP ที่กำหนด
การเปลี่ยนแปลง
- เมื่อจัดสรรอุปกรณ์ที่ใช้ Android 7.1.1 (API ระดับ 25) หรือต่ำกว่า CLI จะแสดงคำเตือนก็ต่อเมื่อตรวจไม่พบการเช็คอินบริการ Google Play ที่สำเร็จ เมื่อพบสถานการณ์นี้ก่อนหน้านี้ CLI จะ
แสดงข้อผิดพลาดและไม่พยายามเปิดใช้ Instant App
- ตอนนี้ CLI ของ Instant Apps
ia run
สามารถเปิดตัว APK ที่สร้างโดย
bundletool
หรือ APK ที่สร้างโดยใช้ aapt2
ได้อย่างราบรื่นแล้ว ก่อนหน้านี้ run
operation
อาจหมดเวลาเมื่อเปิดใช้ APK บางรายการ
- เราเลิกใช้งานแฟล็ก
--no-setup
สำหรับ ia run
แล้ว และตอนนี้ไม่มีผลใดๆ
- อัปเดตบริการ Google Play สำหรับแอปทันใจเวอร์ชันเก่าอย่างถูกต้อง
ซึ่งต้องถอนการติดตั้งก่อนจึงจะติดตั้งเวอร์ชันใหม่ได้
SDK การพัฒนา Google Play Instant v1.4.0 (28-08-2018)
SDK การพัฒนา Google Play Instant (เดิมคือ SDK การพัฒนา Instant Apps
) รุ่นนี้มีฟีเจอร์ใหม่และการเปลี่ยนแปลงต่อไปนี้
ฟีเจอร์ใหม่
- ตอนนี้คำสั่ง
ia check
ของ CLI สำหรับ Instant App รองรับการตรวจสอบขนาดใน
Instant App ที่ใช้ APK การกำหนดค่าแล้ว
- ตอนนี้ CLI รองรับการเรียกใช้แอปด่วนในอิมเมจโปรแกรมจำลองที่มีคีย์ทดสอบโดยติดตั้งบริการ Google Play เวอร์ชันล่าสุดแล้ว
- ปรับปรุงการรองรับความช่วยเหลือเฉพาะคำสั่งด้วย
ia help <command>
- เพิ่มรายละเอียดขนาดลงในข้อผิดพลาดเกี่ยวกับขนาด
ia check
การเปลี่ยนแปลง
- เราได้เปลี่ยนชื่อ SDK จาก "Android Instant Apps Development SDK" เป็น
"Google Play Instant Development SDK"
- CLI จะไม่แสดง
NullPointerException
อีกต่อไปเมื่อพยายามตรวจสอบแอป
ที่ไม่มีกิจกรรมตัวเรียกใช้
- ตอนนี้ CLI และ Android Studio จะตรวจหาอุปกรณ์ที่ไม่รองรับซึ่งใช้ Android 8.0
(API ระดับ 26) ได้แล้ว ก่อนหน้านี้ อุปกรณ์เหล่านี้จะไม่เปิดแอป
- ตอนนี้สคริปต์ Wrapper
ia
Bash ทำงานได้อย่างถูกต้องเมื่อเรียกใช้ในไปป์ไลน์
ที่ไม่ได้ตั้งค่า $TERM
สคริปต์จะถือว่ามีความกว้าง 80 คอลัมน์
- ตอนนี้คำสั่ง
ia check
จะแสดงคำเตือนเกี่ยวกับแอปด่วนที่มีminSdkVersion
เวอร์ชันตั้งค่าเป็น 20
หรือต่ำกว่า การรองรับ SDK เวอร์ชันเก่าเหล่านี้ในบิลด์อาจทำให้ไบนารีมีขนาดเพิ่มขึ้นโดยไม่มีประโยชน์สำหรับ Instant App
- ตอนนี้ CLI จะตรวจหาเมื่อบริการ Google Play เวอร์ชันของคุณเก่าเกินไปที่จะ
เรียกใช้แอปด่วน และแจ้งให้อัปเดตในอุปกรณ์
- Instant Apps ที่เปิดตัวใน Android 8.0 (API ระดับ 26) ขึ้นไปผ่าน CLI
หรือ Android Studio จะมี
android.permission.INSTANT_APP_FOREGROUND_SERVICE
สิทธิ์ที่ได้รับโดยอัตโนมัติ
Android Instant Apps Development SDK v1.3.0 (04-06-2018)
SDK สำหรับพัฒนา Android Instant Apps รุ่นนี้
มีฟีเจอร์ใหม่และการเปลี่ยนแปลงต่อไปนี้
ฟีเจอร์ใหม่
- ตอนนี้ Android Studio 3.2 ใช้ไลบรารีที่เพิ่มใน SDK 1.3 เพื่อเรียกใช้ Instant App
ซึ่งจะรวมตรรกะระหว่าง
ia
กับ Studio และช่วยให้คุณเรียกใช้ Instant App โดยไม่ต้องใช้ URL จาก Android Studio ได้
Android Instant Apps Development SDK v1.2.0 (07-05-2018)
SDK สำหรับพัฒนา Android Instant Apps รุ่นนี้
มีฟีเจอร์ใหม่และการเปลี่ยนแปลงต่อไปนี้
ฟีเจอร์ใหม่
- อินเทอร์เฟซบรรทัดคำสั่งของ Instant Apps ใหม่
ia
ช่วยให้คุณเปิดใช้
Instant Apps ในอุปกรณ์พัฒนาและตรวจสอบข้อผิดพลาดทั่วไปได้ในเครื่อง
- ตอนนี้คุณสร้างและเปิดตัว Instant App ได้โดยไม่ต้องมีจุดแรกเข้าของ URL
การเปลี่ยนแปลง
- ตอนนี้เวอร์ชันของบริการ Google Play สำหรับแอปด่วนที่มาพร้อมกับ
SDK สามารถอัปเดตตัวเองโดยอัตโนมัติโดยใช้ Play Store ได้แล้ว ในรุ่นก่อนหน้า
แพ็กเกจดังกล่าวจะล็อกไว้กับเวอร์ชันที่มาพร้อมกับ SDK
- ตอนนี้โหมดการพัฒนา
รองรับชื่อโฮสต์ที่มีอักขระไวลด์การ์ด เช่น
"*.example.com"
อย่างเต็มรูปแบบแล้ว
- ตอนนี้ นักพัฒนาแอปสามารถจำลองการดาวน์โหลดแอปที่ถูกจำกัดใน Android Lollipop,
Marshmallow และ Nougat ได้โดยการตั้งค่าพร็อพเพอร์ตี้
debug.aia.throttle_download_ms
ระบบ
ดังตัวอย่างต่อไปนี้
$ adb shell setprop debug.aia.throttle_download_ms 5000
Android Instant Apps Development SDK v1.1.0
SDK สำหรับพัฒนาแอปด่วน Android รุ่นนี้มีฟีเจอร์ใหม่และการเปลี่ยนแปลงต่อไปนี้
ฟีเจอร์ใหม่
- การโอนข้อมูลจาก Instant Apps ไปยังแอปที่ติดตั้ง
- ในอุปกรณ์ที่ใช้ Android 8.0 (API ระดับ 26) ขึ้นไป ระบบจะทำการโอนนี้โดยอัตโนมัติเมื่อติดตั้งแอป
ในอุปกรณ์ที่ใช้ Android 7.1 (API ระดับ 25) และต่ำกว่า คุณสามารถโอนข้อมูลพื้นที่เก็บข้อมูลของ Instant App ไปยังแอปที่ติดตั้งได้โดยเรียกใช้
getInstantAppData()
ในแอปที่ติดตั้ง
- คุณลดขนาด APK ได้โดยใช้การรองรับใหม่สำหรับ
APK เฉพาะอุปกรณ์ ดูข้อมูลเกี่ยวกับการตั้งค่าบิลด์สำหรับ
APK การกำหนดค่าได้ที่
ตั้งค่าบิลด์สำหรับ APK การกำหนดค่า
การเปลี่ยนแปลง
- โปรแกรมจำลอง
- คุณต้องมีโปรแกรมจำลองที่เรียกใช้ Play Store และบริการ Google Play เวอร์ชันล่าสุด
เพื่อทดสอบ Instant App ต่อไป ดูข้อมูลเกี่ยวกับวิธีตั้งค่า
โปรแกรมจำลองได้ที่เรียกใช้แอปด่วน
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-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-07-27 UTC"],[],[],null,["# SDK release notes\n\n**Warning:** Google Play Instant will no longer be available. Starting December 2025,\nInstant Apps cannot be published through Google Play, and all\n[Google Play services Instant APIs](https://developers.google.com/android/reference/com/google/android/gms/instantapps/package-summary)\nwill no longer work. Users will no longer be served Instant Apps by Play using any\nmechanism.\n\nWe're making this change based on developer feedback and our continuous investments\nto improve the ecosystem since the introduction of Google Play Instant.\n\nTo continue optimizing for user growth, we encourage developers to refer users to\ntheir regular app or game, using [deeplinks](https://support.google.com/googleplay/android-developer/answer/12463044)\nto redirect them to specific journeys or features when relevant.\n\nGoogle Play Instant Development SDK v1.9.0 (2019-09-05)\n-------------------------------------------------------\n\nThis release of the Google Play Instant Development SDK contains the following\nchanges.\n\n### Changes\n\n- The instant apps CLI will now run properly when invoked through a symbolic link.\n- In the previous version of the SDK, launching an app with minSdkVersion \\\u003c 24 and signed only with the v2 signature scheme would always cause an error. This change fixes both `ia run` and Android Studio's run command so that an error will only occur if the connected device's API version is too old to support v2 signatures.\n\nGoogle Play Instant Development SDK v1.8.0 (2019-08-05)\n-------------------------------------------------------\n\nThis release of the Google Play Instant Development SDK contains the following\nchanges.\n\n### Changes\n\n- The instant apps CLI `ia run` command can deploy instant apps that are only signed using a v2 signature scheme.\n- The instant apps CLI `ia run -u [url]` command now works without deploying an artifact.\n\nGoogle Play Instant Development SDK v1.7.0 (2019-03-29)\n-------------------------------------------------------\n\nThis release of the Google Play Instant Development SDK contains the following\nnew features and changes.\n\n### New features\n\n- The instant apps CLI can now collect usage metrics with your consent, allowing Google's developer team to better understand what features you find useful and improve shortcomings in our tooling.\n- The `ia check` command now supports checking against an installable build of the same app for common upgrade path incompatibilities. You can provide the installable app APK using the `-i` option.\n\n### Changes\n\n- The instant apps CLI `ia run` command no longer requires an active Google account on the device to launch instant apps in development mode.\n\nGoogle Play Instant Development SDK v1.6.0 (2018-11-05)\n-------------------------------------------------------\n\nThis release of the Google Play Instant Development SDK contains the following\nnew features and changes.\n\n### New features\n\n- The instant apps CLI `ia check` command now supports size checking on APK set files (`.apks`) generated from [`bundletool`](/studio/command-line/bundletool#generate_apks).\n\n### Changes\n\n- On devices running Android 8.0 (API level 26) or higher, running an instant app whose signing key doesn't match the key from any previously-launched app on the device no longer causes a crash in Android Studio or the CLI.\n- Changed the size limitation of instant apps from 4 MB to 10 MB. An app larger than 4 MB now receives a `WARNING` instead of an `ERROR`. An app larger than 10 MB continues to receive an `ERROR`.\n\nGoogle Play Instant Development SDK v1.5.0 (2018-09-27)\n-------------------------------------------------------\n\nThis release of the Google Play Instant Development SDK contains the following\nnew features and changes.\n\n### New features\n\n- The instant apps CLI `ia run` and `ia check` commands now support operating on APK set (.apks) files generated by [`bundletool`](/studio/command-line/bundletool#generate_apks).\n- The instant apps CLI `ia check` command now works with a list of APKs.\n- The instant apps CLI `ia check` command ensures that names of split APKs are unique within a given ZIP file.\n\n### Changes\n\n- When provisioning a device running Android 7.1.1 (API level 25) or lower, the CLI issues a warning only if it fails to detect a successful Google Play services check-in. When encountering this situation previously, the CLI would throw an error and not attempt to launch the instant app.\n- The instant apps CLI `ia run` can now successfully launch APKs generated by `bundletool` or APKs built using `aapt2`. Previously, the `run` operation might have appeared to time out when launching some of these APKs.\n- The `--no-setup` flag has been deprecated for `ia run` and now has no effect.\n- Properly updates older versions of Google Play services for Instant Apps, which need to be uninstalled first before installing a new version.\n\nGoogle Play Instant Development SDK v1.4.0 (2018-08-28)\n-------------------------------------------------------\n\nThis release of the Google Play Instant Development SDK (formerly Instant Apps\nDevelopment SDK) contains the following new features and changes.\n\n### New features\n\n- The instant apps CLI `ia check` command now supports size validation on instant apps using configuration APKs.\n- The CLI now supports running instant apps on test-keys emulator images with a recent version of Google Play services installed.\n- Improved support for command-specific help with `ia help \u003ccommand\u003e`.\n- Added size breakdown to `ia check` size errors.\n\n### Changes\n\n- The SDK has been renamed from \"Android Instant Apps Development SDK\" to \"Google Play Instant Development SDK\".\n- The CLI no longer throws a `NullPointerException` when trying to check an app with no launcher activity.\n- The CLI and Android Studio now detect unsupported devices running Android 8.0 (API level 26). Previously, these devices wouldn't launch the app.\n- The `ia` Bash wrapper script now works correctly when invoked in a pipeline where `$TERM` isn't set. The script assumes a width of 80 columns.\n- The `ia check` command now warns about instant apps whose `minSdkVersion` version is set to `20` or lower. By supporting these older SDK versions in your build, your binary's size might increase with no benefit for your instant apps.\n- The CLI now detects when your version of Google Play services is too old to run instant apps and prompts for an update on the device.\n- Instant apps launched on Android 8.0 (API level 26) and higher through the CLI or Android Studio now automatically have the `android.permission.INSTANT_APP_FOREGROUND_SERVICE` permission granted.\n\nAndroid Instant Apps Development SDK v1.3.0 (2018-06-04)\n--------------------------------------------------------\n\nThis release of the Android Instant Apps Development SDK\ncontains the following new features and changes.\n\n### New features\n\n- Android Studio 3.2 now uses a library added in SDK 1.3 to run instant apps. This unifies the logic between `ia` and Studio and allows you to run instant apps without URLs from Android Studio.\n\nAndroid Instant Apps Development SDK v1.2.0 (2018-05-07)\n--------------------------------------------------------\n\nThis release of the Android Instant Apps Development SDK\ncontains the following new features and changes.\n\n### New features\n\n- The new Instant Apps Command Line Interface, `ia`, allows you to launch instant apps on your development device and check them locally for common errors.\n- You can now build and launch instant apps [without a URL entry\n point](/topic/google-play-instant/getting-started/convert-to-instant-app#enable-try-now).\n\n### Changes\n\n- The version of Google Play Services for Instant Apps that's bundled with the SDK can now auto-update itself using the Play Store. In previous releases, that package was locked to the version bundled with the SDK.\n- Hostnames containing wildcard characters, such as `\"*.example.com\"`, are now fully supported in development mode.\n- Developers can now simulate throttled app downloads in Android Lollipop, Marshmallow, and Nougat by setting the `debug.aia.throttle_download_ms` system property, as shown in the following example: \n\n ```\n $ adb shell setprop debug.aia.throttle_download_ms 5000\n ```\n\nAndroid Instant Apps Development SDK v1.1.0\n-------------------------------------------\n\nThis release of the Android Instant Apps Development SDK contains the following\nnew features and changes.\n\n### New features\n\n- Transfer of data from Instant App to installed app.\n - On devices running Android 8.0 (API level 26) and above, the system automatically performs this transfer on app installation. On devices running Android 7.1 (API level 25) and lower, you can transfer your Instant App's storage data to your installed app by calling [`getInstantAppData()`](https://developers.google.com/android/reference/com/google/android/gms/instantapps/InstantAppsClient.html#getInstantAppData()) in your installed app.\n- You can decrease the size of your APK by using the new support for device-specific APKs. For information on setting up your build for configuration APKs, see [Set up your build for configuration APKs](/topic/google-play-instant/guides/config-splits).\n\n### Changes\n\n- Emulator.\n - Emulators running Play Store and the latest Google Play Services are required to test Instant Apps moving forward. For information about how to set up your emulator, see [Run your instant\n app](/topic/google-play-instant/getting-started/first-instant-app#run)."]]