2015-11-07 46 views
2

所以我试图添加人行横道到我的Meteor项目,我得到这个编译错误。我知道它的人行横道造成它,因为如果我删除人行横道它将消失。如何在Android编译过程中防止人行横道包崩溃?

While running Cordova app for platform Android with options --device: 
    Error: Command failed:      
    /Users/EXAMPLE/Documents/example/.meteor/local/cordova-build/platforms/android/cordova/run 
    --device 
    Note: Some input files use or override a deprecated API. 
    Note: Recompile with -Xlint:deprecation for details. 
    Note: Some input files use unchecked or unsafe operations. 
    Note: Recompile with -Xlint:unchecked for details. 


    /Users/EXAMPLE/Documents/example/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:126 
    throw e; 
^
    ERROR: Failed to launch application on device: ERROR: Failed to install apk 
    to device:  pkg: /data/local/tmp/android-armv7-debug.apk 
    Failure [INSTALL_FAILED_VERSION_DOWNGRADE] 
    at ChildProcess.exitCallback (/tools/utils/processes.js:137:23) 
    at ChildProcess.emit (events.js:98:17) 
    at Process.ChildProcess._handle.onexit (child_process.js:820:12) 

ExitWithCode:1 

有什么建议吗?谢谢!

回答

7

我想通了。您必须先从设备上完全卸载应用程序。设置 - >应用程序 - >应用程序管理器 - >您的应用程序 - >清除数据。然后卸载。

+0

您已经保存了当天.. thx。 – Jeffrey

+0

不工作。同样的错误发生。任何解决方案 – Krishna