Skip to main content

Posts

Showing posts with the label Android Studio

How To Solve Gradle Error Failed to resolve: com.android.support:appcompat-v7:26.0.0 When Building An Android App

If you are building your Android applications in Android Studio or another IDE, you may come across the following error: Could not resolve all dependencies for configuration ':app:_debugApkCopy'. > Could not find any version that matches com.android.support:appcompat-v7:27.+. Versions that do not match: 26.0.0-alpha1 25.3.1 25.3.0 25.2.0 25.1.1 + 31 more Required by: project :app > Could not find any version that matches com.android.support:design:27.+. Versions that do not match: 26.0.0-alpha1 25.3.1 25.3.0 25.2.0 25.1.1 + 21 more Required by: project :whateverYourProjectAppNameIs This is happening because there has been a change that requires an update in your code. You used to be able to download the Google support files through the SDK Manager. This is the familiar place where you select all of the items that you want to add and the system will then fetch those items and add them to your setup. Google, however, has now decided that they will not provide support ...

How To Solve The Problem Of Android Studio Not Seeing Your Connected Device On Windows

If you ever need to connect your actual device (ie. phone, wearable device or any other) to your computer to debug your Android program, you have to take a few steps first to make sure your device can be seen by the system on Windows. If you are using a Mac, you are not likely to have this issue, but if you are using a Windows system, you have some initial setup to do. Since the actual steps will be different for each device, I am going to give you a good general overview and then provide you with links to get what you need. There are a multitude of devices out there. Each of these devices operates in slightly different ways. In order to let Windows know about your device, you need drivers. In order to let Android Studio, or any IDE, know about your device, you need drivers. Here are the steps to make sure Android Studio, Visual Studio and Eclipse can see your connected device if you are creating mobile applications on a Windows machine. Enable developer mode and/or USB debugging ...