What are the best ways to do unit testing of Android apps?

I would like test my android application. can you please suggest to test the app.

The Android testing framework, an integral part of the development environment, provides an architecture and powerful tools that help you test every aspect of your application at every level from unit to framework. Click here for more details

Check Robolectric, an alternative approach to testing Android apps.

Robolectric allows you to test most Android functionality including layouts and GUI behavior, services, and networking code. It offers much greater flexibility than Google's testing framework in testing some Android features, such as widgets and services.

Watch this video on How to Unit Test Your Android Application

check below two links.