草庐IT

unresolved-external

全部标签

java - Android Studio 3.1.3 - Unresolved reference : R - Kotlin

我是kotlin的新手,我已经从java转换了一些代码,但似乎有问题,findViewById(R.id.my_id)中的R以红色突出显示,并显示此消息:“Unresolvedreference:R“..我一直在寻找解决方案,但我似乎没有弄清楚,那我该怎么办?这是截图: 最佳答案 这个问题可能是由多种因素引起的,正如martomstom在这篇Answer中提到的那样该问题有时是由com.android.tools.build:gradle版本引起的,将其版本更改为更稳定的版本可以解决问题:例如:com.android.tools.b

安卓工作室 3.1 : Erroneous unresolved references in editor

我运行的是Ubuntu17.10,并且我刚刚将AndroidStudio从版本3.0.1更新到了3.1。这是Help->About中的版本信息:AndroidStudio3.1Build#AI-173.4670197,builtonMarch22,2018JRE:1.8.0_152-release-1024-b01amd64JVM:OpenJDK64-BitServerVMbyJetBrainss.r.oLinux4.13.0-37-generic不幸的是,虽然IDE之前在我的(第一个)Kotlin项目中能够解析特定于android的引用,但在新版本中它似乎无法解析。这是显示我的意思的

安卓工作室 3.1 : Erroneous unresolved references in editor

我运行的是Ubuntu17.10,并且我刚刚将AndroidStudio从版本3.0.1更新到了3.1。这是Help->About中的版本信息:AndroidStudio3.1Build#AI-173.4670197,builtonMarch22,2018JRE:1.8.0_152-release-1024-b01amd64JVM:OpenJDK64-BitServerVMbyJetBrainss.r.oLinux4.13.0-37-generic不幸的是,虽然IDE之前在我的(第一个)Kotlin项目中能够解析特定于android的引用,但在新版本中它似乎无法解析。这是显示我的意思的

android-studio - Unresolved reference : kotlinx

我正在尝试在AndroidStudio中试用Kotlin和KotlinAndroid扩展。我在Ubuntu14.04上的AndroidStudiov1.5.1和OSXElCapitan上的AndroidStudiov1.5.1中都尝试过,结果相同。这是我正在做的事情:我安装了Kotlin插件1.0.0-beta-35950-IJ141-11创建一个新的空白Android项目将MainActivity文件转换为Kotlin(通过help->findaction->convertfiletokotlin)为Kotlin配置项目然后我进入生成的content_main.xml文件并为“Hel

android-studio - Unresolved reference : kotlinx

我正在尝试在AndroidStudio中试用Kotlin和KotlinAndroid扩展。我在Ubuntu14.04上的AndroidStudiov1.5.1和OSXElCapitan上的AndroidStudiov1.5.1中都尝试过,结果相同。这是我正在做的事情:我安装了Kotlin插件1.0.0-beta-35950-IJ141-11创建一个新的空白Android项目将MainActivity文件转换为Kotlin(通过help->findaction->convertfiletokotlin)为Kotlin配置项目然后我进入生成的content_main.xml文件并为“Hel

ios - 类中的 extern NSString *const。

您好,我有这个头文件:#import@interfacePCConstants:NSObjectexternNSString*constkPCUserProfileKey;externNSString*constkPCUserProfileNameKey;externNSString*constkPCUserProfileFirstNameKey;externNSString*constkPCUserProfileLocationKey;externNSString*constkPCUserProfileGenderKey;externNSString*constkPCUserProf

ios - Firestore : Use of unresolved identifier 'Firestore'

我想实现Firestore数据库。在我的Podfile中,我添加了pod'Firebase/Firestore'并执行了podinstall。当尝试使用letdb=Firestore.firestore()时,我收到错误:使用未解析的标识符“Firestore”。我也尝试过podupdate,它也说UsingFirebaseFirestore(0.12.2)但它不起作用。我该怎么办? 最佳答案 您需要导入它。在管理器文件的顶部包含importFirebaseFirestore。 关于io

c++ - 为什么 Apple 的 Clang(来自 Xcode 5)为 arm64 制作 typeinfos private_extern?

如果编译这个文件p3.cxx:classfoobarclass{public:inti0;};voidotherfun(void);voidmumble(void);voidfun(void){try{otherfun();}catch(foobarclass&e){mumble();}}像这样:xcrunclang++-archarm64-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk-fexceptions-cp

ios - 为什么在 iTunes Connect "Start External Testing"页面中按下“下一步”按钮没有任何反应?

我正在向TestflightBeta应用程序审核提交我的应用程序构建,大家好。在开始外部测试页面中,我检查了自上次提交以来您是否对此构建进行了任何重大更改?到否。在我填写完WhattoTest、AppDescription和所有必填字段后(ReviewNotes不需要填写,因为该应用程序不需要审核,因为我已将重大更改单选按钮选中为否)。但是当我按下Next按钮时,“Next”文本旁边会出现一个加载器控件,但是在加载器控件消失后,没有任何反应,iTunesConnect没有将我带到有关“加密”的页面信息”,而不是我停留在开始外部测试页面上!这真的很令人沮丧,我在这里有一张图片可以帮助理解

Swift: 'use of unresolved identifier' - 如何更改变量并在不同函数中使用该变量?

我需要让我创建的这个按钮(一个蓝色按钮)更改一个变量(名为playerMark),该变量是我之前在代码的另一个代码块中创建和使用的。这里是引入和使用playerMark的地方:funcsetImgforCircle(spot:Int,player:Int){varplayerMark=player==1?"Red_x":"Red_o"plays[spot]=playerswitchspot{case1:circle1.image=UIImage(named:playerMark)case2:circle2.image=UIImage(named:playerMark)case3:cir