简体   繁体   English

如何在Android中调试Visual Studio 2017生成的C ++代码.SO文件和其他第三方库?

[英]How to debug visual studio 2017 generated C++ code .SO file and others third party libraries in android?

I have my C++ library code in Visual studio and I am generating AAR format lib in android studio and using that in my android project. 我在Visual Studio中有我的C ++库代码,并且正在android studio中生成AAR格式的lib,并在我的android项目中使用它。

aar format file built using multiple third party libraries. 使用多个第三方库构建的aar格式文件。 Is there any way to debug in Android? 有什么方法可以在Android中进行调试吗?

You cannot debug Native C++ code as you could be used on Android Studio. 您无法像在Android Studio上使用的那样调试本机C ++代码。 The only way is to print logs to LogCat to see where the Code flows. 唯一的方法是将日志打印到LogCat,以查看代码的流向。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM