Cannot install bb project on my device

You must Login before you can answer or comment on any questions.

I have a bb project on my titanium studio, when im trying to install it on my device, im getting the error below. I tried following the fixes in these links:

http://developer.appcelerator.com/doc/blackberry/getting-started-beta-preview http://wiki.appcelerator.org/display/guides/Blackberry+Preview+Getting+Started+Guide

Is there a way to build the app manually. so i can install it directly from Blackberry Desktop?

I don't know if this is a build error or something related to the BB sdk...

Note: creating a new project or trying to build KitchenSinkBB generates the same error.

OS : windows7

Titanium : 1.7.2 RC2

BB sdk: 5.0.0

Error:

[DEBUG] Blackberry Key Directory: C:\Users\Administrator\Desktop\client-RBB-3167441450
[INFO] Compiling COD...
[INFO] Building generated classes...
[DEBUG] C:\Program Files\Java\jdk1.7.0\bin\javac.exe -nowarn -target 1.3 -source 1.3 -classpath C:\Users\Administrator\AppData\Local\Titanium Studio\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\lib\net_rim_api.jar -d C:\Users\Administrator\My Documents\Titanium Studio Workspace\test bb\build\blackberry\bin -sourcepath C:\Users\Administrator\My Documents\Titanium Studio Workspace\test bb\build\blackberry\src;C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\src @c:\users\admini~1\appdata\local\temp\tmpgblw_q
[DEBUG] "C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -nowarn -target 1.3 -source 1.3 -classpath "C:\Users\Administrator\AppData\Local\Titanium Studio\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\lib\net_rim_api.jar" -d "C:\Users\Administrator\My Documents\Titanium Studio Workspace\test bb\build\blackberry\bin" -sourcepath "C:\Users\Administrator\My Documents\Titanium Studio Workspace\test bb\build\blackberry\src;C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\src" @c:\users\admini~1\appdata\local\temp\tmpgblw_q
[ERROR] C:\Program Files\Java\jdk1.7.0\bin\javac.exe C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\src\org\appcelerator\titanium\TiApplication.java:10: error: package net.rim.device.api.script does not exist
 
import net.rim.device.api.script.ScriptableFunction;
 
                                ^
 
C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\src\org\appcelerator\titanium\TiApplication.java:11: error: package net.rim.device.api.system does not exist
 
import net.rim.device.api.system.EncodedImage;
 
                                ^
 
C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\src\org\appcelerator\titanium\TiApplication.java:12: error: package net.rim.device.api.ui does not exist
 
import net.rim.device.api.ui.Screen;
 
                            ^
 
C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\src\org\appcelerator\titanium\TiApplication.java:13: error: package net.rim.device.api.ui does not exist
 
import net.rim.device.api.ui.UiApplication;
 
                            ^
 
C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\src\org\appcelerator\titanium\TiApplication.java:14: error: package net.rim.device.api.ui.component does not exist
 
import net.rim.device.api.ui.component.Dialog;
 
                                      ^
...
...
...
 
 
100 errors
 
Traceback (most recent call last):
  File "C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\builder.py", line 542, in <module>
    builder.build_and_run(True, get_simulator_id())
  File "C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\builder.py", line 432, in build_and_run
    cod = self.compile_cod()
  File "C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\builder.py", line 281, in compile_cod
    self.build_generated_classes()
  File "C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\builder.py", line 206, in build_generated_classes
    self.copy_non_source_files(self.titanium_src_dir, self.bin_dir)
  File "C:\Users\Administrator\AppData\Roaming\Titanium\mobilesdk\win32\1.7.0.RC2\blackberry\builder.py", line 180, in copy_non_source_files
    shutil.copy(path, topath)
  File "C:\Users\Administrator\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1312318466\python\lib\shutil.py", line 85, in copy
    copyfile(src, dst)
  File "C:\Users\Administrator\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1312318466\python\lib\shutil.py", line 52, in copyfile
    fdst = open(dst, 'wb')
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\My Documents\\Titanium Studio Workspace\\test bb\\build\\blackberry\\bin\\org\\appcelerator\\titanium\\kroll\\boot.js'

Your Answer

Think you can help? Login to answer this question!