启动 PalmPre2 Dev。掌上安装显示:“未找到设备”
我是一名 iPhone 开发人员,试图开始 PalmPre2 开发,所以我正在按照编写的 这里
我的模拟器正在运行。
我已经创建了我的工作区目录
$mkdir palmWorkspace
$cd palmWorkspace
我已经创建了我的应用程序
$ palm-generate -p "{title:'Hello World', id:com.nacho4d.hello, version:'1.0.0'}" HelloWorld
generating new_app in /Users/nacho4d/Documents/palmWorkspace/HelloWorld
我已经打包了它
$ palm-package Helloworld
creating package com.nacho4d.hello_1.0.0_all.ipk in /Users/nacho4d/Documents/palmWorkspace
,但是现在当我尝试安装它时,我得到:
$ palm-install com.nacho4d.hello_1.0.0_all.ipk
palm-install: no devices found
palm-install: no device found
即使我运行了模拟器,它也说同样的情况,为什么会这样?
提前致谢。
伊格纳西奥
I am a iPhone Developer trying to start PalmPre2 development, so I am doing as written here
I have my emulator working and running.
I have created my workspace directory
$mkdir palmWorkspace
$cd palmWorkspace
I have create my app
$ palm-generate -p "{title:'Hello World', id:com.nacho4d.hello, version:'1.0.0'}" HelloWorld
generating new_app in /Users/nacho4d/Documents/palmWorkspace/HelloWorld
I have packaged it
$ palm-package Helloworld
creating package com.nacho4d.hello_1.0.0_all.ipk in /Users/nacho4d/Documents/palmWorkspace
but now when I try to install it I get:
$ palm-install com.nacho4d.hello_1.0.0_all.ipk
palm-install: no devices found
palm-install: no device found
Even though I have the emulator running it says the same, why is that?
Thanks in advance.
Ignacio
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对自己的回答:
我意识到,在识别/查找正在运行的模拟器时,pal-install 似乎没有预期的那么快。我的意思是,如果您在运行 palm-install 命令之前启动模拟器,这可能会失败。一段时间后,运行相同的命令按预期工作;)
Answer to myself:
I have realized that pal-install seems not to be as fast as expected when recognizing/finding a running emulator. I mean, if you start the emulator just before running palm-install command, this will probably fail. After a while running the same command worked as expected ;)