草庐IT

found_iterID

全部标签

android - 错误 : Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.ActionButton'

我正在关注文档here将AndroidSupportV7Libary安装到我的项目中。我注意到两件事:1)当我浏览我的SDK安装目录和SupportLibrary文件夹时,没有名为“appcompat”的文件夹2)当我安装整个V7文件夹时,我得到这个错误:error:Errorretrievingparentforitem:Noresourcefoundthatmatchesthegivenname'Widget.AppCompat.ActionButton'我该如何解决这个问题?(注意:这是在mediarouter文件夹中)这是我在浏览我的SDK安装目录时看到的:http://tin

android - 谷歌播放 : We found Ad SDKs in your application

Google在其GooglePlay开发者控制台的定价和分发页面上添加了一个新选项,要求发布商声明他们是否有广告。我们的应用没有广告,但我们被标记为拥有AdMobSDK。WedetectedAdSDKsinoneormoreofyouractiveAPKs:version:XXXXX,sdk:AdMobIfyourappisservingads,pleasechangeyouradsdeclarationto'Yes'.Failuretoaccuratelydeclarethepresenceofadsisapolicyviolationandmayresultinyourapp'sr

android - "Gradle sync failed: No installed build tools found. Install the Android build tools version 19.1.0 or higher"

我试图在AndroidStudio中打开一个Ionic2项目,但它在事件日志中显示了以下错误:“Gradle同步失败:未找到已安装的构建工具。安装Android构建工具版本19.1.0或更高版本。请查阅IDE日志以获取更多详细信息(帮助|显示日志)”SCREENSHOT我之前看到过类似的问题(也可能是Ionic2或Cordova的最新版本之一破坏了某些东西->https://github.com/driftyco/ionic/issues/10604)。从gradle.build文件或项目结构中更改“buildToolsVersion”或“compileSdkVersion”的版本没有

android - "No tests found"用于 Lollipop 及更高版本的仪器测试

我基于仪器的(espresso)测试无法在Lollipop+设备和模拟器上运行。它们可以在任何其他平台上正确运行。我和这个线程中的人有相同的症状-https://groups.google.com/forum/?fromgroups#!topic/adt-dev/QW5SuzQizNk我的测试在src/androidTest/java/我已经设置了testInstrumentationRunner'android.support.test.runner.AndroidJUnitRunner'测试类是@RunWith(AndroidJUnit4.class)个别测试用@Test注解我可以

android - 如何解决“"' generateDebugSources' not found in project”错误?

我试图向我的应用程序添加依赖项,但我不小心修改了错误的build.gradle文件,现在我的应用程序不再正确构建。这是我的错误:Error:FAILURE:Buildfailedwithanexception.*Whatwentwrong:Task'generateDebugSources'notfoundinproject':app'.*Try:Rungradletaskstogetalistofavailabletasks.Runwith--stacktraceoptiontogetthestacktrace.Runwith--infoor--debugoptiontogetmor

android - 在 Android Studio 中构建项目时出错 "Error: No resource found that matches the given name (at ____ with value ' @drawable/<name>')

我在Google、stackoverflow和其他android编程网站上进行了搜索,许多网站都为那些将文件从一个文件夹错放到另一个文件夹的人提供了建议等等。但没有一个能说明我面临的问题。这不是像here中那样的损坏文件因为我尝试过但没有成功。我面临的错误是类似的:[debug]C:\Users\Name\AppData\Local\Temp\android_manifest_copy6264790980678653632tmp\AndroidManifest.xml:11:error:Error:Noresourcefoundthatmatchesthegivenname(at'ic

安卓工作室 3.0 错误 : style attribute '@android:attr/windowEnterAnimation' not found

我已经按照迁移到androidstudio3.0updgradation的步骤进行操作。构建.gradleflavorDimensions'dimensionless'D:\R\merchant\projapp\popuplibrary\build\intermediates\bundles\debug\res\values\values.xmlError:(28,5)error:styleattribute'@android:attr/windowEnterAnimation'notfound.C:\Users\user.gradle\caches\transforms-1\file

android - 动态注册广播接收器不起作用 - BluetoothDevice.ACTION_FOUND

使用Log类跟踪运行时显示onReceive()方法没有调用,为什么?动态注册广播接收器privatevoiddiscoverDevices(){Log.e("MOHAB","BEFOREONRECEIVE");mReceiver=newBroadcastReceiver(){publicvoidonReceive(Contextcontext,Intentintent){Log.e("MOHAB","ONRECEIVE");Stringaction=intent.getAction();//Whendiscoveryfindsadeviceif(BluetoothDevice.ACT

Android SDK 和 AVD 管理器错误 : File not found: C:\Program Files (x86)\Android\android-sdk\temp\

最初,我只安装了AndroidAPI12。但现在,我正在尝试安装其他可用的软件包,它显示:DownloadingSDKPlatformAndroid3.0,API11,revision1Filenotfound:C:\ProgramFiles(x86)\Android\android-sdk\temp\android-3.0_r01-linux.zip(Accessisdenied)DownloadingSDKPlatformAndroid2.3.3,API10,revision1Filenotfound:C:\ProgramFiles(x86)\Android\android-sdk

android - 在Eclipse中添加库v7 AppCompat时如何解决错误 "No resource found that matches the given name"?

我有一个API级别10的项目目标,我想实现新的ActionBar支持库。按照SupportLibrarySetup中的所有说明进行操作后,将库添加到我的项目时,我遇到了很多这样的错误消息:android-support-v7-appcompat\res\values-v14\styles_base.xml:24:错误:检索项目父项时出错:找不到与给定名称“android:Widget.Holo..”匹配的资源...好的,我知道这个问题有很多答案,但是,在尝试了所有更明显的方法之后,我仍然无法解决错误。我一直在寻找并找到了原因,这不是很明显,至少对于像我这样的新手来说是这样。我的目的是提