为黑莓 playbook 重新打包 Android 应用程序,BarGenerator 错误
我正在尝试使用 Eclipse 插件重新打包我的黑莓应用程序,当尝试在模拟器中运行它时,我收到此错误:
D:\eclipse-SDK-3.7-win32\eclipse>set version=1.0.2
D:\eclipse-SDK-3.7-win32\eclipse>set LIB=D:\eclipse-SDK-3.7 win32\eclipse\configuration\org.eclipse.osgi\bundles\234\1\.cp\blackberry.tools.SDK\bin\\..\lib
D:\eclipse-SDK-3.7-win32\eclipse>java -Xmx512M -cp "D:\eclipse-SDK-3.7-win32\eclipse\configuration\org.eclipse.osgi\bundles\234\1\.cp\blackberry.tools.SDK\bin\\..\lib\BARPackager.jar;D:\eclipse-SDK-3.7-win32\eclipse\configuration\org.eclipse.osgi\bundles\234\1\.cp\blackberry.tools.SDK\bin\\..\lib\Apk2Bar-1.0.2.jar" net.rim.tools.apk2bar.Apk2bar "C:\Users\Simon\workspace\BB_app\bin\BB_app.apk" "C:\Program Files\Android\android-sdk-windows\\" -t "C:\Users\Simon\workspace\BB_app\bin\classes" -d "C:\Users\Simon\AppData\Local\Research In Motion\simdebugtoken.bar"
[BarGenerator]
[BarGenerator] Start packaging BB_app.apk
[ERROR] [BarGenerator] zip file is empty
[BarGenerator] BB_app.apk ................................... failed
[BarGenerator] Summary: Total Apk files # 1; succeeded: 0; skipped: 0; failed: 1
我已在此处和其他地方进行搜索,但找不到有关“zip 文件为空”的任何内容。 任何帮助将不胜感激。
I'm trying to repackage my app for blackberry using the Eclipse plugin, and when trying to run it in my simulator I get this error:
D:\eclipse-SDK-3.7-win32\eclipse>set version=1.0.2
D:\eclipse-SDK-3.7-win32\eclipse>set LIB=D:\eclipse-SDK-3.7 win32\eclipse\configuration\org.eclipse.osgi\bundles\234\1\.cp\blackberry.tools.SDK\bin\\..\lib
D:\eclipse-SDK-3.7-win32\eclipse>java -Xmx512M -cp "D:\eclipse-SDK-3.7-win32\eclipse\configuration\org.eclipse.osgi\bundles\234\1\.cp\blackberry.tools.SDK\bin\\..\lib\BARPackager.jar;D:\eclipse-SDK-3.7-win32\eclipse\configuration\org.eclipse.osgi\bundles\234\1\.cp\blackberry.tools.SDK\bin\\..\lib\Apk2Bar-1.0.2.jar" net.rim.tools.apk2bar.Apk2bar "C:\Users\Simon\workspace\BB_app\bin\BB_app.apk" "C:\Program Files\Android\android-sdk-windows\\" -t "C:\Users\Simon\workspace\BB_app\bin\classes" -d "C:\Users\Simon\AppData\Local\Research In Motion\simdebugtoken.bar"
[BarGenerator]
[BarGenerator] Start packaging BB_app.apk
[ERROR] [BarGenerator] zip file is empty
[BarGenerator] BB_app.apk ................................... failed
[BarGenerator] Summary: Total Apk files # 1; succeeded: 0; skipped: 0; failed: 1
I've searched here and elsewhere but I can't find anything about "zip file is empty".
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个 Eclipse 错误。重新安装它,一切顺利。
It was an Eclipse error. Reinstalled it and everything went fine.