草庐IT

resource-utilization

全部标签

android - 在 Android Studio 中使用 android-maps-utils

我正尝试在Android项目中使用此库[1],无论是使用AndroidStudio还是使用ADT。但它根本不起作用。在ADT中,我不知道如何处理gradle的东西,在AndroidStudio中,当我尝试“导入项目”时,出现错误“找不到com.google.android.gms:play-services:3.1.36。(没有足够的声望来发布图片,它在imgur上带有xswZ3.jpg)我不熟悉gradle,我对它的作用只有一个模糊的概念,但我只想在我自己的项目中使用类似BubbleIconFactoryf=newBubbleIconFactory(this)的东西。感谢任何帮助![

Android - android.content.res.Resources$NotFoundException : Resource ID #0x0

我正在尝试编写一个可以在手机上浏览文件的Android应用程序。当我在模拟器上运行该应用程序时,出现以下错误:02-1822:14:17.839:E/AndroidRuntime(896):FATALEXCEPTION:main02-1822:14:17.839:E/AndroidRuntime(896):android.content.res.Resources$NotFoundException:ResourceID#0x002-1822:14:17.839:E/AndroidRuntime(896):atandroid.content.res.Resources.getValue

android - 如何用值 "No resource found that matches the given name (at ' 修复 '@integer/google_play_services_version' 值')”

当我在VisualStudio2015中构建我的Android应用程序项目时出现以下错误。Noresourcefoundthatmatchesthegivenname(at'value'withvalue'@integer/google_play_services_version')这些行位于:obj\Debug\android\manifest\AndroidManifest.xml在AndroidManifest文件中有3个完整的内容。我已经从SDKManager下载了googleplay服务。我应该在我的解决方案中引用任何内容吗?我已经对Xamarin.GooglePlaySer

android - 如何修复包 "No resource identifier found for attribute ‘style’ 中的 ‘android’“?

我创建了一个样式并将其应用于按钮,但是当我尝试构建时出现异常:在包“android”中找不到属性“style”的资源标识符这是按钮的代码:有什么问题吗? 最佳答案 问题是style标签不需要android包命名空间,尽管许多IDE会建议这样做是正确的。所以不是:android:style="@style/SecondaryButton"使用:style="@style/SecondaryButton" 关于android-如何修复包"Noresourceidentifierfoundfo

android - 集成 Facebook-android-sdk-3.0 抛出 Resources$NotFoundException

我正在尝试将Facebook集成到我的应用程序中。但是当我点击fbphoto时,它会抛出错误android.content.res.Resources$NotFoundException。我知道它会抛出错误,因为在运行时没有建立适当的资源。发现错误在facebook.authorize(this,newString[]{"email","publish_stream"},newDialogListener(){}处抛出。但根本原因仍然是失踪。fbphoto.setOnClickListener(newView.OnClickListener(){@Overridepublicvoido

Cannot invoke “Object.toString()“ because the return value of “java.util.Map.get(Object)“ is null

Cannotinvoke“Object.toString()”becausethereturnvalueof“java.util.Map.get(Object)”isnull在写瑞吉外卖的时候遇到Object.toString()为空的问题,最后发现是前端没有往后端传递数据,第一个图片是只传的phone最后改为from第二个是没有写函数sendMsgApi,改正后,发现登录进去又回退到主页面,发现是因为在过滤器中要保存session,保存后才能发送,再次添加形参HttpServletRequestrequest,request.getSession().setAttribute("user",

android - java.lang.NoSuchMethodError : No virtual method zzait()Ljava/util/ArrayList; in class Lcom/Error? 错误

您好,我正在通过Udacity类(class)学习使用Firebase。我在运行我的应用程序时收到此错误并且对此一无所知。11-2316:48:34.9953947-3947/com.google.firebase.udacity.friendlychatE/AndroidRuntime:FATALEXCEPTION:mainProcess:com.google.firebase.udacity.friendlychat,PID:3841java.lang.NoSuchMethodError:Novirtualmethodzzait()Ljava/util/ArrayList;incl

安卓错误 : Error: No resource found that matches the given name

我是android的新手,所以这个问题可能很幼稚。我正在尝试构建一个包含两个并排列表的布局。当我有一个列表时它工作正常,但是当我添加第二个列表时,我收到此错误。我的View扩展了Activity而不是ListActivity。但我就是想不通为什么我的构建会因为这个错误而失败:\main.xml:13:error:Error:Noresourcefoundthatmatchesthegivenname(at'id'withvalue'@android:id/selected_list').\Android\android-sdk\tools\ant\build.xml:598:Thefo

android - 为什么在使用 android-support-v4 时找不到 android.util.LruCache.*?

我正在编写一个使用LruCache的项目,它包含在android-support-v4.jar兼容库中。在带有JB的设备上运行时,代码工作正常,但是当我在带有GB的DroidX上运行它时,应用程序死机并出现以下错误:I/dalvikvm(2459):Couldnotfindmethodandroid.util.LruCache.put,referencedfrommethodblah.blah.Utility.getBitmapW/dalvikvm(2459):VFY:unabletoresolvevirtualmethod2641:Landroid/util/LruCache;.pu

android - AngularJS 2 和 Cordova : "Failed to load resource: net::ERR_FILE_NOT_FOUND"

我正在尝试使用Cordova在Android上本地运行Angular2应用程序。不幸的是,该应用程序仅显示Angular应用程序的加载屏幕,但无法加载该应用程序。我收到以下错误消息:Failedtoloadresource:net::ERR_FILE_NOT_FOUNDfile:///app/styles.cssFailedtoloadresource:net::ERR_FILE_NOT_FOUNDfile:///app/libs-bundle.jsFailedtoloadresource:net::ERR_FILE_NOT_FOUNDfile:///app/main.jsFailed