草庐IT

find_module

全部标签

android - 启动 SDK 管理器时出错 : "find_java.exe is not compatible with the version of Windows you' re running"

我试图在androidstudio中启动androidsdk管理器,但它向我显示以下错误https://plus.google.com/u/0/113311995935504360295/posts/h5EKzabisQj?pid=6068461235610543378&oid=113311995935504360295CannotlaunchSDKmanagerOutput:ThisversionofC:\PROGRA~1\Android\ANDROI~1\sdk\tools\lib\find_java.exeisnotcompatiblewiththeversionofWindow

java - 带有 proguard : can't find referenced field in program 的 Android Studio 发布版本

这是每个Android专业程序员的最新热点问题。你会在智慧的荣耀中闪耀吗?我收到了混淆器的警告。Appirater类导致此警告:can'tfindreferencedfieldinprogramclassde.xxx.xxx.R.$id来自proguard网站proguardtroubleshootingAprogramclassisreferringtoafieldoramethodthatismissingfromanotherprogramclass.Thewarninglistsboththereferencingclassandthemissingreferencedclas

android - 中止消息 : 'couldn' t find an OpenGL ES implementation'

我正在尝试在我的设备上运行Lollipop,当我闪现我得到的图像时,我得到了以下日志---------beginningofcrashF/libc(1565):Fatalsignal6(SIGABRT),code-6intid1565(surfaceflinger)I/DEBUG(1572):************************************************I/DEBUG(1572):Buildfingerprint:'Android/full_arndale/arndale:5.0.2/LRX22G/veera05211114:eng/test-keys

android - 错误 : cannot find symbol class Crashlytics and Fabric

我正在按照Fabric官方文档添加crashlytic,我已成功将所有内容添加到gradle.build文件中,但现在当我尝试编写Fabric.with(this,newCrashlytics());它说:Error:(163,31)error:cannotfindsymbolclassCrashlyticsError:(163,9)error:cannotfindsymbolvariableFabricError:Executionfailedfortask':compileDebugJavaWithJavac'.>Compilationfailed;seethecompilerer

android - Dagger -Android : Missing setters for modules

数据模块:@ModuleclassDataModuleconstructor(application:App){privatevardb:Database=Room.databaseBuilder(application.applicationContext,Database::class.java,"database.db").build()@Provides@PerApplicationfunprovideDatabase():Database{returndb}应用:classApp:DaggerApplication(){@InjectlateinitvaractivityDi

android - 如何解决 "Didn' t find class 'com.google.android.gms.auth.GoogleAuthUtil'“错误?

我第一次尝试在AndroidStudio中使用GoogleCalendarAPI,这个类一旦到达就崩溃了mService.events().insert("primary",event).execute();行。错误说“在路径上找不到类“com.google.android.gms.auth.GoogleAuthUtil”:DexPathList”publicclassCalendarRequestTaskextendsAsyncTask{privatecom.google.api.services.calendar.CalendarmService=null;privateExcep

android - Gradle 同步失败 : failed to find Build Tools revision 21. 1.2

我已经安装了Android5.0sdk21并检查了所有可能的解决方案,但没有一个适用于我的情况。我收到同样的错误Gradle同步失败:找不到构建工具修订版21.1.2有关详细信息,请查阅IDE日志 最佳答案 只需打开SDKManager并安装Build-tools21.1.2。以下是您需要安装的内容: 关于android-Gradle同步失败:failedtofindBuildToolsrevision21.1.2,我们在StackOverflow上找到一个类似的问题:

android - 错误 :Unable to find method 'com. android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;安卓工作室 3

Error:Unabletofindmethod'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;'.Possiblecausesforthisunexpectederrorinclude:Gradle'sdependencycachemaybecorrupt(thissometimesoccursafteranetworkconnectiontimeout.)Re-downloaddependenciesandsyncproject(requiresnetwork).ThestateofaGra

解决 Centos 安装 Python 3.10 的报错: Could not import runpy module

操作环境:CentOS7、Gcc4.8.5、Python3.10.0系统上已经有2.x,3.6版本的Python了,但是还是想装一个3.10的。因为刚写的脚本文件是较高版本的,在3.6上无法正常运行,Python语法不是很了解,只能从环境上下手了。【注】Python其他版本也适用,毕竟是编译器的问题,并非Python版本问题。下载源码文件,然后开始执行操作:./configure--enable-optimizationsmakesudomakeinstall然后报错如下,下面是两个机器不同的报错:#报错一:gcc-pthread-Xlinker-export-dynamic-opythonP

android - Java.lang.ClassNotFoundException : Didn't find class Kotlin 异常

每次我更改我的代码并运行它时,都会出现这个,而我第二次运行代码时,它不会出现,这个错误的原因是什么? 最佳答案 检查项目包名称并添加kotlin插件和依赖项。applyplugin:'kotlin-android'classpath"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 关于android-Java.lang.ClassNotFoundException:Didn'tfindclassKotlin异常,我们在