没有这样的文件或目录:app.ap_

时间:2012-11-20 21:22:11

标签: android titanium titanium-mobile

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

[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_'

1 个答案:

答案 0 :(得分:1)

尝试以下方法:

  1. 如果您使用的是本地化文件,请确保没有错误。
  2. 如果您使用的是任何类型的模块,请确保该模块与您的SDK兼容。
  3. 清理您的解决方案,然后再次运行该项目。