![]() Note that the NVPACK adds environment and path variables too, so review this carefully to make sure the NDK_ROOT, NDKROOT, ANT_ROOT, ANT_HOME, NVPACK_NDK_VERSION, COCOS_CONSOLE_ROOT, COCOS_TEMPLATES_ROOT, and ANDROID_SDK_ROOT are set to point to the correct versions you intend to use. The key here is to ensure that your environment variables point to the desired Ant, cocos2d-x root, NDK root, Android SDK, etc. If you followed the steps above, using the versions described above, then you should not need to set any variables manually. If any are not set, you will need to set these manually. It is important that all variables are set properly. setup.pyħ) Read the output of the setup.py script. So in that case, unzip the Cocos2d-x 3.4 zip file inside of the NVPACK folder the result will be the new folder cocos2d-x-3.4 inside of the NVPACK folder.Ħ) Run the python script setup.py by executing the cocos script on a command line in the cocos2d-x folder. Default location for the NVPACK is your home directory in the folder titled NVPACK. The approval took a few hours for me.ģ) Download and Install the Android Tegra Developer Tools.Ĥ) Download Cocos2d-x 3.4 This process does not work in 3.5+, likely due to some changes in cocos2d-x.ĥ) Unzip Cocos2d-x 3.4 into the location where you installed NVIDIA’s tools (or any other desired location and note the location). This is done in the NVIDIA portal after your are approved for the NVIDIA Registered Developer Program. ![]() Steps to Setup The Tegra Android Development Pack for NDK Android Debugging (Mac Setup)ġ) Register for NVIDIA Registered Developer Program: Ģ) Register for the NVDIA GameWorks so that you can download the Android Tegra Developer Tools. If you use their NDK, be sure to double check the NDK version compatibility. You can get just the NVIDIA Debug Manager for Android NDK eclipse plugin or their entire NDK Eclipse Android IDE. Tegra Android and the NVIDIA Debug Manager for Android NDK (breakpoints and all) is free, you just have to sign up for their Gameworks free membership: ![]() Works great to isolate those Android specific issues that cannot be caught when developing/testing in Xcode for iOS/Mac or Visual Studio WP8. It has breakpoint debugging and Logcat logging to debug cocos2d-x Android C++ and Java code simultaneously. I have used the Tegra Android Development Pack, an Eclipse based solution from NVDIA, for about 18 months now. ![]() This article is all about how to use Tegra and GDB to debug Android C++ games using Eclipse.Īlso check out this important post that includes some very useful tips about debugging Android C++ games using the Android Developer Tools and the Android NDK. It would be great if Google would create an IDE like Visual Studio or Xcode that supports C++ and Java. It looks like Android Studio might be that solution, but it needs to mature more before it could be considered a robust C++ development and debugging solution. Android NDK debugging with an IDE can be a challenge. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |