我最近安装Eclispe Juno for Java了Android.我通常.在类名后面按下以了解相关的方法,如果我想选择其他方法而不是从此列表中选择的方法,则会在IDE中弹出以下错误.
如何告诉IDE这不是错误,并且不需要一次又一次地弹出此消息?

以下是Eclipse的错误日志
!ENTRY org.eclipse.jface 4 2 2012-07-01 02:04:29.242
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
at org.eclipse.ui.texteditor.EditorStatusLine$StatusLineClearer.selectionChanged(EditorStatusLine.java:41)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
at org.eclipse.jface.text.TextViewer.fireSelectionChanged(TextViewer.java:2738)
at org.eclipse.jface.text.TextViewer.selectionChanged(TextViewer.java:2717)
at org.eclipse.jface.text.TextViewer.setSelectedRange(TextViewer.java:2402)
at org.eclipse.jface.text.link.LinkedModeUI.select(LinkedModeUI.java:933)
at org.eclipse.jface.text.link.LinkedModeUI.switchPosition(LinkedModeUI.java:851)
at org.eclipse.jface.text.link.LinkedModeUI.next(LinkedModeUI.java:798)
at org.eclipse.jface.text.link.LinkedModeUI.enter(LinkedModeUI.java:717)
at org.eclipse.jdt.internal.ui.text.java.ParameterGuessingProposal.apply(ParameterGuessingProposal.java:174)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.apply(AbstractJavaCompletionProposal.java:477)
at org.eclipse.jdt.internal.ui.text.java.LazyJavaCompletionProposal.apply(LazyJavaCompletionProposal.java:488)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:940)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertSelectedProposalWithMask(CompletionProposalPopup.java:891)
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.verifyKey(CompletionProposalPopup.java:1323)
at org.eclipse.jface.text.contentassist.ContentAssistant$InternalListener.verifyKey(ContentAssistant.java:808)
at org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(TextViewer.java:491)
at org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener.java:65) …Run Code Online (Sandbox Code Playgroud) 我间歇性地遇到这个问题,Android 中的 DDMS 不显示任何应用程序的名称,如下图所示

考虑到日志消息的数量,如果不为特定应用程序设置过滤器,就不可能看到相关消息,这成为一个主要问题。
我的问题
DDMS 设置需要进行哪些更改才能始终在消息中显示应用程序名称?
我正在使用IntelliJ IDea 11.1.3进行Android开发,我必须承认它是一个很棒的工具.关于如何在IDE中使用Proguard我几乎没有疑问.
我在Open Module Settings - > Facets下找到了Run Progaurd的选项,如下图所示
Run Proguard需要一个Config File的位置,默认为proguard-project.txt.接下来是一个复选框,其中显示Include system proguard file.
此复选框选项中引用了什么系统Proguard文件?
鉴于Proguard的所有配置都在Android SDK的proguard-android.txt中.proguard配置如何在IntelliJ Idea中运行?
Android OS中使用SQLite3的CREATE INDEXAND 之间有何区别CREATE UNIQUE INDEX?索引如何在数据库中工作?它们与表中的列有何关系?
如何在不删除的情况下用新实例替换Amazon EC2实例tomcat7,mysql并在实例上完成其他设置?
对于GCM Android文档在这里声明
数据参数中的键对值,它们在此意图中作为附加项提供,键是额外的名称.
private void handleMessage(Intent intent) {
// server sent 2 key-value pairs, score and time
String score = intent.getExtra("score");
String time = intent.getExtra("time");
// generates a system notification to display the score and time
}
Run Code Online (Sandbox Code Playgroud)
但是intent.getExtra()方法不接受参数
public Bundle getExtras ()
Since: API Level 1
Retrieves a map of extended data from the intent.
Returns
the map of all extras previously added with putExtra(), or null if none have been added.
Run Code Online (Sandbox Code Playgroud)
我的问题
如何从onMessage()方法中的GCM消息中检索"字符串" ?
PS …
我已经从Eclipse导入了一个Android项目到IntelliJ Idea.该项目使用Android Library Actionbar Sherlock?
我的问题
如何在IntelliJ Idea CE中的导入项目中包含Android库Actionbar Sherlock?
我正在尝试使用Proguard来混淆我的Android应用程序.此外,我正在使用IntelliJ Idea 11.1.3构建发布已签名的APK,并在Open Module Settings - > Facets - > Compiler - > Run Proguard中选择Run Proguard选项.
当我不使用Proguard时,应用程序正在编译时没有任何错误,但是对于Proguard,我收到以下错误
Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.Introspector
Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.BeanInfo
Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.PropertyDescriptor
Error:[MyApp] Warning: org.apache.commons.collections.BeanMap: can't find referenced class java.beans.IntrospectionException
Error:[MyApp] Warning: there were 14 unresolved references to classes or interfaces.
Error:[MyApp] You may need to specify additional library jars (using '-libraryjars').
Error:[MyApp] Error: Please correct the above warnings …Run Code Online (Sandbox Code Playgroud) 可能的重复:
Java:子包可见性?
这是问题Java:子包可见性?. 询问的原因是为了引起更广泛的社区的注意。
问题odp.proj 和 odp.proj.subpackage 这两个包之间有关系吗?
我试图在Ubuntu 12.04中运行以下命令
$ mvn jetty:run
Run Code Online (Sandbox Code Playgroud)
并得到以下错误
2013-09-04 13:21:32.843::WARN: failed SelectChannelConnector@0.0.0.0:8080
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:205)
at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:304)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.Server.doStart(Server.java:233)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:371)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:307)
at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:203)
at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at …Run Code Online (Sandbox Code Playgroud) android ×7
eclipse ×2
java ×2
proguard ×2
amazon-ebs ×1
amazon-ec2 ×1
eclipse-juno ×1
maven ×1
package ×1
port ×1
sqlite ×1