android-sdk-tools

Android studio default project fails: Error:Failed to resolve: com.android.support:support-v4:25.2.0

强颜欢笑 提交于 2019-11-28 01:25:30
I am literally just starting app development for the first time and the default project when I create a new one will not build. I have tried looking on Google and SO for these errors and have found some but their solutions do not work. Given that I have not edited the files at all, I presume it is an issue with Android Studio not being setup properly but can't figure it out. The errors are as follows: Error:Failed to resolve: com.android.support:support-v4:25.2.0 Install Repository and sync project Open File Show in Project Structure dialog Error:(23, 24) Failed to resolve: com.android.support

How do I install the standalone Android SDK and then add it to IntelliJ IDEA on Windows?

大城市里の小女人 提交于 2019-11-27 21:44:47
This is the webpage showing from where I downloaded the SDK: On extracting the .zip folder, and opening the ' tools ' folder, all I can see in an emulator.exe, mksdcard.exe and a host of .bat files (as shown below). How do I proceed? CrazyCoder In IntelliJ IDEA 2017.1 and 2017.2 setting up Android SDK from scratch is complicated. I would recommended to install Android Studio and manage SDK platform there. This problem will be addressed in one of the nearest updates. If you are brave enough, it's still possible to set it up without Android Studio using the tools\bin\sdkmanager.bat command line

Auto import not working for Android classes in Android studio

情到浓时终转凉″ 提交于 2019-11-27 21:09:02
I am working on a project in Android studio. Suddenly, auto import stopped working in android studio for Android classes, like Android.widgets.Textview, etc. In my settings, auto import is enabled. If I write import android.widget.textview, then TextView shows up in the auto import box. The problem was with android studio indexing. Follow the steps.. Go to 'File' > 'Invalidate caches/restart' Now the studio will shut down and restart. Now indexing begins. On completion of indexing you will find the Suggestion boxes with every possible suggestions. For me, the problem was that "Show import

Missing SDK platform Android, API 18

眉间皱痕 提交于 2019-11-27 21:09:01
问题 While I am trying to Install API 18 it shows only "Google API 18" (nothing more). Now if I try to install these google APIs from Android SDK Manager it shows a message "this package depends on "Missing SDK platform Android, API 18" . and Install button is disabled. Does anybody here have Any idea how to install API 18(4.3_MR2 sdk) with eclipse 回答1: Have you installed SDK platform tool version 18? In your SDK Manager, there will be the latest version of SDK Platform tools that you have to

Qt Creator Android error “Platform SDK installed”

泪湿孤枕 提交于 2019-11-27 20:54:03
问题 I am developing Qt Cross platform application for Android, recently i have updated Qt creator and Installed new Qt version. I am using 'Qt Creator version 4.5.0' . I have updated to 'QT version 5.10' . This Set up is done on Ubuntu 16.04. Followed link Getting Started with QT Installation. I am always getting Error message "Android Settings have error" in Qt Creator->Tools->Options->Devices->Android. Because of above issue i am not able to build application for Android. I have recently

How do I install the standalone Android SDK and then add it to IntelliJ IDEA on Windows?

风流意气都作罢 提交于 2019-11-27 19:10:37
问题 This is the webpage showing from where I downloaded the SDK: On extracting the .zip folder, and opening the ' tools ' folder, all I can see in an emulator.exe, mksdcard.exe and a host of .bat files (as shown below). How do I proceed? 回答1: In IntelliJ IDEA 2017.1 and 2017.2 setting up Android SDK from scratch is complicated. I would recommended to install Android Studio and manage SDK platform there. This problem will be addressed in one of the nearest updates. If you are brave enough, it's

Truncated Android SDK package paths from sdkmanager CLI

跟風遠走 提交于 2019-11-27 19:02:33
./sdkmanager --list > tmp.txt gives me a .txt file like this: Installed packages: Path | Version | Description | Location ------- | ------- | ------- | ------- tools | 25.2.3 | Android SDK Tools 25.2.3 | tools/ Available Packages: Path | Version | Description ------- | ------- | ------- add-ons;addon-g..._apis-google-15 | 3 | Google APIs add-ons;addon-g..._apis-google-16 | 4 | Google APIs add-ons;addon-g..._apis-google-17 | 4 | Google APIs add-ons;addon-g..._apis-google-18 | 4 | Google APIs add-ons;addon-g..._apis-google-19 | 20 | Google APIs add-ons;addon-g..._apis-google-21 | 1 | Google APIs

Android SDK location should not contain whitespace, as this cause problems with NDK tools

空扰寡人 提交于 2019-11-27 18:33:31
Recently I have installed the last version of Android Studio (Android Studio 2.1), keeping the old 1.2 version previously installed. Now i have Android Studio 2.1 and Android Studio 1.2. In Android Studio 1.2 when I click on SDK Manager it works properly, but in Andorid Studio 2.1 this problem appears: how can I fix keeping the two versions of Android studio? Thanks As the warning message states, the SDK location should not contain whitespace. Your SDK is at C:\Users\Giacomo B\AppData\Local\Android\sdk . There is a whitespace character in Giacomo B . The easiest solution is to move the SDK

When I load ADT why do I receive the error “The Android SDK requires Android Developer Toolkit version XX.X.X or above?”

ε祈祈猫儿з 提交于 2019-11-27 18:27:22
I just updated my Android SDK Tools to version 21.1. Unfortunately this is causing an error when I load the Android Developer Toolkit: The Android SDK requires Android Developer Toolkit version 21.1.0 or above. Current version is 21.0.1.2012-12-6-2-58. Please update ADT to the latest version. When I upgraded the SDK I was warned that I might need to upgrade ADT. I tried to do so by going to Help > Check for Updates. Unfortunately this returns a message that "No updates were found." In case I've missed something here's a screenshot of my Android SDK Manager: Am I missing an install package? Do

Cordova : [Error: Please install Android target: “android-21”

南楼画角 提交于 2019-11-27 17:35:40
I just updated cordova + ionic in my app, after that i installed successfully Android-SDK v22 via Android SDK manager. But after the running command: cordova build android I always get the following message: Running command: /Users/peter/workspace/myapp/platforms/android/cordova/build [Error: Please install Android target: "android-21". Hint: Open the SDK manager by running: /Users/peter/adt-bundle-mac/sdk/tools/android You will require: 1. "SDK Platform" for android-21 2. "Android SDK Platform-tools (latest) 3. "Android SDK Build-tools" (latest)] ERROR building one of the platforms: Error: