Ok...Here's one more thing to try...
I was able to re-create the error you get in NetBeans....
And here's the fix I used..that worked...
Change these lines...
set frameworkdir=D:\android-sdk-windows-1.1_r1\tools\lib\
set libdir=D:\android-sdk-windows-1.1_r1\tools\lib\
to these 4 lines....
REM set frameworkdir=
REM set libdir=
set frameworkdir=%~dp0\lib\
set libdir=%~dp0\lib\
Save the file and then run NetBeans....
That seemed to work for me...
I was able to re-create the error you get in NetBeans....
And here's the fix I used..that worked...
Change these lines...
set frameworkdir=D:\android-sdk-windows-1.1_r1\tools\lib\
set libdir=D:\android-sdk-windows-1.1_r1\tools\lib\
to these 4 lines....
REM set frameworkdir=
REM set libdir=
set frameworkdir=%~dp0\lib\
set libdir=%~dp0\lib\
Save the file and then run NetBeans....
That seemed to work for me...