Problems to compile in Android Studio

Asked

Viewed 182 times

1

I created my first Project in Android Studio defining as Minimums SKD the API 23 Android 6.0 (Marshmallow). Then I created a virtual device in AVD Manager with the following settings: Nexus 5 API 24 (Nougat). I am trying to run the project in this emulator, but the following error is returned:

Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
   > Could not find any matches for com.android.support:appcompat-v7:24.+ as no versions of com.android.support:appcompat-v7 are available.
     Required by:
         Primeiro:app:unspecified

How do I run on AVD

  • You are using com.android.support:appcompat-v7:24, or API 24, but in Android studio you have configured API23. Try matching to see if it works.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.