adt

Android Activity under Eclipse/ADT with Project Dependencies (Failed resolving XY)

霸气de小男生 提交于 2019-12-04 00:38:17
问题 I tried to keep a game project quite platform independent so I split it up into three projects from low-level to top android specific level like that: engine, game, android game. The involved classes/interfaces in the error are those: (low level) engine project defines this interface: com.myteam.engine.IGame (mid level) platform independent game project defines those classes: com.myteam.myproject.Game com.myteam.myproject.MyProject (derived from com.myteam.myproject.Game) (top level) android

Android:Bug in build path

安稳与你 提交于 2019-12-04 00:06:12
When I am updating eclipse software and running applications, an error is shown as: "The container 'Android Dependencies' references non existing library 'C:\Project\android-sdk-windows\tools\support\annotations.jar'. Please help me to clear this error and run the applications. all you need to do is updating your sdk through android sdk manager Armin Mustafa After updating SDK manager go to Eclipse -> Help -> Check update -> Install . This will update the ADT corresponding to the SDK update. I had the same problem, i tried the suggested solutions but nothing happened and then I just closed all

Installing ADT plugin in Eclipse for Android development

大兔子大兔子 提交于 2019-12-03 23:29:10
when I tried to install the ADT to eclipse (indigo) the following error came up: Cannot complete the install because one or more required items could not be found. Software currently installed: Shared profile 1.0.0.1316138547364 (SharedProfile_epp.package.java 1.0.0.1316138547364) Missing requirement: Shared profile 1.0.0.1316138547364 (SharedProfile_epp.package.java 1.0.0.1316138547364) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found What does this mean? How can I fix this? I have the 64 bit versions of eclipse and jdk, and I tried to install the ADT through

Eclipse ADT crash when autocomplete popup

女生的网名这么多〃 提交于 2019-12-03 19:30:48
问题 I am using the eclipse ADT-bundle that Google lets you download directly from their site. I am in Ubuntu 13.10 and is using Oracle Java 7. My problem is that Eclipse crashes (freezes) as soon as the autocomplete popup is shown. It seems to be a reported bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=377367 but I cannot find any solution to my problem. Right now I can't develop at all. Anyone who solved this problem? 回答1: Solved it. Found out that you can add -Dorg.eclipse.swt.browser

Eclipse behaving differently while creating new project/activity

爷,独闯天下 提交于 2019-12-03 16:43:06
Whenever I create new project it always creating appcompat_v7 project with my new project. And when I create new android activity it always extend ActionBarActivity and also create fragment_main.xml. I tried to update adt and s\w also still no luck and this code also generated in main activity public static class PlaceholderFragment extends Fragment { public PlaceholderFragment() { } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_main, container, false); return rootView; } }

Cannot create a new android application on eclipse

情到浓时终转凉″ 提交于 2019-12-03 16:42:45
I am a beginner to android development,I have downloaded adt-bundle-windows-x86_64 with android 4.2 and started the eclipse version(Android developer tools) provided with it. But when I click finish after filling all the details in new android application dialog box,the finish button doesn't seem to respond at all. At the first click on finish button an application is created but no java files in it and the dialog box stays still.At least the android 4.2 library is not in the application.src is also empty. I'm working with Windows 7 64bit and JDK 1.6 64bit. Any idea on solving this? Janmejoy

Eclipse: java.lang.NoClassDefFoundError for JDK classes in an Android project

末鹿安然 提交于 2019-12-03 16:38:42
First, I want to mention that I read many stackoverflow posts about NoClassDefFoundError , and I also read about it in many other blogs and websites, but the solutions that people offered didn't fix it. I am running Eclipse 64-bit with the ADT plugin version v21.0.1-543035 on Ubuntu 12.10 64-bit . Everything is 64-bit, Ubuntu, Eclipse and the JRE and JDK that I use (jdk1.6.0_38). I wrote a very small Android App that needs a class from the JDK to run. I isolated the problem a little, and recreated it by creating a new "Android Application Project" with ONLY ONE LINE OF MY CODE (in the main

In Eclipse, how can I quickly access the source of an “android library project” from the source of a project that uses it?

99封情书 提交于 2019-12-03 15:32:40
Project A is an android library project in my workspace(via project properties->android->library: is library). Project A declares classA. Project B uses project A (via project properties->android->library: add...). Project B instantiates classA. When I use F3 ("open declaration") over the classA instance in project B, it leads me to the classA.class in the A.jar that is included in B, built from A. Is there a way to go directly to the source classA.java in project A rather than looking for it in the package explorer? I think this is new to ADT14, formerly there were X_src folder for each

Android Eclipse Support Library: Required version blank

送分小仙女□ 提交于 2019-12-03 14:54:50
问题 I have just downloaded and installed the latest ADT Bundle for Windows available from the Android Developer website. Following this, I installed all the packages in the SDK Manager, including the 'Android Support Library Rev. 18'. Finally, I installed the latest ADT through the 'Help > Install New Software...' menu in Eclipse. I have strictly followed the following guide to create my first project: http://developer.android.com/training/basics/firstapp/creating-project.html But by the last

Fresh install of Eclipse, R cannot be resolved to a variable [duplicate]

只愿长相守 提交于 2019-12-03 14:00:18
This question already has an answer here: “R cannot be resolved to a variable”? [duplicate] 30 answers I have come across the "R cannot be resolved" error countless times but there has always been an easy fix. Sorry to trouble you but I'm stumped this time... I recently decided to dual boot my computer into Windows 7/Ubuntu (previously Windows 7 only) and load Eclipse for my Android app development, however I came across the infamous R cannot be resolved error. After a clean install of Ubuntu 12.10, I set up Google's ADT Bundle from the Android Developer website. I installed the Eclipse, SDK