2020年12月3日 星期四

Android Studio - Android Studio 安裝問題(三)

Android Studio - Android Studio 安裝問題(三):

由於安裝 Android Studio 是一個蠻多功能的 IDE 環境,少不免會有安裝上問題,基本上 IDE 環境安裝是很順利,但到了模擬器便碰到不少問題!要一一面對,所以將問題和解決方法紀錄,方便將來查閱。

Android Studio - Android Studio 安裝問題(三):
  • 操作系統:Windows 7 64-bit 版本
  • 開發環境:Android Studio 4.0.1 版本
  • 電腦:MSI GS60 2QD Ghost 龍魂筆電(Gaming Notebook)
1﹒ HAXM(Hardware Accelerated Execution Manager)device is not found for Window7(20200722)
The Android Emulator has additional requirements beyond the basic system requirements for Android Studio, which are described below:
  • SDK Tools 26.1.1 or higher 64-bit processor
  • Windows: CPU with UG (unrestricted guest) support HAXM 6.2.1 or later (HAXM 7.2.0 or later recommended)
  • Check whether your PC has Virtualization enabled or not Check whether Intel HAXM Installed Properly or Not
  • You may find Avast is the issue!!! If you have Avast installed in your system, you have to:
  • Go to settings tab --> troubleshooting, then you should UNCHECK the "enable hardware-assisted virtualization"
  • Then Restart your PC and install the intelhaxm-android.exe if it is not installed.
  • If you are getting error like this “Failed to configure driver: unknown error. Failed to open driver” while installing haxm then you can try this solution

解決:(20200727)Installed Windows 7 for x64-based Systems (KB4503292) and reinstalled Android Studio。
Open AVD Manager → Edit this AVD→Emulator performance Graphic→Software - GLES 2.0。

2﹒ Android Studio Connect Real Phone(20200727) Android device for testing and debugging over an Android Debug Bridge (ADB) connection

解決:(20200727)
Android Studio Tools → SDK Manager → SDK Tools → Google USB Driver → 打勾 → OK (下載與安裝Google USB Driver) →Finish
Install a USB driver for ADB。For an installation guide and links to OEM drivers, see the Install OEM USB drivers document。
Phone Setting On the mobile phone device,open the Settings,select Developer options,and then enable USB debugging。

3﹒ Setup open file and project directory in Android Studio(20200801)

解決:(20200801)File → Settings → System Settings → Default directory → C:\Development\Development_Android\Android_Project

2020年 12月 3日 天氣報告
氣溫:3.0@ 08:00
相對濕度:百分之 63%
天氣:晴

沒有留言:

張貼留言