android-sdk-tools

Android sys-img-armeabi-v7a-android-23 not found

我与影子孤独终老i 提交于 2019-11-30 20:54:39
I've been using the following command to install abi until today. echo y | android update sdk --no-ui --all --filter sys-img-armeabi-v7a-android-23 But now I got the following error. Error: Ignoring unknown package filter 'sys-img-armeabi-v7a-android-23' Warning: The package filter removed all packages. There is nothing to install. Please consider trying to update again without a package filter. Is anyone having the same issue? I'm using Android SDK r24.4.1. Hirschen There is an issue about this: https://code.google.com/p/android/issues/detail?id=206022 EDIT: Working again EDIT2: As of 2016-11

Travis-CI Android SDK license problems

南笙酒味 提交于 2019-11-30 20:44:07
I'm trying to build my Android project with Travis and currently I'm getting error: A problem occurred configuring project ':app'. > You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 27.0.1]. I don't know how, but yesterday I could solve problem with that: before_install: - yes | sdkmanager "platforms;android-27" But now it doesn't help me. I will be grateful for any advice. Here is build URL https://travis-ci.org/madsunrise/luna-mobile/jobs/325034903 and also I put travis.yml below sudo: required language: android jdk: oraclejdk8

NativeScript can't find Android SDK on Mac OS

孤街醉人 提交于 2019-11-30 19:24:32
问题 I've installed NativeScript and I try to do tns platform add android but it doesn't work. ANDROID_HOME path is correct and I have installed SDK (API 22 and the newest one) and tools (25.0.2). When I run tns doctor it says: WARNING: The Android SDK is not installed or is not configured properly. Cannot find a compatible Android SDK for compilation. To be able to build for Android, install Android SDK 22 or later. You need to have the Android SDK Build-tools installed on your system. You can

Downloading the Android support library from command line

为君一笑 提交于 2019-11-30 18:17:37
How do you download the Android support library via the command line? For example: echo y | android update sdk --no-ui --filter "android-19" echo y | android update sdk --no-ui --all --filter "extra-android-m2repository" android command is deprecated now You can use sdkmanager instead like so: sdkmanager --install "extras;android;m2repository" sdkmanager "extras;android;m2repository" worked for me. I ran in to the error: Warning: File /var/root/.android/repositories.cfg could not be loaded. so I had to create that file before running the above command. touch ~/.android/repositories.cfg 来源:

What is the difference between some “Android Development/SDK tools”?

烈酒焚心 提交于 2019-11-30 17:37:05
What is the difference between the Android Development Tools and the Android SDK Tools and the Android SDK Platform-tools and the Android SDK Build-tools? And why not merge some of them into fewer groups? The 4 tools confused me when I downgrading/upgrading them. akinfermo Well, the Android Development Tools(ADT) is a plugin that is used in combination with Eclipse to develop apps.There is an ADT bundle that is a package that contains everything you need to start creating apps. However the SDK Tools is a downloadable component for the Android SDK . It includes the complete set of development

What is the difference between Google APIs in Android SDK

拟墨画扇 提交于 2019-11-30 16:24:43
问题 Since android 5.0, Google added Google APIs . what is that exactly? And what is the difference between Google APIs intel atom_64 x86 system image and Google APIs intel atom x86 system image? I know that intel atom images is much faster, but there is a lot of them. and what version should I use as my main emulator? 回答1: Since android 5.0, Google added Google APIs. what is that exactly? A few library jars and corresponding documentation. See the add-ons directory in your Android SDK. From add

Tips to shift from App Inventor to Eclipse

淺唱寂寞╮ 提交于 2019-11-30 14:08:49
问题 I am very good with AppInventor to build Android apps. I have good knowledge of C++ and little knowledge of Java and GUI building in Java. Suggest me how should I shift from App Inventor to Eclipse to build Android apps? Which path should I follow? Is building in Eclipse similar to building in AppInventor like defining different components and then handling their events? Or is it much more than that? Please guide me. 回答1: There is also the AppInventor to Java Bridge project at java

Tips to shift from App Inventor to Eclipse

人盡茶涼 提交于 2019-11-30 09:39:49
I am very good with AppInventor to build Android apps. I have good knowledge of C++ and little knowledge of Java and GUI building in Java. Suggest me how should I shift from App Inventor to Eclipse to build Android apps? Which path should I follow? Is building in Eclipse similar to building in AppInventor like defining different components and then handling their events? Or is it much more than that? Please guide me. There is also the AppInventor to Java Bridge project at java.appinventor.org , details see below About: The AppInventor to Java Bridge project is an addition to AppInventor that

Clean Blank Android App fails to build - 'failed to find Build Tools revision 23.0.0 rc1'

醉酒当歌 提交于 2019-11-30 09:37:30
New to Android, Tried to build a clean 'Blank App' android project. I get the below error, which is confusing because I have version 24 installed using the SDK manager not sure why its looking for versoin 23. It doesn't give me any kind of line number to look at though, any suggestions? Thank you. Configuration on demand is an incubating feature. :app:preBuild UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest :app:preReleaseBuild UP-TO-DATE :app:prepareComAndroidSupportAppcompatV72220Library UP-TO-DATE :app:prepareComAndroidSupportSupportV42220Library UP-TO-DATE :app

Android API level annotation for Android libraries

坚强是说给别人听的谎言 提交于 2019-11-30 08:39:29
I am writing an Android library. The vast majority of the interface in the lbirary supports Android API level 10 or above. Some functionality, though, requires a higher API level. For instance, part of the library requires API 18 for Bluetooth Low Energy. For the sake of concreteness, let's say that the library produces three classes ClassA , ClassB and ClassC . ClassA uses functionality available in API 10, ClassB uses functionality available in API 14 and ClassC uses functionality available in API 18. I want to be able to trigger a lint issue (warning/error) whenever someone uses a class