android-sdk-tools

How to make “Hierarchy Viewer” work in a real device?

我的梦境 提交于 2019-12-04 10:45:19
I am new to android development I started using "Hierarchy Viewer"...it works fine with emulator that comes up with sdk. The thing is I want to use this on a real device. I have made my research and found because of security reasons it works only on emulator and developers phone, from various sources. Official Android Developer Site But I also found that by using the "ViewServer.java" in our project, we can use this tool on real device. GitHub romainguy / ViewServer Link: What I understand is there are 2 things to be done... Include this ViewServer.java into our project Add the INTERNET

Getting Android SDK Tools to work on Raspberry PI

家住魔仙堡 提交于 2019-12-04 09:34:08
问题 I am currently attempting to start developing for Android on the Raspberry PI 2. I have already ruled out the posibility of using an IDE such as Eclipse or Android Studios (yes I know the RPI isn't even meant to be able to run it) so I am now looking at developing from the command line. What I have so far: An arm ported adb Ant tools ( & pand tools ) Now all I need to have is the android executable which is contained in the stand-alone SDK. I have downloaded it from this source ( android

I am getting a no space left on device error

余生颓废 提交于 2019-12-04 08:43:44
I tried installing a tablet as a virtual device and after installing it , It does not even show and my gradle stopped syncing citing no space on device... Also I could not get the gradle vm settings to increase the memory using the option -Xmx512m I could not delete the virtual device as it does not show any as intsalled , i cannot add as it shows no image available and the standalone sdk manager also does not open saying lack of memory... I have a lot of disk and RAM free , and am at a loss... I tried invalidating cache and restarting , that didnt help either... Any help will be appreciated..

Android SDK Lint tool Ignoring NewAPI warnings

China☆狼群 提交于 2019-12-04 08:19:56
I am running the Lint tool from Eclipse(Android SDK). My settings are default and NewApi is set up as Error in my Android Lint Settings However, when I run Lint (by Package Explorer > Android Tools > Run Lint: Check for Common Errors .), It seems to ignore the fact that I have used API methods higher than the android:minSdkVersion in my manifest XML. What am I doing wrong? UPDATE: I tried to do the check by Lint command line tool by: lint "C:\Android\workspace\MyProject" -- still didnot show the newAPI errors However when I did the link check specifically for newAPI: lint --check NewApi "C:

Minimum Packages needed to get started, Android SDK

纵然是瞬间 提交于 2019-12-04 03:03:36
问题 There's a limit to which I can download Packages. So can anyone explain that what will be the essential components that must be downloaded in order to get started with sdk or to just make it work fine. I am searching for the minimal components to be downloaded. When I launch SDK manager it shows up a list showing various packages, Very First Android 6.0 API contains lot's of other packages within, So of them which Packages are must to install. The packages that has been installed are, The

Android SDK tools older version (with working android tool)

安稳与你 提交于 2019-12-04 02:47:50
I've tried to install android SDK from official site. It include latest android SDK tools (version 25.3.1) This package have utility android which is needed by my project (very big one); but this tool is no longer available: The android command is no longer available. For manual SDK and AVD management, please use Android Studio. For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager According to changelog it was discontinued in version 25.3.0 so I tried to check sdkmanager for older versions but unfortunately it only contains single version of tools. How do I get an old

Multiple instances of Android SDK Build-Tools, Bug or Feature?

我是研究僧i 提交于 2019-12-04 02:19:40
For the last couple of months I've been noticing a strange behaviour in the Android SDK Manager. The recently introduced Android SDK Build-Tools don't seem to get updated but instead are recognised as separate packages The list keeps growing and it kind of disturbs me. Now whenever I see a new package I resort to just uninstalling the older version and installing the new one because I suspect there might be version conflicts if I have multiple instances of the same package installed Oddly enough, this behaviour is shwon by every SDK Manager on my system (I have multiple ADT installations in

Getting “package android.support.multidex does not exist” after upgrading to Android Studio 2.3

天大地大妈咪最大 提交于 2019-12-03 22:12:45
I updated from Android Studio 2.2.3 to Android Studio 2.3 yesterday, and I ran into the following two problems: Upon updating, Gradle 3.2 was installed by default, but syncing my project would not work and I kept getting an error saying "Gradle 3.3 is required". Using the default Gradle wrapper doesn't work. The only way to fix this was to download Gradle 3.3 manually and point to the directory in build settings. On running my project, I kept getting a string of errors involving my BaseApplication class which extends MultiDexApplication . The error goes something like this: Error:(19, 62)

Which API level should i download to develop an android app

ぃ、小莉子 提交于 2019-12-03 21:41:39
I am new for android and going to download new android SDK so which level should i choose 8 or newest 21? you should download API 21 obviously and set Minimum SDK as per your requirement. That way you will be able to run your app from early Froyo(If you keep Minimum SDK as 8) phones to Lolipop ones. So when you start with Android Development you will find configuration options in AndroidManifest.xml like MinimumSDK version(minimum version of android you want to support), TargetSDK (max version of OS u want to support) version and CompileSDK (usually equal to target SDk version) version. Take a

Parsing Data for android-21 failed Unsupported major.minor version 51.0 in mac os Eclipse

前提是你 提交于 2019-12-03 14:35:39
i am using Mac os x Yosemite version 10.10.1 And Eclipse Luna 4.4 i integrated Android SDK into Eclipse and it showing the Following Error i searched in net and i came to know that this problem is based on java JDK version problem. in My mac i installed JDK 1.6 and 1.7 and 1.8 as well. i know JDK 1.6 will not support for android 5. so in Eclipse i set the java compiler to JDK 1.7 but after setting if i restart the Eclipse its again setting to JDK 1.6 . My question is which JDK will support the Android SDK in Mac. And How to completely uninstall the JDK 1.6 from my mac machine. i am facing this