Reputation: 5480
In my Android
Application, the FragmentActivity
object along with all of the support libraries don't seem to be recognised. I've installed a bunch of stuff from the SDK Manager but it's still not resolving/detecting the objects. What am I missing?
minSdkVersion
: 11targetSdkVersion
: 19Upvotes: 0
Views: 58
Reputation: 1007296
What am I missing?
Presumably, you are missing the android-support-v4
portion of the Android Support library being attached to your app.
Make sure you have downloaded the Android Support Repository using the SDK Manager. That will be in the Extras section, towards the bottom of the screen.
Then, in the build.gradle
file for your application, you need to add a compile
directive for com.android.support:support-v4:19.1.0
to your top-level dependencies
closure, adding it if it is not already there:
dependencies {
compile 'com.android.support:support-v4:19.1.0'
}
Upvotes: 1