草庐IT

com_codename

全部标签

android - 错误膨胀类 com.astuetz.PagerSlidingTabStrip

在我将我的Androidstudio从2.3.3更新到3.0并在编译和运行后出现此错误(rrorinflatingclasscom.astuetz.PagerSlidingTabStrip)请查看下面的日志错误:android.view.InflateException:BinaryXMLfileline#0:BinaryXMLfileline#0:Errorinflatingclasscom.astuetz.PagerSlidingTabStripatandroid.app.ActivityThread.performLaunchActivity(ActivityThread.jav

android - 错误 :Unable to resolve dependency for ':app@debug/compileClasspath' : Could not resolve com. android.support :appcompat-v7:26. 0.0-beta1

我有androidstudio2.3.3,我安装了androidstudio3.0.1。我无法同步项目这是我的错误:E:\AndroidProject\...\app\build.gradleUnabletoresolvedependencyfor':app@debug/compileClasspath':Couldnotresolvecom.android.support:appcompat-v7:26.0.0-beta1.OpenFileShowDetailsError:Unabletoresolvedependencyfor':app@debug/compileClasspath

微信小程序使用阿里巴巴iconfont,报错Failed to load font http://at.alicdn.com/t/..........

介绍上篇文章,介绍了,在微信小程序里导入并使用阿里巴巴iconfont图标;但是在页面里使用后,可以看到后台日志有打印错误信息,具体报错如下:分析报这个错,是因为项目里使用了iconfont字体图标,但是这个链接在小程序后台没有备案在后台配置一下白名单即可。具体方式如下:点击链接https://mp.weixin.qq.com/,并进行登录,进入到小程序后台,点击开发下的开发管理选中开发设置在服务器域名下,选择downloadFile合法域名,j进行添加即可,如下所示,这里我加入的是https://at.alicdn.com

android - Android "Login failed: com.facebook.android.DialogError: The connection to the server was unsuccessful"中的 Facebook 错误

我在我的应用程序中使用facebook将数据发布到facebook。但是当我尝试facebook的androidsdk中给出的示例时。它给我这个错误“DEBUG/Facebook-authorize(749):登录失败:com.facebook.android.DialogError:与服务器的连接不成功”谢谢,阿比 最佳答案 我认为这个问题是由于许多请求从android发送到facebook造成的。第二天开始工作。 关于android-Android"Loginfailed:com.f

android - Eclipse 给出此错误 : "Could not create the view: com.android.ide.eclipse.ddms.views.LogCatView"

我刚刚安装了Kepler,当我尝试在MacOSX下运行它时,logcat窗口只包含以下错误消息:Couldnotcreatetheview:com.android.ide.eclipse.ddms.views.LogCatView事实上,UI中有几个窗口显示类似的错误消息。错误日志中的关键信息似乎是:!ENTRYorg.eclipse.jface402013-09-0710:14:16.836!MESSAGEUnabletoresolveplug-in"platform:/plugin/com.android.ide.eclipse.ddms/icons/logcat.png".!ST

android - DocumentsProvider : What Is content://com. android.documentsui.recents/state 为什么它不喜欢我?

我正在尝试实现一个DocumentsProvider作为我的书的演示。当提供者出现在消费者示例应用程序中时,只要我在存储访问框架的UI中单击它,我就会得到以下堆栈跟踪:09-1518:40:46.2901765-1829/com.android.documentsuiE/AndroidRuntime﹕FATALEXCEPTION:ProviderExecutor:com.commonsware.android.documents.providerProcess:com.android.documentsui,PID:1765java.lang.RuntimeException:Aner

android - 无法启动接收器 com.google.firebase.iid.FirebaseInstanceIdInternalReceiver

我的应用程序集成了FCM以接收推送通知并且运行正常。但是,我面临的问题是安装时它会随机崩溃。它是非常随机的,并且发生在OS6.0+设备上,直到最新但随机发生。代码方面,在服务类中只显示通知代码已编写并在list中添加了服务。我在应用加载时遇到异常FatalException:java.lang.RuntimeException:Unabletostartreceivercom.google.firebase.iid.FirebaseInstanceIdInternalReceiver:java.lang.IllegalStateException:Notallowedtostartse

android - 错误:com. android.dex.DexException: Multiple dex files define Landroid/support/design/widget/CoordinatorLayout$HierarchyChangeListener

我已经尝试过这些解决方案-Solution1,Solution2这是我的gradle依赖项。dependencies{implementationfileTree(include:['*.jar'],dir:'libs')//noinspectionGradleCompatibleimplementation'com.android.support:appcompat-v7:27.0.2'implementation'com.android.support.constraint:constraint-layout:1.0.2'implementation'com.android.sup

android - 找不到 com.google.android.gms :strict-version-matcher-plugin:1. 1.0

无法解析配置“类路径”的所有文件。找不到com.google.android.gms:strict-version-matcher-plugin:1.1.0。在以下位置搜索:https://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.1.0/strict-version-matcher-plugin-1.1.0.pomhttps://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.

android - 检索到访问 token :null. com.google.android.gms.auth.GoogleAuthException:未知

我的应用程序允许用户使用GooglePlus登录,并获取他们的姓名和电子邮件地址。我试图访问token。访问token的代码:Toast.makeText(this,"Userisconnected!",Toast.LENGTH_LONG).show();GooglePlayServicesUtil.isGooglePlayServicesAvailable(getApplicationContext());AccountManageram=AccountManager.get(this);finalAccount[]accounts=am.getAccountsByType(Goog