Glasshouse / testapp

test app andoird/iphone
0 stars 0 forks source link

Clean and Build : Unable to delete directory C:\Users\FRED\Documents\NetBeansProjects\ServicePresse\build\android BUILD FAILED (total time: 0 seconds) #3

Open FredzL opened 11 years ago

FredzL commented 11 years ago

ant -f C:\Users\FRED\Documents\NetBeansProjects\ServicePresse\nbproject -Dandroid.target.device.arg=-d -Denv.DISPLAY=:0.0 -Dcordova.home=C:\phonegap "-Dupdate.task.jar=C:\Program Files\NetBeans 7.4 Beta\webcommon\ant\extra\org-netbeans-modules-cordova-projectupdate.jar" "-Dandroid.sdk.home=C:\Program Files (x86)\Android\android-sdk" -Dandroid.build.target=android-15 -Dstart.file=index.html -Dandroid.project.activity=ServicePresse -Dconfig=android_1 "-Dios.certificate.name=iPhone Developer" -Dsite.root=public_html -Dcordova.version=2.9.0 rebuild-android clean-android:

Deleting directory C:\Users\FRED\Documents\NetBeansProjects\ServicePresse\build\android

C:\Users\FRED\Documents\NetBeansProjects\ServicePresse\nbproject\build.xml:366: Unable to delete directory C:\Users\FRED\Documents\NetBeansProjects\ServicePresse\build\android BUILD FAILED (total time: 0 seconds)

FredzL commented 11 years ago

Ca passe en faisant un Build simple, mais clairement pas une bonne solution.

La suppression du répertoire depuis l'explorateur est également impossible, un reboot est requis.

FredzL commented 11 years ago

Autre solution, commenter la ligne 366, mais il faudra sans doute supprimer manuellement le contenu de ce répertoire losrqu'on fait un Clean : <delete dir="${cordova.build}/android" />