eclipse-adt

Replace (or “Override”) String in Android Library Project

筅森魡賤 提交于 2019-11-28 19:12:36
I've been trying to make an android library project, and while the build process works fine, I've been running into some trouble with replacing a resource in the project which uses the library. In my library I have: A library_layout.xml containing <TextView android:id="@+id/str_my_string" android:layout_width="wrap_content" android:layout_text="wrap_content" > A java file which calls ((TextView)this.findViewById(R.id.str_my_string)).setText(R.string.my_string); A resource strings.xml containing <string name="my_string">Placeholder</string> In the project using the library I have A resource

What is the final version of the ADT Bundle?

笑着哭i 提交于 2019-11-28 15:28:57
What is the final version of the ADT Bundle that was released by Google? Since " Android Studio " was announced as official IDE for the development of Android apps, the ADT Bundle (Eclipse with ADT Plugin & Android SDK) cannot be downloaded from developer.android.com any longer. I also could not find a version history for the ADT Bundle . I need the final version number in the form " YYYYMMDD ", so I can determine the URL for downloading according to the following pattern (see also this answer ): http://dl.google.com/android/adt/adt-bundle-windows-x86_64-<YYYYMMDD>.zip For example, the

Can't update ADT plugin in Eclipse to version 23.0.0 or above

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 08:54:29
I am beginner in Android programming. My problem is, that I can not update ADT. The problem started, when after a long time I have updated in Android SDK Manager the Android SDK Tools. Then I was trying to import a project into the workspace. But I couldn't import that, because every time I clicked the Finish button, nothing happened. Then I closed Eclipse and opened it again, and showed me the following error: I clicked on the Check for Updates, but it didn't find anything. On the Internet I have found an URL , so I clicked Help-->Install New Software...--> Add--> and pasted this URL. When I

Java/Eclipse - No more R file ever

此生再无相见时 提交于 2019-11-28 05:45:32
I'm on Eclipse for hours now and I didn't found a solution yet for my problem even after many searches on internet: I have no more R.java file on my projects. On just created or on my old projects, i don't have R file anymore and I tried so many solutions (uninstall, re-install Eclipse, clean my project, check all my XMLs, fix problem with android tool and so on ...) Please someone can tell me what to do in this case? Rany Ishak Hey If you just updated to ADT Rev 22 : I had the problem too. There is a new component in the Tools folder called "Android SDK Build-tools" that needs to be installed

Parsing data for Android L failed.Unsupported major.minor version 51.0

我们两清 提交于 2019-11-28 02:43:02
问题 After installing ADT Plugin for Eclipse, I tried to make a new Hello world Android app. But I met with the following error when I tried to open a new Android Application. I'm working with JDK 7.0 and JRE 7.0. I initially worked with JDK 6.0, but met with the same error, hence I uninstalled it and installed JDK 7.0 and changed the path settings respectively. The error clearly is: Loading data for Android L(Preview) has encountered a problem. Parsing data for Android L failed.Unsupported major

ClassNotFoundException on AndroidAnnotations generated classes since update to ADT 22

旧巷老猫 提交于 2019-11-27 22:55:42
This project worked wonders before updating to ADT22. I already lost a day because of not knowing I had to download build tools , and I'm afraid I'm going to loose another one because of this. When I try to build the same code that was working two days ago, I get this exception: com.cidaut.blueparking fatal error : Unable to instantiate activity \ ComponentInfo{com.cidaut.blueparking/com.cidaut.blueparking.SplashScreen_}: \ java.lang.ClassNotFoundException: \ Didn't find class "com.cidaut.blueparking.SplashScreen_" on path: \ /data/app/com.cidaut.blueparking-1.apk java.lang.RuntimeException:

Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder

孤人 提交于 2019-11-27 21:52:50
When I try to run my Android project on Eclipse ADT, I see this in the Console: [2017-03-24 15:34:41 - Dex Loader] Failed to load C:\Users\jaimemontoya\android-sdks\build-tools\26.0.0-preview\lib\dx.jar [2017-03-24 15:34:41 - CouponClub] Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder! I am using Eclipse Neon.2 Release (4.6.2): This is the package configuration I have as seen from the Android SDK Manager: What I understand from that error is that it failed to load dx.jar because it is trying to load it "from the SDK folder". The message even uses an

Replace (or “Override”) String in Android Library Project

荒凉一梦 提交于 2019-11-27 20:34:43
问题 I've been trying to make an android library project, and while the build process works fine, I've been running into some trouble with replacing a resource in the project which uses the library. In my library I have: A library_layout.xml containing <TextView android:id="@+id/str_my_string" android:layout_width="wrap_content" android:layout_text="wrap_content" > A java file which calls ((TextView)this.findViewById(R.id.str_my_string)).setText(R.string.my_string); A resource strings.xml

Android Emulator is not starting in Ubuntu

橙三吉。 提交于 2019-11-27 15:17:39
问题 I have Ubuntu 11.04 and i downloaded latest eclipse ADT bundle, i also have installed all ia32libs , i dont know why the emulator is not starting, i have tried various device configurations, i have 4 platforms 2.2, 2.3 , 4.0 ,4.2. i have tried various permutation and combination, but virtual device does not show up-none of them. I have also tried various solutions in other SO'questions, they do not solve my problem. i have been stuck in these for weeks , still i have reached no where?Please

Android - “Parsing Data for android-21 failed”

寵の児 提交于 2019-11-27 14:16:13
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 Try installing JDK 1.8 and reload Eclipse. http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Amit 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.6. To resolve this: Change the environmental path to point 1.7/1.8 Open Eclipse and goto windows tab->