1. 程式人生 > >C++ debugger package is missing or incompatible - do you want to fix it

C++ debugger package is missing or incompatible - do you want to fix it

打開了一個別人的專案,無端端出現這個問題。Google了一大圈按照別人的方式也沒解決,下面是我的解決方式

  1. 點選 attach debugger to android process 及下圖debug圖示的時候出現這個問題

    這裡寫圖片描述

  2. 出現如下圖所示錯誤,C++ debugger package is missing or incompatible - do you want to fix it。 我選擇 yes 進行下載修復之後還是不能步驟1的debug

    這裡寫圖片描述

  3. 在 gradle.properties 檔案中看到了這句 android.useDeprecatedNdk=true

    將其註釋掉或者刪除 重新build 之後就可以進行步驟一的debugger了。

    這裡寫圖片描述

  4. 雖然解決了這個問題,但是沒有弄明白 這句話和 debugger的關係 ��啊

    這裡寫圖片描述