草庐IT

find-grep

全部标签

Android Room 库错误 : Cannot find setter for field. (Kotlin)

我正在使用房间图书馆,我有下面提到的实体:@Parcelize@Entity(tableName="tb_option")dataclassOptionsTable(varquestion_id:Int?=null,varoption_id:Int?=null,varoption:String?=null,varis_selected:Int?=null,@PrimaryKey(autoGenerate=true)varsr_no:Int=0):Parcelable如您所见,我将所有字段声明为var但它仍然显示错误:error:Cannotfindsetterforfield.e:e:

java - 安卓工作室 : Can't find the emulator executable

无法在模拟器上运行任何应用程序。当我点击run-app时,它会立即显示通知ERROR:can'tfindtheemulatorexecutable和processfinishedwithcode-1. 最佳答案 我有同样的问题,我的防病毒软件(AVG)删除了路径中模拟器的exe:C:\ProgramFiles(x86)\Android\android-sdk\emulator\qemu\windows-x86_64\qemu-system-i386.exe如果问题出在您的防病毒软件上,您可以按照以下步骤操作:打开杀毒软件进入隔离区恢

java - 为什么我会收到错误 : cannot find symbol variable in R class

下面的源代码应该制作一张图片并显示在屏幕上。但是我得到了一些错误。无法解析符号'activity_fullscreen',同样适用于imageView1、dummy_button、fullscreen_content和fullscreen_content_controls.protectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_fullscreen);mVisible=true;mControlsView=fin

android - 为什么 Git 有时会给我类似 "fatal: Unable to find remote helper for ' https' 的错误

我使用git1个月了。我正在将我的Android项目推送到Bitbucket。有时我会收到这样的错误fatal:Unabletofindremotehelperfor'https'但正如我所说,我使用git1个月实际上它运行良好。我搜索了很多次。我正在使用Windows10专业版和git-2-12.2.2 最佳答案 当我使用windows/cmd或powershell时出现该错误,但在同一台机器上使用gitbash时我没有出现该错误。尝试使用gitbash,无论如何都会为您提供更好的格式。如上所述设置路径和远程url更可能是解决问题

java - Activity 未找到异常 : Unable to find explicit activity class GoogleDriveProxeyActivity have you declared this

我正在尝试从另一个Activity中调用一个Activity。但是我得到这个错误:无法找到明确的Activity类GoogleDriveProxeyActivity您是否已在AndroidManifest.xml中声明此Activity执行时:privateUrisaveFileToDrive(){Intenti=newIntent(this,GoogleDriveProxeyActivity.class);startActivityForResult(i,SAVE_TO_DRIVE);//btw,howdoesthisworkifanotheractionstarted?return

【Python】解决 can‘t find ‘__main__‘ module in ‘wm‘

解决python:can’tfind‘main’modulein‘wm’author:jwenshdate:2023.07.25文章目录解决python:can'tfind'__main__'modulein'wm'1.这是个什么问题?我的报错是否与运行方式有关?2.重新规划代码结构pythonwm直接运行运行结果Apython-mwm模块按脚本来执行运行结果B3.关于`运行结果A`没有注释前报错的问题为什么相同的情况python-m方式不会报错解决当前这个问题─$tree./wmwm├──__init__.py├──lib│└──string_util.py└──worker.py1.这是个

java - 类未找到异常 : Didn't find class "com.google.android.gms.ads.AdView"

我做了很多研究,这似乎是许多用户的常见错误,但原因却各不相同。我发现没有一个对我有用。我得到了java.lang.RuntimeException:UnabletostartactivityComponentInfo{[...]/[...].activities.StartActivity}:android.view.InflateException:BinaryXMLfileline#173:Errorinflatingclass[...].BannerAd[...]Causedby:android.view.InflateException:BinaryXMLfileline#8:

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