adt

The connection to adb is down, and a severe error has occurred [duplicate]

余生长醉 提交于 2019-12-17 15:35:20
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: The connection to adb is down, and a severe error has occured I am currently trying to develop an application for Android in the latest release of Eclipse. When I try to build and run, the following comes up: [2011-02-17 17:08:03 - <ProgramName>] The connection to adb is down, and a severe error has occured. [2011-02-17 17:08:03 - <ProgramName>] You must restart adb and Eclipse. [2011-02-17 17:08:03 -

When I load ADT why do I receive the error “The Android SDK requires Android Developer Toolkit version XX.X.X or above?”

感情迁移 提交于 2019-12-17 15:33:01
问题 I just updated my Android SDK Tools to version 21.1. Unfortunately this is causing an error when I load the Android Developer Toolkit: The Android SDK requires Android Developer Toolkit version 21.1.0 or above. Current version is 21.0.1.2012-12-6-2-58. Please update ADT to the latest version. When I upgraded the SDK I was warned that I might need to upgrade ADT. I tried to do so by going to Help > Check for Updates. Unfortunately this returns a message that "No updates were found." In case I

How to get Android AVD name from adb device name

谁说胖子不能爱 提交于 2019-12-17 07:43:05
问题 Using the Android SDK from the command line, I can get a list of the running devices available using: ./adb device This gives me the serial number of available devices. How can I get the AVD name of the emulator device from that serial number (like the Eclipse ADT plugin does)? 回答1: The Eclipse plugin does it by connecting to the emulator via tcp/ip. To connect, (for linux), type ~/code$ telnet localhost 5554 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.

Theme.AppCompat.Light.DarkActionBar - No resource found

邮差的信 提交于 2019-12-17 07:29:34
问题 How to use properly Android Support Library because i have this error in my manifest file: android:theme="@style/Theme.AppCompat.Light.DarkActionBar" error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.AppCompat.Light.DarkActionBar'). AndroidManifest.xml /ttab line 39 Android AAPT Problem My friend did this implementing for me previously on other computer, now i have to do this alone. Please help me:) I am using ADT My styles.xml: <resources> <!--

What is “android:allowBackup”?

扶醉桌前 提交于 2019-12-17 06:58:06
问题 Since the new ADT preview version (version 21), they have a new lint warning that tells me the next thing on the manifest file (in the application tag): Should explicitly set android:allowBackup to true or false (it's true by default, and that can have some security implications for the application's data) In the official website, they've written: A couple of new checks: you must explicitly decide whether your app allows backups, and a label check. There's a new command line flag for setting

How can I update my ADT in Eclipse?

夙愿已清 提交于 2019-12-17 04:21:39
问题 I have tried to update my Eclipse. Currently I have till 2.2 Android SDK in my Eclipse. Yesterday I have updated my Eclipse like this: Eclipse -> window -> Android SDK Manager -> I have checked two check-boxes from list. Tools -> Android SDK Tools and Android SDK Platform Tools. I have posted here some last lines of the message which I get from downloading and installing: Preparing to install archives Downloading Android SDK Platform-tools, revision 12 Installing Android SDK Platform-tools,

R.java file is not generated in a library project

时光怂恿深爱的人放手 提交于 2019-12-14 03:24:51
问题 I'm trying to use the SlidingMenu library. As described, I created a new Android project using the library directory, tried "Project > Clean" to generate the R.java but doesn't work. The curious fact is that if I open the project properties and uncheck the "Is Library" all will work and R.java file is generated without errors. Besides the errors with the lack of R.java file, the tab "Problems" presents this: Unparsed aapt error(s)! Check the console for output. If I remove, as suggested in

Android programming is not working in eclipse

本小妞迷上赌 提交于 2019-12-14 02:34:47
问题 My Eclipse was working fine until i updated my sdk.Then suddently everything started to show little weirder.Actyually I was working in Ubuntu 12.04 ,Which stopped showing even Java projects after updation.When I click New-->Project I can't find neither java/Android.I cant even find XML.I have done so many methods listed in some sites.But nothing is working for me.Can anyone please suggest a solution. I have even tried in windows.But same problem happened & it says " Android Development Tools

Error after updating ADT in eclipse

自作多情 提交于 2019-12-14 02:13:45
问题 Last version of ADT in my eclipse was API 16, so I updated ADT (eclipse->Help->Install new software->Work with: ADT ) and then multiple errors occurred!!! I can not even open Android SDK Manager ! There are some Screenshots from error : How can I roll it back?! P.s : Before Updating ADT I tried to add "SQLiteManager" PLugin by copying a jar file into "eclipse/dropins/" folder, but eclipse did not run anymore. So I removed the jar file and eclipsed lunched successfully! 回答1: Recently i faced

Over populating Logcat causes windows to freeze, until hard reboot is performed

穿精又带淫゛_ 提交于 2019-12-14 00:29:42
问题 The title speak for itself, but I would add some pointers I've noticed along the way. I would like anyone which also experience the end result while developing for Android to try to reproduce this and see if this scenario is really the case, and if someone have a solution, that would make me very happy :), it is extremely frustrating that I need to hard reboot my computer while developing... The crash happens when Logcat is over populated. By over populated I mean that from a point in time,