xiaoyaosoft / adt-addons

Automatically exported from code.google.com/p/adt-addons
0 stars 0 forks source link

API Analysis plugin crash with ADT 11 #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have the API Analysis plugin installed
2. Update to ADT 11
3. Try to build your project

What is the expected output? What do you see instead?
Build fails with the following exception: 

java.lang.NoSuchMethodError: 
com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper.parse(Lcom/an
droid/sdklib/io/IAbstractFile;ZLcom/android/ide/eclipse/adt/internal/project/Xml
ErrorHandler$XmlErrorListener;)Lcom/android/sdklib/xml/ManifestData;
at 
com.android.ide.eclipse.api.analysis.compiler.ApiAnalysisCompilationParticipant.
isActive(ApiAnalysisCompilationParticipant.java:256)
at 
org.eclipse.jdt.internal.core.JavaModelManager$CompilationParticipants.getCompil
ationParticipants(JavaModelManager.java:318)
at 
org.eclipse.jdt.internal.core.builder.JavaBuilder.initializeBuilder(JavaBuilder.
java:587)
at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:167)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:3
11)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

What version of the product are you using? On what operating system?
The latest version of the plugin (as far as I know. I used the update site).

Original issue reported on code.google.com by bodlu...@gmail.com on 7 Jun 2011 at 8:58

GoogleCodeExporter commented 9 years ago
Having the same problem.
I actually submitted a bug thinking it was the ADT tools 11.
See: http://code.google.com/p/android/issues/detail?id=17455

Can we get this fixed ASAP please? It's a bit of a show-stopper.
I'm going to have to disable the analysis plugin because I can't actually work 
with the errors popping up.

Original comment by o...@sixgreen.com on 7 Jun 2011 at 3:28

GoogleCodeExporter commented 9 years ago
Disabling the plugin doesn't work to remove constant error popping up.
It must be completely removed.

This issue need to have its priority updated!

Original comment by o...@sixgreen.com on 7 Jun 2011 at 6:43

GoogleCodeExporter commented 9 years ago
You just need call Help>Check for Updates or install plugin again.
Now, the plugin is compatible with ADT 11 (and ADT 12 ?)

Original comment by snp...@gmail.com on 8 Jun 2011 at 12:08