Skip to content

Importing Project

Jahir Fiquitiva edited this page Jul 28, 2023 · 5 revisions

Importing the project to Android Studio

First of all install Android Studio Kotlin plugin

  1. Go to File->Settings->Plugins->Install plugin
  2. Search for Kotlin plugin
  3. Install it
  4. Restart Android Studio when install finished

How to import Kuper project into Android Studio

  • Download the project from Github Page by using clone or download button located under code tab. Or just click this link
  • Unzip the project file and put into desired directory.
  • Open Android Studio and open the project folder using 'Open an existing Android Studio project' option.

Changing the app's package.

  • Expand following directories /app/src/kotlin.
  • Right click on kotlin directory.
  • Choose new > package.
  • Enter your package name into the window eg. com.package.name.
  • From expanded default package directory dev/jahir/kuper/app select all *.kt files and cut them (using ctrl+x).
  • Paste these files into your own package directory.
  • Delete default (now empty) package directory.

Note
In case of issues, select FileInvalidate Caches, check Clear file system cache and local history, and click Invalidate and Restart.