イオン性アンドロイド開発環境を設定しました。私はAndroidスタジオ2.2.2で私のアンドロイドプロジェクトを開き、エミュレータでアプリケーションを起動することができ、それはすべて正常に動作します。ionic:端末からアンドロイドエミュレータを起動できません
しかし私は私の端末に行き、私のイオンプロジェクトに行く。などアンドロイドを構築したり、エミュレート:私はエラーを取得する
ionic build android
ionic emulate android
:
Error: /Users/alex_fimm_dev/Desktop/Projects/ionic/myApp2/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApk'.
> A problem occurred configuring project ':CordovaLib'.
> Could not resolve all dependencies for configuration ':CordovaLib:classpath'.
> Could not find com.android.tools.build:gradle:2.2.2.
Searched in the following locations:
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom
https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.jar
Required by:
android:CordovaLib:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
が再びプロジェクトは、Android Studioの上で細かい動作します。
私はいくつかのステップや何かが不足しているかどうかわからない、昨日ionicで始まった。
Java(TM) SE Runtime Environment (build 1.8.0_112-b16)
Android 7.1.1 API 25
Android SDK Tools 25.2.4
Android Platform-Tools 25.0.3
Cordova 6.4.0
node 7.3.0
npm 4.0.5
os x yosemite 10.10.2
'イオン実行android' –