Ant environment variables not set

Sysprogs forums Forums VisualGDB Ant environment variables not set

This topic contains 1 reply, has 2 voices, and was last updated by  support 10 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #553

    Anonymous
    Participant

    Hi,

    I am trying to use the existing build.xml files generated for our projects in my company but I am finding a problem with the ant environment variables.

    This is not set if I use VisualGDB.exe and then the build fails. It works well if I try to simply use ant and I can see how the environment variables are loaded and the sdk.dir variable is set properly.

    Is there any way for solving this problem?

    Thanks,
    Javier

    #2354

    support
    Keymaster

    Hi,

    Thanks for reporting this problem. Currently VisualGDB does not set ANDROID_SDK_ROOT. You can fix it by setting the variable before running Visual Studio: e.g. make a bat file containing the following lines:

    We will add the ANDROID_SDK_ROOT support to the next version of VisualGDB.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.