For developers who installed this pack via the TADP installer, the provided Eclipse workspace in the TADP NVPACK tree will already include the samples. They are ready for immediate use.
Developers who used the Tegra Android Tools pack to install the new samples pack on top of an existing (old) TADP install can replace the previous samples in the default Eclipse workspace as follows. While the existing TADP-created samples workspace can be re-used, to prepare this workspace for the new samples, we must clear out the old samples to avoid confusion or overlap/collision.
This will provide an empty but configured workspace, ready to import the samples from the new pack.
Once a workspace has been prepared, it is possible to import the existing application projects that ship with this pack.
nvidia_tegra_android_samples_preview
/).Developers who have used the previous method of re-using the TADP workspace should not follow this section, but should skip ahead to importing the projects.
NVIDIA strongly recommends using the existing TADP workspace, as it is already set up and ready to delete the previous applications and import the new ones. However, if a new workspace must be created from scratch, the steps are as follows:
ANDROID_JAR
with the path to the android.jar. C:\android\android-sdk-windows\platforms\android-8\android.jar
.c:\android\android-sdk-windows
.Build everything by selecting Project > Build All.
WARNING: The rebuilt APK files will NOT be placed in prebuilt
. They will be placed in the bin
subdirectory for each app. Reinstalling the APKs from the prebuilt
tree will simply reinstall the APKs shipped with the SDK, not the newly-built copies.
Notes to keep in mind when building the samples/demos:
If you have installed the prebuilt samples using the install_samples.bat
script, you may receive the error: [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
If you see this error, uninstall the samples on the Tegra device by going to Settings > Applications > Manage Applications, then select the application you want to uninstall and press the Uninstall button. Try running/installing the samples from Eclipse again.
NVIDIA® GameWorks™ Documentation Rev. 1.0.220830 ©2014-2022. NVIDIA Corporation and affiliates. All Rights Reserved.