android-sdk-tools

Travis CI failed because cannot accept license Constrain Layout

此生再无相见时 提交于 2019-11-27 01:10:51
Before i write this question, i already search same question about this, they did export license because still use alpha version of constrain layout. But now android already release stable version of constrain layout. I tried a lot of setup but still failed.. my latest .travis.yml language: android jdk: oraclejdk8 android: components: - platform-tools - tools # to get the new `repository-11.xml` - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943) - build-tools-25.0.0 - android-25 # Additional components - extra-google-google_play_services - extra-google

libz.so.1: cannot open shared object file

Deadly 提交于 2019-11-27 00:34:34
I am facing an issue on ubuntu 12.04 as : /usr/lib/ndk/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory I tried sudo apt-get install lib32z1 But it says Reading package lists... Done Building dependency tree Reading state information... Done lib32z1 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 610 not upgraded. Please suggest a solution. After checking

How to make Visual Studio 2015 installer know that I already have Android SDK?

扶醉桌前 提交于 2019-11-27 00:28:51
问题 When I am installing Visual Studio 2015 I realized that it says Java SE Development Kit is already exists on the computer. I think installer knew it because of environment variables . That's why I set ANDROID_SDK_HOME and ANDROID_NDK environment variables. But when I launch the installer again it is still aware of only Java Development Kit. Do I set wrong environment names? How to make the installer know that I already have SDK and NDK? 回答1: Visual Studio 2015 installer doesn't use ANDROID

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

怎甘沉沦 提交于 2019-11-26 23:31:08
问题 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

Auto import not working for Android classes in Android studio

有些话、适合烂在心里 提交于 2019-11-26 23:00:51
问题 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. 回答1: 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

Android Unknown Command 'crunch'

倖福魔咒の 提交于 2019-11-26 22:31:20
I just installed Eclipse and Android SDK in Mac OS X. I imported the project to Eclipse and i get the Unknown command 'crunch' error while running the project. How should I solve this issue. Please help me I just update "Android SDK Platform-Tool" to 8 Rev and "Android Asset Packaging Tool" from android sdk manager, and then it works. Have a try! himanshurb After updating to ADT r14, go to Window -> SDK Manager (in Eclipse) Check on 'repository', uncheck "installed" Wait for packages to load, then select all support packages , accept all and install them Restart Eclipse Run your apps on new

Is GUI for Android SDK manager gone?

大憨熊 提交于 2019-11-26 21:29:03
I rarely do something for Android so I'm a bit confused. While back there were two type of installations - Android Studio and just Android SDK. I have IDEA so I don't need Studio. Typically I download SDK that have UI tool to download its components. I just got https://dl.google.com/android/repository/tools_r25.2.3-linux.zip and I can't see UI SDK Manager in it. There is bin/sdkmanager shell script. But it's kinda inconvenient for my purpose because going through output of --list , copy-pasting packages names and running sdkmanager would take too much time. What's the way of installing this

adb server is out of date. killing [duplicate]

帅比萌擦擦* 提交于 2019-11-26 19:04:04
This question already has an answer here: adb server version doesn't match this client 37 answers I'm creating my first react-native project with this tutorial: http://facebook.github.io/react-native/ When it comes to executing code and running react-native run-android I am getting: adb server is out of date. killing... * daemon started successfully * And the app on the android device is obviously not working. I've reinstalled the SDK, tried to adb kill-server and adb start-server , but nothing seems to work I'm using Android 4.4 and Ubuntu 14.04 Open Android Studio, and then update all your

Eclipse doesn't generate MainActivity.java & activity_main.xml

↘锁芯ラ 提交于 2019-11-26 16:15:54
问题 On creating a new Android Application Project, MainActivity.java under its package name should be generated automatically in src folder & activity_main.xml should be created inside layout folder. But it is not created. And also in manifest it doesn`t generate this POC <activity android:name="info.androidhive.slidingmenu.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER"

Android Hello-World compile error: Intellij cannot find aapt

假装没事ソ 提交于 2019-11-26 15:22:53
问题 I'm trying to get set up with an Android development environment using IntelliJ in Ubuntu 12.04. I create an Android Application Module, but when I try to build, I get the following error: android-apt-compiler: Cannot run program "/home/jon/Programs/android-sdk-linux/platform-tools/aapt": java.io.IOException: error=2, No such file or directory Several hours of scouring the internet hasn't helped. By the way, I ran locate aapt in the terminal and found that aapt is located at /home/jon