Is it possible to debug C/C++ in Android Studio?

前端 未结 6 1610
时光取名叫无心
时光取名叫无心 2020-12-14 17:04

I\'m writing an Android app that includes C/C++ code that is compiled alongside the Java code. My app is crashing during the execution of the native code.

Is there

6条回答
  •  臣服心动
    2020-12-14 17:39

    As of version 1.3+ Preview Android Studio supports C++ debugging, quoting Android M Developer Preview & Tools:

    Most notable is a much requested feature from our Android NDK & game developers: code editing and debugging for C/C++ code. Based on JetBrains Clion platform, the Android Studio NDK plugin provides features such as refactoring and code completion for C/C++ code alongside your Java code. Java and C/C++ code support is integrated into one development experience free of charge for Android app developers.

提交回复
热议问题