eclipse-adt

Adt doesn't create default hello world but command line does

妖精的绣舞 提交于 2019-11-26 19:02:58
My ADT worked correctly as same as whatever saw in tutorial until 2days ago when i created a project like before and also i selected "create a blank activity" and i expect it makes a default hello world project for me and a Main.java also a xml layout file, but it doesn't create this default hello world project anymore. i installed and updated Most of things in SDK Manager. i created another workspace and i did whatever i could but it doesn't create default hello world project. but when i create project from command line it works correctly and make a hello world project. why ADT doesn't do

Android - “Parsing Data for android-21 failed”

北慕城南 提交于 2019-11-26 18:22:59
问题 Had the following error in Eclipse after installing Android 5.0 (SDK 21) "Loading data for Android 5.0" has encountered a problem. Parsing Data for android-21 failed unsupported major.minor version 51.0 回答1: Try installing JDK 1.8 and reload Eclipse. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 回答2: Initially I was facing the same issue. I upgraded to JDK1.7. Still issue persist. This is due to the fact that some time eclipse takees the default sdk as 1

CardView inside RecyclerView has extra margins

 ̄綄美尐妖づ 提交于 2019-11-26 18:14:55
问题 I am using a CardView as element inside a RecyclerView. When doing so android automatically generates margins between the cardView and the screen and between different cardViews. <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/galleryCardBGColor" app:cardCornerRadius="2dp" > <android.support.v7

Eclipse and Android XML layouts gives “'default' is not a best match for any device/locale combination”

自作多情 提交于 2019-11-26 16:38:09
问题 This is my first time making an app with XML layouts. In the past I have always dynamically generated my layouts at runtime, so don't worry, I am NOT an Android newbie. Still, this is my first time with static layouts. So what's this message all about? [2010-09-22 20:43:23 - Rockport] 'default' is not a best match for any device/locale combination. [2010-09-22 20:43:23 - Rockport] Displaying it with 'Locale Language ___Region __, Normal Screen, Short screen aspect ratio, Landscape Orientation

Will Eclipse ADT be Deprecated?

走远了吗. 提交于 2019-11-26 15:52:34
问题 Searching the web and the Android Team announcement I couldn't find The answer. Will Eclipse ADT be deprecated when Android studio reach its first stable version? The funniest thing is that they also update eclipse plugin to the latest ADT 22.0.0 Why the Android Team started another IDE instead of continue improving the old good ADT ?? It seems like yesterday when they announced the ADT Bundle with all the android plugins integrated. Personally I could not find the right answer about this. To

How to debug on a real device (using Eclipse/ADT)

扶醉桌前 提交于 2019-11-26 11:59:35
问题 I\'m trying to figure out how to debug applications directly on my phone (HTC Desire). I\'ve installed the USB driver that came with the phone and the phone is listed when using \"adb devices\". How do I configure eclipse/ADT to launch on the phone instead of launching the emulator/virtual device? 回答1: With an Android-powered device, you can develop and debug your Android applications just as you would on the emulator. 1. Declare your application as "debuggable" in AndroidManifest.xml .

Error: This Android SDK requires Android Developer Toolkit version 22.6.1 or above

末鹿安然 提交于 2019-11-26 11:54:54
问题 I have installed adt version 22.6.1 already 2 days ago. It was working fine. Suddenly, When I open eclipse today, it keeps showing me following error: This Android SDK requires Android Developer Toolkit version 22.6.1 or above. Current version is 22.2.1.v201309180102-833290. Please update ADT to the latest version. Here is screenshot of my eclipse\'s Android SDK Manager : I tried with following steps to resolve my issue as discussed in this Link Help | Install new software Select the ADT

Eclipse reports rendering library more recent than ADT plug-in

我怕爱的太早我们不能终老 提交于 2019-11-26 06:54:35
问题 On a new Android SDK installation, the Eclipse Graphical Layout is blank, rather than showing the rendering of the layout. Eclipse displays this message: This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in. The bug report Eclipse reports rendering library more recent than ADT plug-in lists the steps to reproduce. How do I fix this? 回答1: Click Help > Install New Software . In the Work with field, enter: https://dl-ssl.google.com

Adt doesn&#39;t create default hello world but command line does

﹥>﹥吖頭↗ 提交于 2019-11-26 06:45:16
问题 My ADT worked correctly as same as whatever saw in tutorial until 2days ago when i created a project like before and also i selected \"create a blank activity\" and i expect it makes a default hello world project for me and a Main.java also a xml layout file, but it doesn\'t create this default hello world project anymore. i installed and updated Most of things in SDK Manager. i created another workspace and i did whatever i could but it doesn\'t create default hello world project. but when i

ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin

可紊 提交于 2019-11-26 03:55:17
问题 I found some answers to that issue but none worked for me. When getting the last screen in a new project creation, I\'m getting the next message: Unsupported template dependency: Upgrade your Android Eclipse plugin The required version is empty (in some cases appears as 8). The installed version is 18. I already tried many of the solutions I found here, like: Run the SDK manager as administrator Run Eclipse as administrator Re-install the support components from the SDK extra folder and then