0

当我尝试运行我的应用程序时,它给了我这个错误。但是为什么?

[ERROR] Exception occurred while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "C:\Users\ThomasBolander\AppData\Roaming\Titanium\mobilesdk\win32\2.1.2.GA\android\builder.py", line 2243, in <module>
[ERROR]     s.build_and_run(True, avd_id, device_args=device_args)
[ERROR]   File "C:\Users\ThomasBolander\AppData\Roaming\Titanium\mobilesdk\win32\2.1.2.GA\android\builder.py", line 2068, in build_and_run
[ERROR]     launched, launch_failed = self.package_and_deploy()
[ERROR]   File "C:\Users\ThomasBolander\AppData\Roaming\Titanium\mobilesdk\win32\2.1.2.GA\android\builder.py", line 1585, in package_and_deploy
[ERROR]     unsigned_apk = self.create_unsigned_apk(ap_)
[ERROR]   File "C:\Users\ThomasBolander\AppData\Roaming\Titanium\mobilesdk\win32\2.1.2.GA\android\builder.py", line 1447, in create_unsigned_apk
[ERROR]     resources_zip = zipfile.ZipFile(resources_zip_file)
[ERROR]   File "C:\Users\ThomasBolander\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1338515509\python\lib\zipfile.py", line 671, in __init__
[ERROR]     self.fp = open(file, modeDict[mode])
[ERROR] IOError: [Errno 2] No such file or directory: 'C:\\Users\\ThomasBolander\\Dropbox\\Praktikanten\\Apps\\Fritidsjob.dk Android Standard\\build\\android\\bin\\app.ap_'
4

1 回答 1

1

尝试以下操作:

  1. 确保如果您使用的是本地化文件,这些文件中没有错误。
  2. 如果您使用任何类型的模块,请确保该模块与您的 SDK 兼容。
  3. 清理您的解决方案,然后再次运行该项目。
于 2012-11-28T19:20:14.043 回答