我正在尝试使用Android Studio在我的真实设备上构建应用程序,但它给了我一个错误:
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not find com.android.support:appcompat-v7:24.2.1 .
Required by:
MyApplication:app:unspecified
已安装appcompat-v7:24.2.1, 位于...\sdk\extras\android\m2repository\com\android\support\appcompat-v7\24.2.1.
我还将此目录放入文件>项目结构中的“库存储库”,但问题未得到解决。非常感谢。