0

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

yennsarah
  • 5,467
  • 2
  • 27
  • 48
  • This looks like you are missing the dependencies for `startapp` Have you added them in your `build.gradle` file? – yennsarah Jan 02 '17 at 10:07

1 Answers1

0

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.

Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65