草庐IT

find_end

全部标签

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 - java.net.协议(protocol)异常 : unexpected end of stream

我遇到了一个奇怪的问题,我无法调试它。我已经实现了上传数据流的逻辑并且正在使用Volley,我在HurlStack,addBodyIfExistsapi中定制了一点逻辑,所以类型的主体可以处理“application/octet-stream”。我的逻辑是向用户发布进度,以便UI可以更新以指示用户上传进度,低于我的逻辑。inttoRead=length;//Filelengthbyte[]data=newbyte[4096];connection.setDoOutput(true);if(length!=-1){connection.setFixedLengthStreamingMod

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

android - 渲染期间引发异常 : Could not find layout resource matching value 0x7F04001B (resolved name: content_main) in current configuration

当我使用新Activity创建新项目时出现此异常。Exceptionraisedduringrendering:Couldnotfindlayoutresourcematchingvalue0x7F04001B(resolvedname:content_main)incurrentconfiguration.当我进入content_main时,我确实看到了正确的图像并且没有渲染问题。 最佳答案 自更新AndroidStudio以来,我一直遇到同样的问题。它似乎只影响其中包含标签的布局。如果您转到“文件>使缓存无效/重新启动...”,

android - ionic Gradle 故障 "Could not find com.android.tools.build:gradle:2.2.3"

我正在尝试在Windows7中使用IonicCLI编译我的Ionic项目Android平台。这是以前有用的东西,现在不行了。唯一改变的是我升级了AndroidStudio。但是,我没有使用AndroidStudio进行编译,所以我很惊讶我收到Gradle错误。对于:$ionicrunandroid输出是:Aproblemoccurredconfiguringrootproject'android'.>Couldnotresolvealldependenciesforconfiguration':_debugApk'.>Aproblemoccurredconfiguringproject

Android Studio 不启动 : Could not find or load main class com. intellij.idea.Main

初学Androiddevopmnet,一直用AndroidStudio开发,突然不行了。程序不再启动,如果我从命令提示符执行studio.bat,我会收到以下错误:Error:Couldnotfindorloadmainclasscom.intellij.idea.Main我看过其他关于AndroidStudio无法启动的帖子(例如this和this),但它们都没有解决我的问题。我已将JAVA_HOME和JDK_HOME的PATH变量正确设置为C:\ProgramFiles\Java\jdk1.7.0_07正如我所提到的,AndroidStudio曾经可以正常工作,但我不知道为什么它停