If you want to make it permanent just add those lines in the /.bashrc file. export ANDROID_HOME=$HOME/your sdk pathexport PATH=$PATH:$ANDROID_HOME/tools. ![]() For that in the console just type these (remember to change to your current location) After you have downloaded SDK tools you have to set android home path in your machine.Your system is now ready to build programs using Gradle. You can run the following command to check if the Gradle install was successful. export PATH=$PATH:/opt/gradle/gradle-3.4.1/bin sudo unzip -d /opt/gradle gradle-3.4.1-bin.zipĬonfigure the PATH environment variable so that the executable file of gradle can be directly executed anywhere on the system.Or if you want to install it permanently put below line in your ~/.bashrc file which is in your home directory to see that file press Ctrl+h in your directory. ![]() sudo mkdir /opt/gradleĮxtract the downloaded archive to the newly created directory. Install GradleĬreate a directory for the Gradle installation. You can always check the Gradle release page to look for the link to the latest version of Gradle. Run the following commands to download Gradle to your system. Run the following command to install JDK 8 on your system. To test hardware related plugins we must have to run our application in real android device.To run an ionic application in android device using ubuntu system follow below steps. Not only is it the only way to accurately test how your app will behave and perform, many Ionic Native plugins will only work when they are run on actual hardware. ![]() Testing your app in the browser with ionic serve or with an emulator is fast, easy and convenient when your app is in development, but eventually you’re going to have to test on a device.
0 Comments
Leave a Reply. |