Issue Details (XML | Word | Printable)

Key: NBANDROID-17
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: radim
Reporter: tigeryang
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
nbandroid

Can not compile project

Created: 24/Feb/09 05:32 PM   Updated: 04/Jul/09 05:30 AM   Resolved: 04/Jul/09 02:44 AM
Component/s: project
Affects Version/s: 0.2
Fix Version/s: 0.5

Time Tracking:
Not Specified

Environment:

Netbeans 6.5

Issue Links:
Duplicate
 

Tags:


 Description  « Hide

I installed nbandroid plugin on my netbeans, and create a new android project and click on compile project, got following:

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



Jay Kaluza added a comment - 22/Mar/09 02:42 PM

I have the same problem, using NB6.5. Install and everything went fine. Just build have that problem.


alex_grk added a comment - 30/Mar/09 08:10 PM

Temp solution:
put ${basedir}/ in front of ${dist.apk}".


<target depends="init,-package-res-and-assets,-package-res-no-assets,-package-java,-package-dex" name="-sign">
<exec executable="${apkbuilder}" failonerror="true">
<arg value="${basedir}/${dist.apk}"/>
<arg value="-z"/>
<arg value="${basedir}/${dist.apk}_"/>
</exec>
<delete file="${basedir}/${dist.apk}_"/>
</target>


radim added a comment - 03/Jul/09 04:26 AM

I think this was fixed a while ago but cannot find the commit. Or is this a windows specific problem?


radim added a comment - 04/Jul/09 02:44 AM

Changeset: ef701400fc80
Author: radim
Date: 2009-07-03 19:43
Message: Building on Windows needs full path to APK in apkbuilder.
Issue #NBANDROID-17 - Can not compile project