Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17084

Android Studio - editing and debugging the native code

$
0
0

@nikcain wrote:

I've created a project with cocos2d-x v3.9 and successfully building and deploying an app using Android Studio.

However the project doesn't include the Classes folder (or at least, I haven't found the folder in the Project tree), so I'm currently editing the code in Xcode, then compiling on Android Studio to test my android builds. This is a bit cumbersome, and I was wondering if I can add my cpp files to the project without breaking anything (I've not used Android Studio much previously).

Also I was hoping for some native code debugging support. I created a new Debug Configuration as Android Native, but it reported that it was not JNI debuggable, at which point my lack of gradle knowledge got in the way - since we're compiling the native library with cocos I suspect it's not going to help me anyway, but has anyone managed to do this?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>