We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
Inside Android Studio, open the Plugins setting menu.
Mac: Preferences → Plugins
Win: File → Settings… → Plugins
Search for wakatime.
Click the green Install button.
Re-launch Android Studio.
Enter your API Key, then click Save.
Use Android Studio like you normally do and your coding activity will be displayed on your WakaTime Dashboard.