草庐IT

exception_class

全部标签

android - 如何解决多个 D8 警告 : <Class X> was not found, 它是 default 或静态接口(interface)方法 desugaring <Class Y> 所必需的?

将AndroidGradle插件从3.1.4升级到3.2.x后,我收到多个警告,例如:D8:Type`com.google.gson.reflect.TypeToken`wasnotfound,itisrequiredfordefaultorstaticinterfacemethodsdesugaringof`com.google.gson.reflect.TypeTokenorg.springframework.http.converter.json.GsonHttpMessageConverter.getTypeToken(java.lang.reflect.Type)`D8:Ty

android - 运行 sdkmanager --licences 时出现 "Could not find or load main class java.se.ee"

在androidstudio上构建我的项目时,它要求我接受许可协议(protocol)并使用AndroidStudioSDK管理器完成缺少组件的安装。当我运行“./sdkmanager--licenses”时,出现“无法找到或加载主类java.se.ee”错误。我在stackoverflow上发现了很多类似的问题,但提供的解决方案都不适合我。我已经尝试过:1-降级到java82-exportJAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions--add-modulesjava.se.ee'3-通过添加更改sdkmanager文件:DEFAULT_JVM

尝试使用 Google plus 登录时,Android 应用程序无一异常(exception)地崩溃

我正在开发一个应用程序,它有一个带有Googleplus登录按钮的LoginActivity。我已经在Google的API控制台中启用了Google+API并创建了一个Oauth帐户。这是我的代码的相关部分:Activity类声明:publicclassLoginActivityextendsActivityimplementsOnClickListener,ConnectionCallbacks,OnConnectionFailedListener,PlusClient.OnAccessRevokedListener{privatePlusClientmPlusClient;priv

【Python 错误解决】 ---- pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool

1.错误代码pip._vendor.urllib3.exceptions.ReadTimeoutError:HTTPSConnectionPool(host=‘files.pythonhosted.org’,port=443):Readtimedout.2.报错图片3.报错分析大概率是网络问题,pip提供的网速不足以支撑backgroundremover安装。4.解决办法pip--default-timeout=1688installbackgroundremover-ihttp://pypi.douban.com/simple/--trusted-hostpypi.douban.com5.解

android - React Native FAILURE : Build failed with an exception. 无法解析 ':classpath'。找不到 com.android.tools.build :gradle:3. 0.1

当我发出命令“react-nativerun-android”时,它发生了:失败:构建失败,出现异常。出了什么问题:配置根项目“AsomeProject”时出现问题。Couldnotresolveallfilesforconfiguration':classpath'.Couldnotfindcom.android.tools.build:gradle:3.0.1.Searchedinthefollowinglocations:https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.po

“error“:{“root_cause“:[{“type“:“security_exception“,“reason“:“missing authentication token for REST

出现此401错误{"error":{"root_cause":[{"type":"security_exception","reason":"missingauthenticationtokenforRESTrequest[/idx]","header":{"WWW-Authenticate":"Basicrealm=\"security\"charset=\"UTF-8\""}}],"type":"security_exception","reason":"missingauthenticationtokenforRESTrequest[/idx]","header":{"WWW-Authe

selenium4.15.2 报错Exception managing chrome: error sending request for url 和 打开Chrome浏览器自动退出问题

问题1最近更新了一不小心更新了selenium4.15.2,导致每次运行它都会主动去国外官网请求一遍,因为访问不了国外网址,就加载特别慢最后报错Exceptionmanagingchrome:errorsendingrequestforurl(https://chromedriver.storage.googleapis.com/index.html),然后再运行,一开始以为是webdriver版本和chrome版本不对,网上也没有搜到相关问题,找了好久都没解决。最后卸载最新版,替换清华镜像4.5.0才解决了解决#卸载seleniumpipuninstallselenium#安装清华镜像sel

android - 无法使用 Facebook 帐户工具包 : Error inflating class com. facebook.accountkit.ui.ConstrainedLinearLayout

我正在尝试集成FacebookAccountKit以允许用户使用他们的电子邮件或电话号码进行注册。但是当启动AccountKitActivity时,应用程序崩溃,因为它无法膨胀“ConstrainedLayout”。错误信息:java.lang.RuntimeException:Unabletostartactivityandroid.view.InflateException:BinaryXMLfileline#45:Errorinflatingclasscom.facebook.accountkit.ui.ConstrainedLinearLayout及以下:Causedby:ja

android - IntelliJ 12 + ActionBarSherlock 设置 : Could not find class 'android.support.v4.app.FragmentActivity'

有很多关于IntelliJ12+ABS(ActionBarSherlock)设置的问答。与thisquestion类似的情况但显示不同的错误。整体编译和运行正常,但只有ActivityusingTabNavigation(SherlockActivityimplementsActionBar.TabListener)出现以下错误和崩溃。请注意,我可以使用一般的SherlockActivity显示良好。“找不到类‘android.support.v4.app.FragmentActivity’,从方法com.actionbarsherlock.internal.app.ActionBar

android - 谷歌地图在 Android 上运行良好,但我仍然收到错误 "Could not find class ' maps.i.k',引用自方法 maps.z.ag.a"

通过下载库,将其添加到工作区,然后将其作为库引用,我让GoogleMapsAndroidAPIv2在我的Android应用程序上完美运行。但是一旦包含mapfragment的Activity开始,我仍然会收到此错误Couldnotfindclass'maps.i.k',referencedfrommethodmaps.z.ag.a顺便说一句,我正在使用支持mapfragment这个错误似乎并没有影响到我,也没有使应用程序崩溃,我应该修复它吗?添加listP.SE_SelectJourney是我显示和使用map的地方添加了logcat03-2616:57:14.897:W/dalvikv