adt

What is the “Android Private Libraries” folder in Eclipse?

只谈情不闲聊 提交于 2019-12-04 10:07:35
问题 I initially thought it was exclusively for official libraries like the support library. However any time I add a custom JAR using the "Add to build path" menu item, it automatically shows up in both "Referenced Libraries" and "Android Private Libraries". One of these is redundant since there is no point in exporting both at build time. Additionally, "Android Private Libraries" cannot be modified so I can't (easily) add java doc or source paths. Not to mention it just seems wrong that a custom

Eclipse Task List - Mark Completed is not Active

微笑、不失礼 提交于 2019-12-04 09:48:44
The Title says it all. I am using ADT and I have a source code full of //TODO tags. I can go through the tags using the Tasks View but when I want to mark a task as completed the Mark Completed option is grayed out. what is the cause of this and how can I fix it ? deleting the //TODO tags for completed tasks is not an option, I want to be able to review my changes later. Create another task flag in Preferences->Java->Compiler->Task Tags, say // DONE . Then when you fix a TODO, change it in to a DONE which will still remain in the Tasks view but be distingishable You can only mark tasks

Unable to Debug Library Projects with ADT v14 - Source Not Found

房东的猫 提交于 2019-12-04 08:53:20
问题 Ever since upgrading my current projects to use the new R14 Tools in Eclipse, I'm now unable to debug any code that exists in my library projects. When I hit a break point in my library project code, instead of Eclipse opening the original source file, it opens up the read-only copy of the source file contained within the JAR with the message "Source not found". I've searched around for a solution to this, but have yet to come across anything. Does anybody else have any suggestions? It's

Android ADT Eclipse plugin, parseSDKContent failed

ぃ、小莉子 提交于 2019-12-04 07:34:14
I've just set up my first Android development environment consisting of Eclipse 3.5 Mac OSX 10.5 Android SDK for x86 macs ADT Eclipse plugin 0.9.6 I've set set $PATH to my SDK/tools directory (which shouldn't matter if I only use Eclipse right?) and started Eclipse, but when I try to set the path to the SDK in Eclipse, i get the error "parseSdkContent failed". The stack trace of from the thrown exception is java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java:181) at com.android.ide.eclipse.adt.internal.sdk

Android apk Debug mode works fine but release mode gives too many warnings

[亡魂溺海] 提交于 2019-12-04 07:27:58
I'm trying to get a signed APK from eclipse. I have a debuggable apk version that works fine. Now for release when I tried to compile and sign with Eclipse ADT, I get many warnings, most of which is can't find superclass or interface some.package.Class . So, I referred to this , this and many others unfortunately I couldn't reach anywhere! I also get Note: there were 314 duplicate class definitions. warning My progaurd-project.txt was untouched earlier. So, I added -libraryjars /libs/lib-name for each of the jars present at /EcliseProject/libs/ folder. So I came up with the following:

Does the ADT plugin automatically create an ant build file?

喜欢而已 提交于 2019-12-04 07:20:28
I created an Android project a few months ago and now have to automate the build process with Hudson. The Android dev guide mentions a build.xml file that gets created when you generate a project ( http://developer.android.com/guide/developing/other-ide.html ) but I dont see one in my project. Will I have to create this by hand or can I run a command to generate it? The ADT plugin doesn't generate an Ant file. The android command will generate an Ant file when you create a new project from the command line by calling android create project . You could create an example project and copy the

ClassNotFoundException when including a library jar

不问归期 提交于 2019-12-04 06:52:20
In my android project I added a library jar into the libs folder. This jar contains three different packages: google GSON (com.google.gson) jboss netty (org.jboss.netty) A client application I developed myself which uses these two other libs. (com.example.core) The jar is compiled/archived using ant. There are no errors in eclipse, but when I try to run my android app on a device I get this: E/AndroidRuntime(23807): FATAL EXCEPTION: main E/AndroidRuntime(23807): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.project/com.example.project.MainActivity}: java

ADT Eclipse SDK troubles - No DDMS found

倾然丶 夕夏残阳落幕 提交于 2019-12-04 06:12:57
问题 Please help me, I'm having serious trobules with Eclipse for the second time. I'm following a guide and in these last days my Eclipse used to work fine (and was heavy 600 mb), now after the updates I did recommended by the guided, it downloaded a lot of things for hours and my folder now is 12.6 GBs (and it's pretty uncofortable since I'm on a not too large SSD). The problem is that the old ADT worked, after the update every project gives errors, like there is no Android SDK. The console

New Android Application Project - layout file and activity class are not created by ADT

雨燕双飞 提交于 2019-12-04 05:40:21
问题 Environment: Eclipse ADT Build: v22.3.0-887826, Windows 8.1 Host. I make the following steps to create new Android project: File - New Android Application Project. Application Name: Sample, all other fields default: Minimum SDK 8, Target 18, compile with 19. Next. Create custom launcher - off, Create activity - on. Next. Blank activity, Next. SampleActivity, Layout name activity_sample. Finish. Finally, I open package explorer, Sample - res. Layout directory is empty. src directory is also

Can't use some of L SDK features

元气小坏坏 提交于 2019-12-04 05:25:34
I'm trying to use the new Activity transitions in the new SDK. I tried this line: getWindow().requestFeature(Window.FEATURE_CONTENT_TRANSITIONS); But the problem is that Window doesn't include FEATURE_CONTENT_TRANSITIONS . I also tried this line: getWindow().setExitTransition(new Explode()); And Explode class doesn't exist... I already set my project to be compiled with L SDK (android-L) and use the new SDK tools (20.0.0) build.gradle: apply plugin: 'com.android.application' android { compileSdkVersion 'android-L' buildToolsVersion '20.0.0' defaultConfig { applicationId 'com.tester'