草庐IT

find_end

全部标签

android - Glide 显示错误 : Failed to find GeneratedAppGlideModule

我正在尝试使用glide加载图像,但不知何故我无法使用glide加载图像。因为它显示以下错误:FailedtofindGeneratedAppGlideModule.YoushouldincludeanannotationProcessorcompiledependencyoncom.github.bumptech.glide:compilerinyourapplicationanda@GlideModuleannotatedAppGlideModuleimplementationorLibraryGlideModuleswillbesilentlyignored.我已推荐Thisso

java - 类路径或引导类路径中的 Gradle + Retrolambda : Fatal Error: Unable to find package java. lang

我正在尝试将gradle-retrolambda集成到我的Android项目中(遵循this指南),但是当我运行我的gradlebuild时出现以下错误:app:compileDebugJavaFatalError:Unabletofindpackagejava.langinclasspathorbootclasspath堆栈跟踪:org.gradle.api.tasks.TaskExecutionException:任务“:app:compileDebugJava”执行失败。在org.gradle.api.internal.tasks.execution.ExecuteActions

android - 为什么我的构建在 Android Studio 中失败并出现异常 "Failed to find byte code for android/support/v7/app/ActionBarActivity"?

在启用即时运行的情况下从AndroidStudio运行我的应用时出现以下错误。如以下日志中所述,app:transformClassesWithInstantRunForDevDebug失败,因为gradle找不到android/support/v7/app/ActionBarActivityFAILURE:Buildfailedwithanexception.*Whatwentwrong:Executionfailedfortask':app:transformClassesWithInstantRunForDevDebug'.>com.android.build.api.trans

android - "Failed to find style with id 0x7f070001 in current theme"使用 CardView android L (api 21) 时

我刚刚下载并开始学习androidLmaterialdesignapi。每当我在我的Activity中使用CardView时,它都会给我这个错误Failedtofindstylewithid0x7f070001incurrenttheme。这是我的xml布局:这是我的list文件:这是它显示的确切消息:Missingstyles.Isthecorrectthemechosenforthislayout?UsetheThemecomboboxabovethelayouttochooseadifferentlayout,orfixthethemestylereferences.Failed

android - ClassNotFoundException : Didn't find class "android.databinding.DataBinderMapper"

我正在为库项目中的View使用android的数据绑定(bind)库我在我的根gradle文件中添加了以下行classpath'com.android.databinding:dataBinder:1.0-rc1'并在模块的gradle文件中启用了dataBindingapplyplugin:'com.android.databinding'......android{....dataBinding{enabled=true}}我在我的库项目中启用了multiDex以及在使用此库的主机应用程序中但是我在启动库的Activity时得到了这个堆栈跟踪错误java.lang.NoClassD

android - Gradle 和 proguard : could not find method runProguard() for arguments [true]

我已经按照ProguardGradlemanual的建议配置了build.gradle这是根build.gradlebuildscript{repositories{flatDirdirs:'/home/username/android-sdks/tools/proguard/lib'mavenCentral()}dependencies{classpath'com.android.tools.build:gradle:0.5.+'classpath':proguard'}}现在这是我项目的build.gradleapplyplugin:'android'dependencies{co

Android 拖放 ACTION_DRAG_ENDED 未触发

我真的很想弄清楚这个问题,到目前为止找不到任何有相关经验的friend。这是我发布我的第一个应用程序之前的最后一个功能,所以在看到结局的情况下陷入困境让我发疯!如果我将对象放在可接受的区域中,我的拖放操作会完美。但是,如果拖放到其他地方,我不会收到事件,并且在拖放操作失败后无法清理。我需要触发ACTION_DRAG_ENDED事件。但是,如果我以true值响应ACTION_DRAG_STARTED(这意味着它可以接受对象),这只会触发(根据文档)。问题是ACTION_DRAG_STARTED没有触发!所以我认为问题的关键在于我没有收到ACTION_DRAG_STARTED。我将所有相关

android - Ubuntu,无法启动 react-native : Could not find tools. jar

我关注了gettingstartedguide安卓/Linux。我尝试使用react-nativerun-android在ubuntu下启动reactnative,但失败并出现错误:FAILURE:Buildfailedwithanexception.*Whatwentwrong:Executionfailedfortask':app:compileDebugJavaWithJavac'.>Couldnotfindtools.jar我该如何解决?完整输出:$react-nativerun-androidStartingJSserver.../bin/sh:1:adb:notfoundB

android.content.ActivityNotFoundException : Unable to find explicit activity class

我收到此错误:06-0610:45:19.685:E/AndroidRuntime(554):android.content.ActivityNotFoundException:Unabletofindexplicitactivityclass{com.Android.myApp/com.Android.myApp.Facebook.Example};haveyoudeclaredthisactivityinyourAndroidManifest.xml?但是我已经在我的list文件中声明了它。这种异常的其他原因可能是什么?我的list.xml 最佳答案

android - 更新后 - 错误 :Failed to find: com. google.android.gms :play-services:5. 2.8

Gradle项目同步失败。更新androidSDK后出现此错误:Error:Failedtofind:com.google.android.gms:play-services:5.2.8我已检查更新的sdk位置是否已被AndroidStudio使用我已经安装了GoogleRepository并且AndroidSupportRepository也是最新的。还有一个ANDROID_HOME局部变量指向我实际使用的sdk 最佳答案 尝试使用com.google.android.gms:play-services:5.2.08而不是5.2.