Tôi đang cố gắng chạy một ứng dụng từ Android Studio nhưng AVD không khởi động. Nó treo trên 'Waiting for target device to online' mặc dù phần tải giả lập kết thúc (trình giả lập không mở nhưng thanh tiến trình hoàn thành).Chạy AVD từ Android Studio trên Ubuntu 17.04
Output từ thiết bị đầu cuối:
[email protected]:~/Downloads/android-studio/bin$ ./studio.sh
Looking in classpath from [email protected] for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/home/brian/Downloads/android-studio/lib/jna.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /home/brian/.AndroidStudio2.3/system/tmp/jna3898264938984980367.tmp
Found jnidispatch at /home/brian/.AndroidStudio2.3/system/tmp/jna3898264938984980367.tmp
[ 6896] WARN - dea.updater.SdkComponentSource - File /home/brian/.android/repositories.cfg could not be loaded.
Downloading https://services.gradle.org/distributions/gradle-3.3-all.zip
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/brian/.gradle/wrapper/dists/gradle-3.3-all/55gk2rcmfc6p2dg9u9ohc3hw9/gradle-3.3-all.zip to /home/brian/.gradle/wrapper/dists/gradle-3.3-all/55gk2rcmfc6p2dg9u9ohc3hw9
Set executable permissions for: /home/brian/.gradle/wrapper/dists/gradle-3.3-all/55gk2rcmfc6p2dg9u9ohc3hw9/gradle-3.3/bin/gradle
[ 349239] WARN - .workspace.NdkWorkspaceManager - NDK support for project 'Kryptomate' is disabled because it's not a valid Android project
Looking for library 'libnotify.so.4'
Adding paths from jna.library.path: null
Trying libnotify.so.4
Found library 'libnotify.so.4' at libnotify.so.4
[ 403253] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: ExampleUnitTest.java
[ 403254] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: gradle.properties
[ 403254] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: activity_item_detail.xml
[ 403254] WARN - tectAndAdjustIndentOptionsTask - Indent detection is too long for: item_list.xml
[ 645318] WARN - #InstantRun - Instant Run enabled, but not doing an instant run build since: API_TOO_LOW_FOR_INSTANT_RUN
[ 945340] WARN - run.EmulatorConnectionListener - Timed out after 300seconds waiting for emulator to come online.
[ 965742] WARN - #InstantRun - Instant Run enabled, but not doing an instant run build since: API_TOO_LOW_FOR_INSTANT_RUN
Tôi đang chạy trên Ubuntu 17.04 và Android Studio 2.3.3
Tôi đã tìm kiếm cho các vấn đề tương tự và đã cố gắng để cho phép tích hợp adb như đề xuất, không thành công.
Bạn có thể thêm đuôi idea.log của bạn? Đó là trên '~/.AndroidStudioPreview3.0/system' –
@MartinRevert https://pastebin.com/iD2gYD5p – Brian
Dự đoán đầu tiên của tôi là tthat dự án của bạn đang nhắm mục tiêu API 19 và cấp API đó không dành cho các bản dựng chạy tức thì. Tôi đề nghị tăng cấp độ 'minSdkVersion' lên 21 và sử dụng trình giả lập API phù hợp. Nếu điều đó là không thể vì bất kỳ lý do nào, thì hãy tắt 'Chạy tức thì' từ Tệp-> Cài đặt-> Buld, Thực thi & Triển khai -> Chạy tức thì, khởi động lại Android Studio và thử lại. –