草庐IT

find_stuff

全部标签

android - VFY : unable to find class referenced in signature

我有一个简单的android应用程序,它在其构建路径上使用了一个modbus库(“jamod”)。它在我运行时立即崩溃。我在这个问题上有基本相同的问题:Getting"Causedby:java.lang.VerifyError:"但我无法真正解决问题。我的应用程序之前运行良好,现在无论我做什么似乎都不起作用。下面是logcat输出。提前致谢。08-0914:36:47.753:W/dalvikvm(396):VFY:unabletofindclassreferencedinsignature(Lnet/wimpi/modbus/net/TCPMasterConnection;)08-

java - 如何解决 jsoup 错误 : unable to find valid certification path to requested target

我正在尝试解析以下URL的html:https://www.smuc.ac.kr/mbs/smuc/jsp/board/list.jsp?boardId=6993&id=smuc_040100000000我收到以下错误:sun.security.validator.ValidatorException:PKIXpathbuildingfailed:sun.security.provider.certpath.SunCertPathBuilderException:unabletofindvalidcertificationpathtorequestedtargetatsun.secur

c# - Xamarin.Android 上的 JsonSerializationException 'Unable to find a constructor'

我的代码有这个非常奇怪的问题,这是一个相当新的问题,考虑到半年前我还没有遇到过它。长话短说,我在Xamarin中制作了一个应用程序,并于大约半年前在所有3家商店(AppStore、GooglePlay和MicrosoftStore)上发布了它。昨天一位用户报告了Android应用程序的问题,在我修复并重新编译之后,我现在遇到了Json.NET的新错误异常(exception)情况是Newtonsoft.Json.JsonSerializationException:UnabletofindaconstructortousefortypeRowlog.Common.Dtos.Compre

安卓运动事件 : find out if motion happened outside the view

我有一个按钮和附加到它的OnTouchListener。我怎样才能找到运动(当用户按下按钮时)发生在它的内部还是外部?event.getAction()和event.getActionMasked()都只返回0、1或2,分别是ActionDown、ActionUp、ActionMove。有一个常量MotionEvent.ACTION_OUTSIDE,它是4,但不知何故,即使我将触摸拖到按钮外,我也没有收到它-我仍然从这两种方法收到2。有什么问题?UPD:我找到了很好的解决方案-只需在ACTION_UP之后检查View的聚焦状态。如果它没有聚焦,则意味着移动发生在View之外。

android - Clean Blank Android 应用程序无法构建 - 'failed to find Build Tools revision 23.0.0 rc1'

Android新手,尝试构建一个干净的“空白应用程序”android项目。我收到以下错误,这令人困惑,因为我使用SDK管理器安装了版本24,但不确定为什么要寻找版本23。尽管它没有给我任何类型的行号,但有什么建议吗?谢谢。Configurationondemandisanincubatingfeature.:app:preBuildUP-TO-DATE:app:preDebugBuildUP-TO-DATE:app:checkDebugManifest:app:preReleaseBuildUP-TO-DATE:app:prepareComAndroidSupportAppcompat

android - activity_main.xml : Failed to find the style corresponding to the id 2130771996

我在EclipseLuno中创建新项目时遇到问题。在我将AndroidEclipseSDK更新为API22之后,我开始遇到这个问题,布局在activity_main的图形布局中未正确显示。ThisisImageLinkofHowitslookWhenIcreateNewProject为了显示布局,我需要将其传输到API20中,然后它才能工作。错误只显示在错误日志中,而不是问题部分。ThisisErrorLog请帮忙。附言当我选择API级别20时就可以了,然后布局完全正常并且正常没有错误。 最佳答案 尝试更改为下图所示的较低版本,它应

安卓数据绑定(bind) : can't find the setter for attribute

不确定它是如何工作的,但根据thispost可以使用不同的命名空间来绑定(bind)特定的监听器。我想对searchview做同样的事情并将QueryTextListener绑定(bind)到它,但我收到以下错误:Cannotfindthesetterforattribute'bind:setOnQueryTextListener'withparametertypeandroid.widget.SearchView.OnQueryTextListener.我在ViewModel中做了什么:publicclassMembersFragmentViewModelextendsBaseObs

android - react native : Could not find com. android.tools.build :gradle:2. 2.3

我正在使用reactnative制作一个android应用程序,这是我遇到的错误:FAILURE:Buildfailedwithanexception.*Whatwentwrong:Aproblemoccurredconfiguringproject':react-native-fetch-blob'.>Couldnotresolveallartifactsforconfiguration':react-native-fetch-blob:classpath'.>Couldnotfindcom.android.tools.build:gradle:2.2.3.Searchedinthe

android - 错误 : cannot find symbol method getMap() after dependencies update

更新我的依赖项后,我的getMap()将无法工作。(在更新之前它曾经工作得很好)这是我得到错误的代码行GoogleMapmap=((MapView)mRootView.findViewById(R.id.fragment_map_mapview)).getMap();LocationlocationNet=locationManager.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);LocationlocationGps=locationManager.getLastKnownLocation(LocationManage

android - intellij 在 android xml 文件中说 "cannot find declaration to go to"

这个问题在这里已经有了答案:IntelliJcannotfindanydeclarations(35个答案)关闭2年前。当我在themes_holo.xml(Android系统文件)中找到声明时,Intellij告诉我:cannotfinddeclarationtogoto这里是提到的代码:@null@style/DialogWindowTitle.Holo.Light...@style/PreferencePanel.Dialog