Specifications

C:\Dev\Android\android_adt_bundle_20140702\sdk\tools\ant\build.xml:698:nullreturned:1
IfyouaddtheverboseoptiontotheAntbuild,youwillseeanerrorsuchas:
invalidresourcedirectoryname:C:\Dev\Android\VrTestApp\bin\res/crunch
Thisappearstohappenforprojectswhichrefertolibraryprojectsthereiscurrentlyno
explanationwhyitoccurs.Tofixtheproblem,deletethebin/res/crunchfoldersthatare
generatedinVrLib/andVrTestApp/.
V.2.2EclipseProblems
SpacesinAndroidtoolpaths.
MakesurethereareNOSPACESinanyofyourAndroidtoolpaths.Ifthereare,followallof
theinstallationinstructionsfromthestartwithoutspacesinanypaths.Theexceptionisthe
JavaDevelopmentKitonWindows,whichbydefaultinstallsto“C:\ProgramFiles(x86)”for
32bitor“C:\ProgramFiles”for64bit.ThosepathsareacceptableaslongasJAVA_HOMEis
setappropriately(withoutquotesseethenoteinthesectionIV.1.1).
Build/cleanerrorduetomissingNDKpath.
EclipsesometimeslosestheNDKpatheventhoughyousetthepathduringthesoftware
installationprocess.Whenthishappensyoumaygetabuild/cleanerrorsimilartotheone
below:
****CleanonlybuildofconfigurationDefaultforprojectVrExperiments****
shndkbuildclean
Error:Cannotrunprogram"sh":Launchingfailed
****BuildFinished****
Solution:settheNDKpathat:Menu>Window>Preferences>Android>NDK.
Unabletolaunchduetoerrors
Althoughyoujustsuccessfullybuiltyourapplication,yougetamessagethattheproject
containserrorsthatneedtobefixedbeforeyoucanlaunchtheapplication.
Solution:gototheProblemstab(typicallyatthebottom)anddeletealltheerrors.
CompatibilityWarningsWhenStartingEclipse
31