BUILD FAILED

  4 posts   Feedicon  
Replies: 3 - Last Post: April 21, 2009 14:43
by: john_brock
showing 1 - 4 of 4
 
Posted: April 16, 2009 20:47 by dhouse
New to this forum so please bear with me...

Just installed Netbeans 6.5.1
Just installed the Android Plug-ins for Netbeans.
Tried to Run a HelloWorld on the Android emmulator.
Got this output:

init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\David\MyDocuments\NetBeansProjects\HelloDroid\build\classes
compile:
Updating jar: C:\Documents and Settings\David\My Documents\NetBeansProjects\HelloDroid\dist\HelloDroid.apk_
Updating zip: C:\Documents and Settings\David\My Documents\NetBeansProjects\HelloDroid\dist\HelloDroid.apk_
Failed to create 'dist/HelloDroid.apk' : The system cannot find the path specified
C:\Documents and Settings\David\My Documents\NetBeansProjects\HelloDroid\nbproject\build-impl.xml:440: exec returned: 1
BUILD FAILED (total time: 1 second)

Any suggestions?

revision 5760
 
Posted: April 16, 2009 21:25 by john_brock
Hi dhouse,

I'm pretty sure you meant to post this on the nbandroid project's forum and not on the Kenai general forums.

If you want to repost over there, I can delete this post out of the main Kenai forums for you.

Thanks,

--jb

The Project Kenai Team
 
Posted: April 20, 2009 14:07 by floyd
hi dhouse,

i just installed the same components and i got pretty much the same Error Message. I changed the build-impl.xml and added ${basedir}/ to the Path (as described in another Post here) and saved the file.

[...]
<exec executable="${apkbuilder}" failonerror="true">
<arg value="${basedir}/${dist.apk}"/>
<arg value="-z"/>
<arg value="${basedir}/${dist.apk}_"/>
</exec>
[...]

After that the Build was successful. Running the build leads to

jar:
Result: -1
pkg: /data/local/tmp/AndroidApplication3.apk
Success
104 KB/s (0 bytes in 6720.000s)
run:
Starting: Intent { comp={org.me.androidapplication3/org.me.androidapplication3.MainActivity} }
BUILD SUCCESSFUL (total time: 49 seconds)


The Android Emulator was starting but it remains 50 seconds at the Init-Screen for the first start (maybe
an realistic emulation of the original initialisation-process of the G1 Wink ) - but then hello World appears - hurra.

Does anyone know, where i can set the ${basedir}/ in the project-settings. To change it manually is a little bit tedious.

Regards
Floyd
 
Posted: April 21, 2009 14:43 by john_brock
Guys,

Nobody from the nbandroid project is reading your forum posts because you are talking in the Bug forum for the *Kenai site*. Take the conversation to the proper forum and you will get a much more engaged group of people looking at the issue.

The proper forum is: http://kenai.com/projects/nbandroid/forums

--jb

The Project Kenai Team
Replies: 3 - Last Post: April 21, 2009 14:43
by: john_brock
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close