Android Studio Cloud (được truy cập thông qua Firebase Studio) giúp nhà phát triển dễ dàng mở các dự án Android Studio ở mọi nơi có kết nối Internet.
Trong khi chúng tôi thử nghiệm các công nghệ truyền phát trực tiếp, bạn sẽ tương tác với một máy ảo (VM) Linux được truyền phát trực tiếp từ xa đang chạy Android Studio trên web.
Bạn có thể mong đợi trải nghiệm người dùng tương tự như khi chạy phiên bản Linux của Android Studio.
Cho dù bạn đang khám phá các dự án mẫu hay truy cập vào các dự án ứng dụng Android hiện có trên GitHub, mục tiêu của chúng tôi là tính năng này có thể đơn giản hoá quy trình phát triển của bạn bằng cách loại bỏ nhu cầu cài đặt cục bộ.
Bạn có thể tận hưởng:
Không gian làm việc chuyên biệt, nơi chúng tôi đã tải sẵn các thành phần SDK Android và IDE Android Studio cần thiết để bạn khám phá và tạo ứng dụng Android
Truy cập vào Android Studio Cloud từ mọi nơi
Có thể tạo nhiều không gian làm việc cùng một lúc
Xem các giải pháp và hạn chế đã biết hiện tại. Chúng tôi muốn tìm hiểu thêm về ý kiến phản hồi của bạn và dần dần bổ sung thêm các chức năng khi Android Studio Cloud tiến triển qua giai đoạn thử nghiệm. Vui lòng báo cáo mọi ý kiến phản hồi và vấn đề thông qua công cụ theo dõi lỗi và khảo sát này.
Nhấp vào Tạo rồi đợi không gian làm việc được khởi tạo.
Sau khi tải, bạn sẽ truy cập vào môi trường Linux của máy ảo nơi Android Studio khởi chạy. Chọn có gửi số liệu phân tích cho Google hay không.
Để bắt đầu một dự án mới hoặc mở một dự án lần đầu tiên, hãy tạo Dự án mới, Lấy từ VCS hoặc nhấp vào Thao tác khác rồi chọn Nhập mẫu mã Android để bắt đầu với một dự án Android.
Ví dụ: bạn có thể chọn New Project (Dự án mới) rồi mở một Empty Activity (Hoạt động trống).
Sau đó, bạn sẽ chuyển sang Android Studio và có thể thử các tác vụ phát triển mà bạn thường làm:
Tạo dự án mới
Nhập dự án từ Git hoặc GitHub
Chỉnh sửa đoạn mã
Tạo bản xem trước
Triển khai đến trình mô phỏng
Sử dụng trình gỡ lỗi, trình kiểm tra bố cục, trình phân tích tài nguyên và nhiều công cụ khác
Bạn có thể truy cập vào nhiều dịch vụ tương tự trong Android Studio Cloud như trên phiên bản dành cho máy tính. Hãy thử những quy trình phổ biến sau:
Triển khai ứng dụng trên một thiết bị ảo hoặc thiết bị thực.
Nếu triển khai cho trình mô phỏng Android, bạn nên sử dụng Pixel 8a API 35 (được định cấu hình sẵn) hoặc Small Phone API 35. Chúng tôi nhận thấy hai thiết bị này hoạt động hiệu quả hơn các trình mô phỏng khác. Các trình mô phỏng khác thường rất chậm (đặc biệt là khi khởi động lần đầu) do tính năng ảo hoá lồng nhau.
Ngoài ra, bạn có thể triển khai đến một thiết bị thực tế bằng cách sử dụng Tính năng truyền phát trực tiếp thiết bị Android, do Firebase cung cấp. Việc chạy ứng dụng trên một thiết bị thực sẽ nhanh hơn so với trên trình mô phỏng.
Dùng thử Gemini trong Android Studio. Đặt câu hỏi, nhận sự hỗ trợ của AI để hoàn thành đoạn mã, nhận đề xuất về mã và nhiều lợi ích khác.
Đưa mã của bạn vào Android Studio Cloud từ một hệ thống quản lý phiên bản bằng cách sử dụng Get from VCS (Lấy trên VCS) trong hộp thoại chào mừng. Để biết thêm thông tin về cách nhập dự án từ Git, hãy xem phần Thiết lập kho lưu trữ Git trong tài liệu của IntelliJ.
Chỉ có phiên bản ổn định mới nhất của Android Studio.
Nếu bạn đang đăng nhập vào Android Studio, thì những tài khoản yêu cầu xác thực vật lý hai yếu tố sẽ không hoạt động. Nếu được hỗ trợ, hãy cân nhắc sử dụng các phương thức thay thế, chẳng hạn như các ứng dụng xác thực như Google Authenticator.
Trình mô phỏng Android sẽ khởi động chậm trong lần đầu tiên. Bạn nên để bản sao lưu này chạy trong khoảng 10 phút sau khi tạo lần đầu tiên trước khi triển khai ứng dụng của bạn vào đó.
Bạn không thể triển khai cho một thiết bị thực tế Android cục bộ.
Đôi khi, cửa sổ bật lên "Chọn mật khẩu cho chuỗi khoá mới" sẽ xuất hiện. Khi điều này xảy ra, hãy nhấp vào Huỷ để đóng cửa sổ.
Hiện tại, hãy bỏ qua các cửa sổ bật lên liên quan đến bản cập nhật của máy Linux.
Cách tải APK xuống từ Android Studio Cloud:
Nhấp vào Locate (Xác định vị trí) sau khi bạn tạo một tệp APK.
Thao tác này sẽ đưa bạn đến vị trí của APK.
Tải APK lên dịch vụ lưu trữ đám mây (ví dụ: Google Drive) mà bạn chọn bằng Chrome.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Android Studio Cloud\n\n[Try Android Studio Cloud](https://studio.firebase.google.com/new/android-studio)\n| **Note:** **Android Studio Cloud** is in the experimental phase. Its features and capabilities are subject to change substantially.\n\n[Android Studio Cloud](https://studio.firebase.google.com/new/android-studio),\naccessed through [Firebase Studio](https://studio.firebase.google.com/), enables developers to\nconveniently open Android Studio projects anywhere with an internet connection.\nWhile we're experimenting with streaming technologies, you'll be interacting\nwith a remotely streamed Linux virtual machine (VM) running Android Studio on\nthe web.\nExpect a user experience similar to running the Linux version of Android Studio.\n\nWhether it's exploring sample projects or accessing existing Android app\nprojects on GitHub, our goal is that this feature can streamline your\ndevelopment workflow by eliminating the need for local installations.\n\nYou can expect:\n\n- Dedicated workspaces in which we have pre-downloaded the necessary Android SDK components and Android Studio IDE for you to explore and build your Android app\n- Access to your Android Studio Cloud from anywhere\n- The ability to create multiple workspaces at once\n\nSee the current [known limitations and workarounds](/studio/preview/android-studio-cloud#known-issues-and-workarounds). We wish to learn more\nabout your feedback and gradually add more capabilities as Android Studio Cloud\nprogresses through the experimental stage. Please report any feedback and issues\nthrough the [issue tracker](/studio/report-bugs) and this [survey](https://forms.gle/QEjcFbZJCNjcRde58).\n\n*** ** * ** ***\n\nGet started\n-----------\n\n| Steps ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Try Android Studio Cloud](https://studio.firebase.google.com/new/android-studio) and name your workspace. | |\n| Click **Create** and wait for the workspace to be initialized. | |\n| Once loaded, you will land in the VM linux environment where Android Studio launches. Choose whether or not you would like to send analytics to Google. | |\n| To start a new project or open a project for the first time, either create a **New Project, Get from VCS** , or click **More Actions** and select **Import an Android Code Sample** to get started with an Android project. | |\n| As an example, you can select **New Project** and open an **Empty Activity**. | |\n| You will then land in Android Studio, and you can try development tasks that you would usually do: - Create a new project - Import projects from Git or GitHub - Edit code - Create previews - Deploy to an emulator - Use the debugger, layout inspector, profiler, and more - Leverage AI in your development workflow with [Gemini in Android Studio](/gemini-in-android) When you're working, be aware of current [known limitations and workarounds](/studio/preview/android-studio-cloud#known-issues-and-workarounds). | |\n\n*** ** * ** ***\n\nWorkflows to try\n----------------\n\nYou can access many of the same services in Android Studio Cloud as on the\ndesktop version. Try these common workflows:\n\n- Deploy your app on a virtual or physical device.\n\n - If you deploy to the [Android emulator](/studio/run/emulator), we recommend using the **Pixel 8a API 35** (that is pre-configured) or **Small Phone API 35**. We've found that these two devices work better than other emulators, which are generally very slow---especially on first start---due to nested virtualization.\n\n - Alternatively, you can deploy to a physical device by using [Android Device Streaming](/studio/run/android-device-streaming), powered by Firebase. Running the app on a real device should be faster than an emulator.\n- Try [Gemini in Android Studio](/gemini-in-android). Ask questions, get AI-assisted code\n completion, get code suggestions, and more.\n\n- Get your code into Android Studio Cloud from a version control system using\n **Get from VCS** from the welcome dialog. For\n more information about importing projects from Git, see\n [Set up a Git repository](https://www.jetbrains.com/help/idea/set-up-a-git-repository.html) in the IntelliJ documentation.\n\n*** ** * ** ***\n\nKnown issues and workarounds\n----------------------------\n\n- To interact with Android Studio Cloud you must use a [Linux keyboard mapping](https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf).\n- Only the latest stable version of Android Studio is available.\n- If you are logging into Android Studio, accounts that require **physical** two factor authentication won't work. Consider using alternative methods, if supported, for example authenticator apps like [Google Authenticator](https://support.google.com/accounts/answer/1066447?co=GENIE.Platform%3DAndroid).\n- The Android Emulator will be slow to boot up for the first time. We recommend letting it run for about 10 minutes after you first create it before deploying your app to it.\n- You can't deploy to a local Android physical device.\n- Sometimes the \"Choose password for new keyring\" popup appears. When this happens, click **Cancel** to close it.\n\n- Ignore popups related to updates from the Linux machines for now.\n\n- To download APK from Android Studio Cloud:\n 1. Click **Locate** after you generated an APK.\n 2. This will take you to the APK location.\n 3. Upload the APK to the cloud storage services (e.g. Google Drive) of your choice using Chrome."]]