Importing startapp in android studio

849 views Asked by At

I have a problem when I try to import:

android.view.View
StartAppAd
StartAppSDK

When I import these, they are marked as inactive (grey color).

I use this guide, but the error cannot resolve symbol... persists.

I switched to autocomplete for optimized importing. There is a screenshot:

enter image description here

1

There are 1 answers

0
AAryan On

Create libs folder inside android module, may be already present there. Keep StartAppInApp-3.5.6.jar inside libs folder and add dependency section inside build.gradle of android module.

dependencies {

    compile fileTree(dir: 'libs', include: ['*.jar'])

}

Refresh gradle dependency.