LoginSignup
16
17

More than 5 years have passed since last update.

Android Studioでローカルのaarファイルの取り込む

Posted at

Mavenリポジトリ上ではなくローカルでビルドしたaarを取り込みたい場合はFile → "New Module"でWizardを表示して、"Import .JAR/.AAR"でaarファイルを指定するとaarを取り込んだ新しいModuleが出来ます。

アプリに取り込む際には通常のモジュールを取り込むのと同じ方法で設定します

build.gradle
dependencies {
    compile project(':LocalAARModule')
}

16
17
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
17