After you download and install NVIDIA CodeWorks for Android, you should have a fully-configured Android environment ready for development. In addition, CodeWorks for Android installs Tegra-specific tools required to do in-depth debugging and analysis on Tegra devices.
If you are developing on a Tegra Development Kit, please download the latest OS Image and flash the device. This will ensure you have the most up-to-date system with the latest optimizations.
You can download the latest version of CodeWorks for Android from the NVIDIA GameWorks Download Center page.
chmod +x CodeWorks-1R8-linux-x64_<build number>.run
./CodeWorks-1R8-linux-x64_<build number>.run
cd
in the mounted folder of the application. open -n CodeWorks-1R8-osx_<build number>.app/
When you begin, you will walk through an installation wizard that helps you customize your CodeWorks for Android environment.
C:\NVPACK
, and the downloads are saved to C:\NVIDIA\CodeWorksforAndroid
.
Before proceeding, select whether or not you wish to allow NVIDIA to collect usage data from CodeWorks for Android.
If you selected the Custom installation type, the default options are pre-selected, and you can select or deselect the other components as needed, by choosing the dropdown menu in the Action column for each component.
![]() | Note: If you are installing CodeWorks for Android on Ubuntu Linux x64, or macOS Mojave, the JDK component is installed from OpenJDK, while Windows installations use Oracle JDK. |
You can do this through the Control Panel, by running C:\NVPACK\codeworksandroid_uninstall.exe
, or by manually deleting all of the files in C:\NVPACK
. Running the uninstaller will require a system reboot.
![]() | In some instances, the uninstaller may not clean the system sufficiently to allow the installer to be run. If you encounter this, manually delete the remaining content in |
C:\NVIDIA\CodeWorksforAndroid
, and will not need to be downloaded again. NVIDIA devices are generally compatible with Google's Android drivers, but in some cases, Google drivers will not have the additional device identifiers for automatic recognition. In these cases, you will need to apply drivers manually through the Device Manager in your operating system's Control Panel.
Drivers can be found in the following location:
C:\NVPACK\Drivers\
To install drivers, do the following:
![]() | Note: The device's name may appear different between standard Android Debugging Interface mode and Boot Loader Interface or |
C:\NVPACK\Drivers\SHIELD\
android_winusb.inf
. This issue will be fixed in a future release.
To start developing your Android application, or to debug an existing project in an integrated development environment, launch the Eclipse IDE, found here:
C:\NVPACK\eclipse
You can also debug your applications using Nsight Tegra, which can be launched through Microsoft Visual Studio 2015/2017/2019 Professional Editions or higher.
To profile your native Tegra Android application, use the NVIDIA Nsight Systems sampling profiler, found here:
C:\Program Files\NVIDIA Corporation\NVIDIA System Profiler <version>
To debug, optimize, and profile your Vulkan 1.0, OpenGL 4.3-4.5, OpenGL ES 2.0-3.1 + Android Extension Pack applications on NVIDIA Tegra K1/X1/X2, use the NVIDIA Nsight Graphics tool included with this CodeWorks for Android release.
For more information on Nsight Graphics, see the Nsight Graphics Documentation.
NVIDIA® GameWorks™ Documentation Rev. 1.0.211026 ©2014-2021. NVIDIA Corporation and affiliates. All Rights Reserved.