-
GurudathLikes 0Problem Description
Hello,
I am using Android studio to debug the code which is written in cocos2dx 3.11.1 version. I have seen video tutorial which is uploaded by Sonar. its a really helpfull for me to learn. Thank you.
- Is there any way to import c++ code in Android Studio IDE?
- Can we have breakpoint system to debug like what we usually do it in Xcode?
Thanks
Gurudtah
-
Sonar Systems adminLikes 0
C++ code as in .h and .cpp files?
-
GurudathLikes 0
Yes. .h & .cpp file
-
Sonar Systems adminLikes 0
You can open C++ files normally and code in them.
-
GurudathLikes 0
Yeah. I can open c++ files in Xcode & write code.
But while testing for Android, i wanted to open c++ files in Android Studio. So that i can check both Java & c++ code at once.
-
Sonar Systems adminLikes 0
You should be able to open them in Android Studio.
-
GurudathLikes 0
Okay.
Am trying to import. Am missing something. Am not able to find out.
Can you plz help me out with this?
-
Sonar Systems adminLikes 0
What happens when you try to import the file?
-
GurudathLikes 0
Either I can import Root folder of cocos2dx project. At that time am not able to run the code.
If i import project.android-studio folder. Then i can run the code. I can see only mainfest, jin & Java code folder. I cant see c++ files
-
Sonar Systems adminLikes 0
Have you tried this video of ours https://www.youtube.com/watch?v=gdOkbXYsf04 ?
-
GurudathLikes 0
Yeah. I check the video before.
There we have opened it in different window.
Actually i wanted to try it in one window. So that i can keep breakpoint in c++ file and i can able to debug.
-
Sonar Systems adminLikes 0
Don’t think it can be done like that, sorry.
Login to reply