Showing posts with label Android Studio. Show all posts
Showing posts with label Android Studio. Show all posts

Expert Android Studio

Take your Android programming skills to the next level by unleashing the potential of Android Studio

Expert Android Studio

Expert Android Studio bridges the gap between your Android programing skills with the provided tools including Android Studio, NDK, Gradle and Plugins for IntelliJ Idea Platform. Packed with best practices and advanced tips and techniques on Android tools, development cycle, continuos integration, release management, testing, and performance, this book offers professional guidance to experienced developers who want to push the boundaries of the Android platform with the developer tools. You'll discover how to use the tools and techniques to unleash your true potential as a developer.
  • Discover the basics of working in Android Studio and Gradle, as well as the application architecture of the latest Android platform
  • Understand Native Development Kit and its integration with Android Studio
  • Complete your development lifecycle with automated tests, dependency management, continuos integration and release management
  • Writing your own Gradle plugins to customize build cycle
  • Writing your own plugins for Android Studio to help your development tasks.
Expert Android Studio is a tool for expert and experienced developers who want to learn how to make use of the tools while creating Android applications for use on mobile devices.

What’s New in Android Studio 2.1

Android Studio 2.1 is required to try out new features and APIs of the Android N developer preview including the new Jack compiler and Java 8 language support. It also includes performance improvements to Instant Run, and a number of bug fixes and stability improvements.

Android Studio 2.1 is now available to download through the Stable release channel.


Fixed for the time being, error of "umake android" on Ubuntu 16.04: A default framework for category Android was requested where there is none

Android Studio 2.0 on Ubuntu 16.04
Refer to the last post "Error in installing Android Studio on Ubuntu 16.04 using umake", when I install Android Studio on Ubuntu 16.04 using umake, error message show "ERROR: A default framework for category Android was requested where there is none".


Android studio and the sdk changed the download pages significantly.
They've been fixed in master, and will be working again in the next release.

If you need you can clone the repository and install from that.
It's less than ideal, but if it can help you for the time being.

git clone https://github.com/ubuntu/ubuntu-make
cd ubuntu-make
bin/umake android

reference: LyzardKing comments in https://github.com/ubuntu/ubuntu-make/issues/302

This video show how:


Onced installed. openjdk version "1.8.0_03-Ubuntu" will also be installed.


Updated@2016-05-24:
Another approach is to add the ppa to get the latest version.
It's updated frequently as it's easier to upload a version to a ppa.

$ sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
$ sudo apt update
$ sudo apt install ubuntu-make


Error in installing Android Studio on Ubuntu 16.04 using umake

Updated@2016-04-24:
Fixed for the time being, read next post.



I tried to install Android Studio on Ubuntu 16.04 using umake, refer "Install Android Studio 2.0 on 64-bit Ubuntu 15.10 with Ubuntu Make (umake)". It's reported with error of:


$ umake android
ERROR: A default framework for category Android was requested where there is none
usage: umake android [-h] {android-ndk} ...







Android Studio 2.0 and Emulator 25.1.1 are officially now


Android Studio 2.0 and Emulator 25.1.1 are moved to stable release channels.
This release is focused on development productivity by introducing instant run and a much faster emulator. Please see our blog post for more details.

announcement: Android Tools Project Site - Android Studio 2.0 and Emulator 25.1.1 are Available in the Stable, Beta, and Dev Channels

Upgrade to Android Studio 2.0 from 1.5:


Install Android Studio on Ubuntu Linux


To install Android Studio IDE 1.0.1 on Ubuntu, visit https://developer.android.com/sdk/index.html, download Android Studio for Linux.


Follow the steps in https://developer.android.com/sdk/installing/index.html?pkg=studio to set up Android Studio on Linux.
  1. Unpack the downloaded ZIP file into an appropriate location for your applications.
  2. To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh.
    You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.
  3. Follow the setup wizard to install any necessary SDK tools.
about JAVA_HOME:
Before run Android Studio, you have to set JAVA_HOME on your system, point to JDK. Otherwise, will have error of "'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE."


To setup JAVA_HOME on Linux, refer last post "Setup JAVA_HOME and path to JDK on Linux".

Next:
Refer next post up Update Android Studio.


Updated@2015-10-25:
Install Android Studio on 64-bit Ubuntu 15.10 with Ubuntu Make

Android Studio officially IDE for Android


If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio in order to continue to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio.