06-13-2012 07:45 AM
Hi
I have compiled my application successfully but whenever I tried to debug it on Blackberry playbook it gave me following error
Error in final launch sequence
Cannot prepare and download the binary
Packaging failed:1
Error: Unable to resolve path variable "workspace_loc"
please help
Ahsan
06-13-2012 03:57 PM
Hello Ahsan,
the error suggests that your environment variables or workspace/packaging configuration may be incorrect.
Can you please double check by right-clicking on the project, select Properties->Resource->Linked resources and confirming that the workspace_loc path is valid?
Cheers
Selom
06-14-2012 12:32 AM
Hi Selom
Thanx for your response, I have verified workspace_loc and its valid, what could be other reason.
please help
06-14-2012 01:22 AM
hi
here is the stacktrace of exception
Error: Unable to resolve path variable "workspace_loc"
at com.qnx.tools.ide.bbt.debug.core.internal.launch.B
at com.qnx.tools.ide.bbt.debug.ui.internal.launch.BBT
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.cdt.dsf.concurrent.ReflectionSequence$
at org.eclipse.cdt.dsf.concurrent.Sequence.executeSte
at org.eclipse.cdt.dsf.concurrent.Sequence.access$2(S
at org.eclipse.cdt.dsf.concurrent.Sequence$2.handleSu
at org.eclipse.cdt.dsf.concurrent.RequestMonitor.hand
at org.eclipse.cdt.dsf.concurrent.RequestMonitor$2.ru
at java.util.concurrent.Executors$RunnableAdapter.cal
at java.util.concurrent.FutureTask$Sync.innerRun(Unkn
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$S
at java.util.concurrent.ScheduledThreadPoolExecutor$S
at java.util.concurrent.ThreadPoolExecutor$Worker.run
at java.util.concurrent.ThreadPoolExecutor$Worker.run
at java.lang.Thread.run(Unknown Source)
regards
ahsan
06-14-2012 08:42 AM
Hello Ashan, thanks for the reply and stacktrace.
Can you please provide me with the following information to help with my investigation?
1. Your operating system
2. Playbook NDK version
3. Version of java installed. Typing "java -version" in your command line window will show the version info.
4. The path value in workspace_loc
Cheers
Selom
06-15-2012 03:19 AM
Hi Selom
Here is some information
OS: win7 64bit.
NDK version:2.1
Java version: 1.6.0_26
workspace_loc:E:\work\Blackberry\Projects
and thats exactly my workspace is
Regards
Ahsan
06-20-2012 01:33 PM
This seems related to
http://supportforums.blackberry.com/t5/Native-Deve
Did this one get resolved?
Did you just install the NDK as is?
workspace_loc is a path variable of eclipse: http://help.eclipse.org/juno/index.jsp?topic=%2For
Please check your path settings in eclipse. e.g. for GoodCitizen, project properties, resource, linked resource I have WORKSPACE_LOC set to C:\blackberry\ndk-2.0.0-workspace
Do you have a corresponding setting, and can you access that directory?
(I'm expecting based on the documentation that this is the same variable as the lower-case property used by eclipse. I have not had to change these settings so can't be sure of the impact.)
Stuart
07-04-2012 09:34 AM
I somehow figured out issue, Issue was I had removed some library projects from my worksapce, and I also removed references of those projects from the main project, but IDE or launcher still trying to locate those projects from workspace, when copied and pasted those projects back in workspace issue got resolved.