您的位置: 首页 > 文章 > 解決 Android API 16 (4.1.2) 模擬器的 Failed to allocate memory 錯誤 解決 Android API 16 (4.1.2) 模擬器的 Failed to allocate memory 錯誤 分类: 文章 • 2024-02-25 08:15:22 指定記憶體數量 在Project上點擊滑鼠右鍵,在「Run As」內選擇「Run Configurations…」。 在「Target」內的「Additional Emulator Command Line Options」輸入︰ 1 -memory 512 強行將模擬器的記憶體設定為512MB。之後按下「Apply」,然後再按「Run」執行Android程序。 等待一會兒,就會看到7吋平板電腦的Android模擬器。