Android XR 開發目前一定要用 Canary 版本!

紅寶鐵軌客
Join to follow...
Follow/Unfollow Writer: 紅寶鐵軌客
By following, you’ll receive notifications when this author publishes new articles.
Don't wait! Sign up to follow this writer.
WriterShelf is a privacy-oriented writing platform. Unleash the power of your voice. It's free!
Sign up. Join WriterShelf now! Already a member. Login to WriterShelf.
寫程式中、折磨中、享受中 ......
27   0  
·
2025/09/12
·
2 mins read


我要來好好玩玩 Android XR 了,我喜歡這個東東,螢幕可以隨身走,我有很多好玩的想法。

VR 我不喜歡,會擔心被人踢屁股都不知道,而且我認爲 VR 要好用,可能要等 8K 240Hz,但是 AR 就不同了,就算只能顯示字幕都好玩,實體裝置目前都還不成熟,也許是進場學習的時間點。 

學習不成熟的技術,環境要越簡單越好,不要花大錢,還給自己找麻煩,Apple、Meta 都好貴,所以我就來學 Android XR,一台電腦就可以了,這應該是目前最簡單的 XR 學習環境了。

我的開發環境:Apple MacBook Air M4, 16G Ram, 512GB SSD, 一台很基本的機器。

Android XR 有很好的學習入口網站:https://developer.android.com/develop/xr,這裡面有我比較熟悉的 Jetpack,我就從 Jetpack XR SDK 開始吧!學習文件有中英多國語言,所以我也不用在此廢言重複,浪費時間,這裡記錄的是我的失敗歷程,分享,讓有緣人省點時間,希望有幫助。

我的第一課就是:請務必照著文件一步一步走,不要亂跳,我就是亂走跳的那一個,結果浪費兩天,因為我沒有照著文件安裝最新版 Android Studio 的「Canary」版,我裝了一個穩定版,結果執行時就被:

java.lang.NoSuchMethodError: No virtual method createSystemRendererConnection(...)

困了一整天,還好 Githut 也有同人問,「Canary」版一裝,問題解決。

另外:Android Studio 的「Canary」版安裝後會是 Android Studio Preview,所以跟正式版不會打架,可以安心服用。




WriterShelf™ is a unique multiple pen name blogging and forum platform. Protect relationships and your privacy. Take your writing in new directions. ** Join WriterShelf**
WriterShelf™ is an open writing platform. The views, information and opinions in this article are those of the author.


Article info

This article is part of:
Tags:
Total: 409 words


Share this article:
About the Author

很久以前就是個「寫程式的」,其實,什麼程式都不熟⋯⋯
就,這會一點點,那會一點點⋯⋯




Join the discussion now!
Don't wait! Sign up to join the discussion.
WriterShelf is a privacy-oriented writing platform. Unleash the power of your voice. It's free!
Sign up. Join WriterShelf now! Already a member. Login to WriterShelf.