草庐IT

widget-hint

全部标签

java - org.eclipse.swt.SWTException : “Widget is disposed” when trying to open AndroidManifest. xml

我正在运行Windows8并使用EclipseKeplerRelease来创建android应用程序。当我单击项目中的AndroidManifest.xml文件时,我会收到一条警报,其中显示以下错误消息:Problemsoccurredwheninvokingcodefromplug-in:"org.eclipse.e4.ui.workbench.swt".异常堆栈跟踪:org.eclipse.e4.core.di.InjectionException:org.eclipse.swt.SWTException:Widgetisdisposedatorg.eclipse.e4.core.

java - org.eclipse.swt.SWTException : “Widget is disposed” when trying to open AndroidManifest. xml

我正在运行Windows8并使用EclipseKeplerRelease来创建android应用程序。当我单击项目中的AndroidManifest.xml文件时,我会收到一条警报,其中显示以下错误消息:Problemsoccurredwheninvokingcodefromplug-in:"org.eclipse.e4.ui.workbench.swt".异常堆栈跟踪:org.eclipse.e4.core.di.InjectionException:org.eclipse.swt.SWTException:Widgetisdisposedatorg.eclipse.e4.core.

java - android.view.inflateexception 二进制 xml 文件行 #1 错误膨胀类 android.widget.relativeLayout

我是android新手。我刚刚制作了一个带有一个文本栏和2个按钮的新布局,但它不起作用,我正在发布堆栈跟踪和我的相关布局文件,对此有什么想法吗?我在那里看到了同样的问题,它说要减少可绘制的大小。但这对我的情况没有帮助,或者我现在对如何减少它没有太多帮助。这是我的一些堆栈跟踪:D/AndroidRuntime(1192):ShuttingdownVMW/dalvikvm(1192):threadid=1:threadexitingwithuncaughtexception(group=0xb60cc4f0)E/AndroidRuntime(1192):FATALEXCEPTION:mai

java - android.view.inflateexception 二进制 xml 文件行 #1 错误膨胀类 android.widget.relativeLayout

我是android新手。我刚刚制作了一个带有一个文本栏和2个按钮的新布局,但它不起作用,我正在发布堆栈跟踪和我的相关布局文件,对此有什么想法吗?我在那里看到了同样的问题,它说要减少可绘制的大小。但这对我的情况没有帮助,或者我现在对如何减少它没有太多帮助。这是我的一些堆栈跟踪:D/AndroidRuntime(1192):ShuttingdownVMW/dalvikvm(1192):threadid=1:threadexitingwithuncaughtexception(group=0xb60cc4f0)E/AndroidRuntime(1192):FATALEXCEPTION:mai

android - 多个dex文件定义Landroid/support/design/widget/CoordinatorLayout$LayoutParams

我的项目中有多个dex文件定义错误。我也在build.gradle中使用这两个标签dexOptions{preDexLibraries=false}defaultConfig{multiDexEnabledtrue}但仍然出现此错误。Information:Gradletasks[:app:assembleDebug]Error:Errorconvertingbytecodetodex:Cause:com.android.dex.DexException:MultipledexfilesdefineLandroid/support/design/widget/CoordinatorLa

android - 多个dex文件定义Landroid/support/design/widget/CoordinatorLayout$LayoutParams

我的项目中有多个dex文件定义错误。我也在build.gradle中使用这两个标签dexOptions{preDexLibraries=false}defaultConfig{multiDexEnabledtrue}但仍然出现此错误。Information:Gradletasks[:app:assembleDebug]Error:Errorconvertingbytecodetodex:Cause:com.android.dex.DexException:MultipledexfilesdefineLandroid/support/design/widget/CoordinatorLa

java - android.support.v7.widget.RecyclerView 无法实例化

我在Eclipse中为API15-21创建了一个Android应用程序项目。我导入了appCompatv7、cardView和recyclerView的库,但在我的XML中添加recyclerView时,android.support.v7.widget.RecyclerView无法实例化。我有带有更新库的最新SDK。java.lang.UnsupportedOperationException:UnsupportedService:accessibilityatcom.android.layoutlib.bridge.android.BridgeContext.getSystemSe

java - android.support.v7.widget.RecyclerView 无法实例化

我在Eclipse中为API15-21创建了一个Android应用程序项目。我导入了appCompatv7、cardView和recyclerView的库,但在我的XML中添加recyclerView时,android.support.v7.widget.RecyclerView无法实例化。我有带有更新库的最新SDK。java.lang.UnsupportedOperationException:UnsupportedService:accessibilityatcom.android.layoutlib.bridge.android.BridgeContext.getSystemSe

android - 在 android Widgets 中实现 ListView

我正在为我的一个应用程序制作一个小部件,其中包括一个ListView。我想在我的小部件上显示2条记录的列表。我搜索了许多论坛和教程,但在小部件中找不到关于ListViews的任何教程。谁能给我一些好的代码/教程,我可以从中学习在AndroidWidgets中实现ListViews。 最佳答案 CommonsGuy在GitHub中有一个示例小部件应用程序,在主屏幕小部件中使用ListView:LoremWidget 关于android-在androidWidgets中实现ListView,

android - 在 android Widgets 中实现 ListView

我正在为我的一个应用程序制作一个小部件,其中包括一个ListView。我想在我的小部件上显示2条记录的列表。我搜索了许多论坛和教程,但在小部件中找不到关于ListViews的任何教程。谁能给我一些好的代码/教程,我可以从中学习在AndroidWidgets中实现ListViews。 最佳答案 CommonsGuy在GitHub中有一个示例小部件应用程序,在主屏幕小部件中使用ListView:LoremWidget 关于android-在androidWidgets中实现ListView,