Created
July 19, 2017 13:09
-
-
Save vivekrk1992/8d4db1b6152fe9c709200ddbbefdbc4e to your computer and use it in GitHub Desktop.
Android SDK setup for ionic-3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
download and install android studio | |
Open android studio click configure icon, select SDK Manager | |
Download needed SDK platform | |
add your path to terminal ~/.bash_profile | |
export PATH=${PATH}:/Users/donny/Documents/android/sdk/platform-tools:/Users/donny/Documents/android/sdk/tools | |
export ANDROID_HOME=/Users/donny/Documents/android/sdk |
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /Users/vivek/Library/Android/sdk/tools/templates/gradle/wrapper
https://dl.google.com/android/repository/tools_r25.2.3-macosx.zip
get the zip file from above this url
extract this zip file - you got a tool directory
place into /Users/vivek/Library/Android/sdk/
run your app deploy command
cordova run android
it automatically download packages from internet
app deployed successfully
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
and run this command
successfully deployed in mobile device