android-sdk-tools

Android studio SDK location error

夙愿已清 提交于 2019-12-24 02:07:29
问题 I would like to ADT project to Android Studio project but still have some problem. See the below picture. But I think I set up SDK and JDK path correctly. Is there anything I have to check? Your answer would be appreciate. EDIT I have set ANDROID_SDK_ROOT , ANDROID_NDK_ROOT and moved the SDK into /Users/spark/Library/Android/sdk according to the answers. But it's not working. 来源: https://stackoverflow.com/questions/27594858/android-studio-sdk-location-error

Proguard failing with 25.1.6 release of Android tools

北慕城南 提交于 2019-12-23 10:19:11
问题 I downloaded the 25.1.6 release of Android tools today and I'm noticing that proguard is falling over with this error: Error:Execution failed for task ':app:transformClassesWithNewClassShrinkerForDebug'. > /usr/local/opt/android-sdk/tools/proguard/proguard-android.txt line 43:15 extraneous input '[]' expecting ')' I'm certain that I've not changed anything in the proguard-android.txt file. Line 43 reads for me as follows: void set*(%[]); I'm noticing that the file here... https://android

How do I configure Androids sdkmanager command line tool to use custom repository?

和自甴很熟 提交于 2019-12-23 03:00:28
问题 Is it possible to configure Google's Android sdkmanager to download dependencies through a custom repository instead of dl.google.com/android/repository ? Background: I'm setting up an Android build agent behind a corporate firewall with no direct Internet access. I can access a repository server on LAN that acts as a mirror to pre-configured remote repositories. I've downloaded SDK Tools from here https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip On a machine with Internet

SDK Manager in Android Studio

醉酒当歌 提交于 2019-12-22 18:38:17
问题 I just installed Android Studio. How do I run SDK Manager in Android Studio? The Android docs say to go to Configure->SDK Manager. But when I do that, the SDK Manager button is grayed out: Is there something else I need to do or download? 回答1: You will have to link the android sdk to intelliJ. Go to Project Defaults > Project Structure. Give the path to the SDK in the Android SDK location. If this is done, you will be able to run the SDK manager. If you don't have the SDK tools, download them

Upgrading Android ADT to 15 says logcat(deprecated)

只谈情不闲聊 提交于 2019-12-22 09:47:44
问题 I upgraded my eclipse with ADT plugin from 10.0 to 15.0 because I was getting an error when I imported a project "This project requires you to upgrade the ADT to 14.0 and above" When I upgraded the ADT, logcat is deprecated.Any idea why? Window ->Show View ->Others ->logcat(deprecated). This is how it occurs. I can still see the log...no issues with that,but I am apprehensive about its longevity. 回答1: You should see two entries in the Others list: LogCat and LogCat (deprecated). The latter

How do I install Android SDK Platform-Tools 24.0.0?

[亡魂溺海] 提交于 2019-12-22 07:11:31
问题 I'm following the guide for setting up the Android N Preview https://developer.android.com/preview/setup-sdk.html In "Update or Create a Project" Google says I need to have 24.0.0 platform tools. Just be sure that you've updated your project to use Android SDK Build Tools 24.0.0 and Android SDK Platform-Tools 24.0.0. I have installed the new SDK Platform: Android 6.X (N), API Level 24, Revision 1. However when I open SDK Tools the only Android SDK Platform-Tools version is 23.1. I have

Flutter run error : You have not accepted the license agreements

霸气de小男生 提交于 2019-12-22 03:41:14
问题 I'm developing android and ios app with Google flutter. when I add a new dependency like shared_preferences to pubspec.yaml and then execute flutter run in terminal, I got this error: What went wrong: A problem occurred configuring project ':shared_preferences'. You have not accepted the license agreements of the following SDK components: [Android SDK Platform 27]. I know why it happens! because the latest Android SDK platform on my system is 26 . it trys to download sdk 27 and then fails. no

SDK Manager is missing older Android System images for emulator

我是研究僧i 提交于 2019-12-22 01:24:58
问题 I've just did fresh installs of the ADT bundle (20130522) and the Android Studio. (because my eclipse install got screwed up again, but that's another story.) In either version, when I launch the SDK Manager, I don't have any system images for 2.2, only an x86 image for 2.3.3, and no images for 3.0, 3.1, and 3.2. I couldn't find any official word as to why they've been removed. Is there now a better way to test on those platforms rather than by using the emulator images? 回答1: Check the

Android - no known package when getting value for resource number

走远了吗. 提交于 2019-12-21 20:23:37
问题 I have recently updated my android sdk, and all of a sudden when i try and build my android app, the app appears on my device, but doesnt take the app icon and the name is the package name not the app name, and then crashes straight away. In the logcat, the image below is produced: Has anyone else experienced this, or know how to fix it?!! Thanks in advance 来源: https://stackoverflow.com/questions/26488866/android-no-known-package-when-getting-value-for-resource-number

How to create API-15 emulator with Google Play Services (Command Line)

痴心易碎 提交于 2019-12-21 17:01:39
问题 One user of my app is facing certain issues specifically on API Level 15 (4.0.4) , and I would like to reproduce the issue on my end. I don't have a 4.0.4 device, and I would like to create and emulator for this purpose. I'm running Android Studio 2.0-beta6 , and the GUI AVD Manager does not show any API-15 emulator images at all. So, I have then used the standalone SDK manager to install an API-15 level x86 system image, and then created an AVD from command line as follows. $ android create