我正在尝试启动一个BlackBerry10 phonegap应用程序,但收到以下错误:
C:\sites\Safe\platforms\blackberry10\cordova>run
[BUILD]   Populating application source
[BUILD]   Parsing config.xml
[BUILD]   Generating output files[WARN]    Failed to find debug token. If you ha
ve an existing debug token, please copy it to %HOME%/.cordova/blackberry10debugt
oken.bar. To generate a new debug token, execute the 'run' command.
[INFO]    Info: Package created: C:\sites\Safe\PLATFO~1\BLACKB~1\build\simulator
\DEFAULT_BAR_NAME.bar
[WARN]    Failed to find debug token. If you have an existing debug token, pleas
e copy it to %HOME%/.cordova/blackberry10debugtoken.bar. To generate a new debug
 token, execute the 'run' command.
[INFO]    Info: Package created: C:\sites\Safe\PLATFO~1\BLACKB~1\build\device\DE
FAULT_BAR_NAME.bar
[BUILD]   BAR packaging complete
[INFO]    Info: Sending request: Install and Launch
[INFO]    Info: Action: Install and Launch
[INFO]    Info: File size: 1704050
[INFO]    Info: Installing default.app.id.testDev_ault_app_id417e7455...Info: Pr
ocessing 1704050 bytes
[INFO]    actual_dname::actual_id::
[INFO]    actual_version::result::failure 881 application author does not match
debug token author我的设备具有有效的调试令牌,并且作者与config.xml中的作者匹配。我遗漏了什么?
发布于 2013-09-26 01:14:23
你的问题提供了我的答案,因为你的警告比我得到的更详细。当我将调试令牌从其通常的位置复制到:
C:\Users\AppData\local\ Motion\169.254.0.1debugtoken.bar中的研究
至
c:\Users.cordova\blackberry10debugtoken.bar
这修复了警告和错误,并将应用部署到我的设备上。
https://stackoverflow.com/questions/18862434
复制相似问题