android-sdk-tools

How disable Downloading Components in Android Studio first running

混江龙づ霸主 提交于 2019-12-03 06:57:25
问题 I extract Android Studio IDE 135.1740770, Also these packages are installed for SDK: Tools - Android SDK Tools 24.1.2 - Android SDK platform-tools 22 - Android SDK Build-tools 22.0.1 Extras - Android Support Repository 13 - Android Support Library 22.1 - Google Play services 23 - Google Repository 16 - Google USB Driver 11 But when I run Android Studio for the first time, although it asks for location of my sdk folder, but it wants to download older sdk build tools again: - Android SDK Tools

Android studio error: An error occurred while trying to compute required packages

亡梦爱人 提交于 2019-12-03 06:42:31
问题 I'm trying to install the latest Android Studio on a MacBook pro 2015 Unfortunately I get this error: An error occurred while trying to compute required packages. Here a screenshot of the error: which is not very informative. What's causing the problem? EDIT This is the exception I get when I run the application from the terminal: [ 33666] WARN - e.wizard.InstallComponentsPath - Dependant package with key emulator not found! com.android.tools.idea.sdk.wizard.SdkQuickfixUtils

Android - Activity Home/Up arrow has additional padding/margin with SDK 24

↘锁芯ラ 提交于 2019-12-03 04:22:40
问题 I've just updated my app from using SDK 23 to SDK 24. A problem has arisen for my activities that have show the Up/Home arrow (i.e., getSupportActionBar().setDisplayHomeAsUpEnabled(true) ) in that there is now additional (unwanted) space between the Up arrow and the activity title. For activities that don't have an Up arrow, the activity title is in exactly the same place as before, which suggests the additional padding/margin is associated with the Up arrow rather than with the activity

Setting Up the Licensing Verification Library on Android Studio

巧了我就是萌 提交于 2019-12-03 04:14:34
问题 im'triyng to implement the Google Licensing Verification in a Android Studio made app. By following this lines: http://developer.android.com/google/play/licensing/setting-up.html seems tath: As an alternative to adding the LVL as a library project, you can copy the library sources directly into your application. To do so, copy (or import) the LVL's library/src/com directory into your application's src/ directory. I've done this but the import of: import com.google.android.vending.licensing

Navbar overlapping last ListView item (Android)

ぃ、小莉子 提交于 2019-12-03 02:43:40
My problem is similar to above Image I am getting this issue in Nexus Devices. I added margin from bottom by getting Bottom Navigation Bar height. But my application is showing extra margin from the bottom on a tablet. I do not want to change anything in my style file. Code:- <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/main_coordinator_layout" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.design.widget.AppBarLayout

Installing Android Support Repository offline

痞子三分冷 提交于 2019-12-03 02:20:23
问题 I am trying to setup Android Studio + Android SDK on Linux. I was able to setup Android Studio and SDK Tools and other components except "Android Support Repository" (The download kept failing) so I downloaded android_m2repository_r30.zip and tried to place its contents(which is a directory m2repository ) in the SDK directory tree but it is not recognized. I have tried placing in several paths including pathtosdk/extras/android/m2repository , pathtosdk/extras/android/support/m2repository and

List installed sdk package via command line

偶尔善良 提交于 2019-12-03 02:17:57
I want to list the installed sdk packages by command lines.(For some reasons I cannot use the GUI) I have done some research and found out several commands to list the available packages on the remote server, but I fail to find any command to list the installed sdk packages yet. Thanks With Android SDK Tools 25.2.3 (and higher): $ANDROID_HOME/tools/bin/sdkmanager --list See: https://developer.android.com/studio/command-line/sdkmanager.html#usage As described in $ANDROID_HOME/tools/android list --help list : Lists existing targets or virtual devices. list avd : Lists existing Android Virtual

Android SDK Manager - Do you need to install all android platforms?

半世苍凉 提交于 2019-12-03 01:39:44
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 4 years ago . I just recently downloaded the Android SDK. Downloading all the packages in the SDK Manager will take way too much time. So I'm wondering whether I should deselect all the platforms except the latest one. Or do I need all the platforms? Thanks in advance. 回答1: Not at all. You just need to install those platforms which you are targeting for your apps and which you intend to test your

Can not run android/sdk/build-tools/23.0.2/aapt

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 01:16:55
Recently installed Android Studio 1.0.1 (old version for some reasons) on Ubuntu 15, and I am trying to create a new project. Whenever I build it I get this error Cannot run program "/home/user/Android/Sdk/build-tools/23.0.2/aapt": error=2 No such file or directory" The file exists there. sudo apt-get install lib32stdc++6 lib32z1 luffynas please check your compileSdkVersion and buildToolsVersion and targetSdkVersion please same the value. simple : compileSdkVersion "23" buildToolsVersion "23" targetSdkVersion "23" I am using react-native for android. I encountered the same problem Cannot run

Updating to Android SDK Tools R22

前提是你 提交于 2019-12-03 00:48:30
I updated the SDK Tools to R22 and the ADT Plugin as well. Everything worked well before the update but since then, I have problems. Basically I have 2 library projects and an app project. One of my library projects contains some jar files in the "libs" folder. One of these jars is used in the app project itself for some initial setup. Before the update, everything worked fine, but now it asks me to add the jar to the build path and even if I do so, when running the app it still gives me ClassNotFoundException. Did anyone had some similar experience or has any idea about what causes this and