-
Notifications
You must be signed in to change notification settings - Fork 686
Description
Hi,
I have problems building and running ionic2 for android. It's perfectly working well for Windows.
This is the error message I get whenever I try building for android:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'android'.
failed to find Build Tools revision 24.0.1
Try:
0=13, 1=10
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.0=66, 1=85, 2=73, 3=76, 4=68, 5=32, 6=70, 7=65, 8=73, 9=76, 10=69, 11=68, 12=13, 13=10, 14=13, 15=10, 16=84, 17=111, 18=116, 19=97, 20=108, 21=32, 22=116, 23=105, 24=109, 25=101, 26=58, 27=32, 28=50, 29=53, 30=46, 31=51, 32=48, 33=50, 34=32, 35=115, 36=101, 37=99, 38=115, 39=13, 40=10
Error: Error code 1 for command: cmd with args: /s,/c,"C:\Users\user1\Documents\Personal\Dev\Ionic\MyIonic2Project\platforms\android\gradlew cdvBuildDebug -b C:\Users\user1\Documents\Personal\Dev\Ionic\MyIonic2Project\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"Caught exception:
undefinedMind letting us know? https://github.com/driftyco/ionic-cli/issues
Meanwhile, I have installed android SDK platform + Android SDK Platform & build tools.
How do I solve this problem?