簡體   English   中英

流星運行android設備錯誤

[英]Meteor run android device error

我正在嘗試在Android設備上運行流星應用程序,但遇到了一些麻煩。 直到我添加了raix:push包,它的工作情況都還不錯。 添加后出現此錯誤

root@sbhnmhmd-BB-83208B:~/Documents/whsapp# meteor run android-device --mobile-server http://192.168.0.2
[[[[[ ~/Documents/whsapp ]]]]]                

=> Started proxy.                             
=> Started MongoDB.                           

WARNING: You are testing your app on a remote device. For the mobile app to be
         able to connect to the local server, make sure your device is on the
         same network, and that the network configuration allows clients to
         talk to each other (no client isolation).
=> Started your app.                          

=> App running at: http://localhost:3000/     
=> Errors executing Cordova commands:         

   While running Cordova app for platform Android with options --device:
   Error: Command failed:                     
   /home/sbhnmhmd/Documents/whsapp/.meteor/local/cordova-build/platforms/android/cordova/run
   --device
   FAILURE: Build failed with an exception.

   * What went wrong:
   A problem occurred configuring root project 'android'.
   > Could not resolve all dependencies for configuration ':_debugCompile'.
   > Could not find any version that matches
   com.android.support:support-v13:23+.
   Searched in the following locations:

   https://repo1.maven.org/maven2/com/android/support/support-v13/maven-metadata.xml
   https://repo1.maven.org/maven2/com/android/support/support-v13/
   Required by:
   :android:unspecified

   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or
   --debug option to get more log output.


   /home/sbhnmhmd/Documents/whsapp/.meteor/local/cordova-build/platforms/android/cordova/node_modules/q/q.js:126
   throw e;
   ^
   Error code 1 for command:
   /home/sbhnmhmd/Documents/whsapp/.meteor/local/cordova-build/platforms/android/gradlew
   with args:
   cdvBuildDebug,-b,/home/sbhnmhmd/Documents/whsapp/.meteor/local/cordova-build/platforms/android/build.gradle,-PcdvBuildArch=arm,-Dorg.gradle.daemon=true
   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

android SDK是最新的,我在Ubuntu 14.0.4上。

任何幫助,將不勝感激。

謝謝。

請確保您已使用SDK Manager更新/安裝了Android支持庫和Android支持庫

此后它應該工作。

閱讀此github問題以獲取更多信息。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM