Hi,

We are trying to create avd though ant using the android bat..

When we execute

     [echo] Creating avd profile: foo1.5
     [exec] Current OS is Windows XP
     [exec] Executing 'cmd' with arguments:
     [exec] '/c'
     [exec] 'android'
     [exec] 'create'
     [exec] 'avd'
     [exec] '-n'
     [exec] 'foo1.5'
     [exec] '-t'
     [exec] '1'
     [exec] '-f'
     [exec] '-p'
     [exec] '${dataDir}'
     [exec] '<'
     [exec] 'c:/temp/raja.txt'


it goes into reccursion and all the tools folder files are getting
delegated.. The issue is ${dataDir} which is not assgined a value has
some internal effect  This is observed on DK 1.6 and 2.0 Update too..




createAVD:
     [echo] 1
     [echo] API3
     [echo] API3
     [echo] ${${dp.trgt.ref}}
     [exec] Android 1.5 is a basic Android platform.
     [exec] Do you wish to create a custom hardware profile [no]
Exception in thr
ead "main" java.lang.StackOverflowError
     [exec]     at java.io.Win32FileSystem.resolve
(Win32FileSystem.java:237)
     [exec]     at java.io.File.<init>(File.java:207)
     [exec]     at java.io.File.listFiles(File.java:1056)
     [exec]     at
com.android.sdklib.internal.avd.AvdManager.recursiveDelete(Av
dManager.java:952)
...

     [exec]     at
com.android.sdklib.internal.avd.AvdManager.recursiveDelete(Av
dManager.java:954)
     [exec]     at
com.android.sdklib.internal.avd.AvdManager.recursiveDelete(Av
dManager.java:954)
     [exec]     at
com.android.sdklib.internal.avd.AvdManager.recursiveDelete(Av
dManager.java:954)
     [exec]     at
com.android.sdklib.internal.avd.AvdManager.recursiveDelete(Av
dManager.java:954)
     [exec] The batch file cannot be found.
     [exec] Result: 1

BUILD SUCCESSFUL
Total time: 36 seconds
F:\tejasoft\work\companies\zoomin\mobile\android>ant createAVD

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to