2015-11-07 47 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