草庐IT

app_installed

全部标签

android - 创建带有选项列表的弹出窗口,例如 Youtube App

我正在尝试创建一个类似于Youtube应用的View,如下所示:点击我将打开一个对话框,如下所示:是否有任何已经由android构建的View或库可以帮助我创建它,还是我需要自己创建它?我试着搜索它,但找不到任何东西。 最佳答案 尝试这种我已经成功使用的方式Dialogs对话框是提示用户做出决定或输入附加信息的小窗口。对话框不会填满屏幕,通常用于要求用户先执行操作才能继续的模态事件。RecyclerView一种灵活的View,可以在有限的窗口内查看大型数据集。示例代码MainActivitypublicclassMainActivi

android - Android wear 模块中的“意外命名空间前缀 "app"”

我基于onthisGoogledoc添加了一个新的androidwear模块但我收到标题中描述的错误。这是我的布局。有人知道这是怎么回事吗?我感谢解释为什么我会收到此错误。更新:我删除了多余的android前缀。AndroidStudio要求我更改应用程序前缀以更改为android,但即使这样做,错误仍然存​​在。现在是安全的时间假设它是一个错误吗? 最佳答案 根据MikeM的建议,我右键单击错误并选择在Androidstudio中抑制。我的框架布局现在看起来像这样。但是,我目前不知道是什么原因导致了警告。这似乎暂时有效。

android - 突然我的 App.js 文件和所有其他文件格式都更改为 App.js.djvut 并且 ReactNative 应用程序刚刚超过

ReactNative应用运行良好。然后突然停止工作。我正在使用博览会。不知道到底发生了什么。 最佳答案 根据这篇文章https://sensorstechforum.com/remove-djvu-files-virus/,您的系统感染了勒索软件病毒。查看详细说明以解决问题The.djvufilesvirushasbeenrecentlyspottedinthewildbysecurityresearchers.Itisathreatthatinterferewithessentialsystemssettingsinanatte

安卓工作室 3.5 错误 : Unable to resolve dependency for ':app@debug/compileClasspath'

当我尝试同步gradle时出现此错误。我正在使用AndroidStudio3.5和gradle5.4.1。它在这种配置下运行良好,但突然间我开始收到此错误。**ERROR**:Unabletoresolvedependencyfor':app@debug/compileClasspath':Couldnotresolvecom.google.android.gms:play-services-location:[15.0.0,16.0.0).AffectedModules:app**ERROR**:Unabletoresolvedependencyfor':app@debugAndro

pip install 安装路径的修改

一般我们需要安装第三方库的时候,都是进入cmd中用pip命令来进行安装。安装各类包,但是默认安装路径在C盘,极大占用空间,下面我们就来修改一下默认的安装路径。1,查看pip默认的安装路径打开命令提示符(win+r),输入cmd,输入命令如下python-msite界面如下USER_BASE:......表示默认路径在C盘USER_SITE:......表示默认路径在C盘'E:\\pythonEnvs\\py_Django\\lib\\site-packages' 安装的库会在这里2,修改pip默认的安装路径打开命令提示符(win+r),输入cmd,输入命令如下python-msite-help

android - “No system images installed for this target” Xamarin AVD 管理器

每当我为GoogleAPI选择目标时,它都会告诉我没有可用的系统镜像。我已经完全删除并重新安装了SDK管理器中的所有可用选项。对于我尝试使用的API级别,我安装了所有可用的图像。我还尝试按照另一个问题的答案所建议的将图像从默认文件夹中复制出来,然后重新启动visualstudio。AVDManagerSDKManager 最佳答案 通过选择一个标准的api级别目标(非googleapi)解决了这个问题,然后为CPU选择一个包含googleapi的目标。在Xamarin上关注本教程这告诉我用googleapi选择目标,但显然不能正常工

Android Production Instant App 未在 Google Play 商店中显示 "Try Now"按钮

我已经上传了一个可安装的应用程序,并在Playstore中添加了一个免安装应用程序。一切都很顺利。没有错误。并将两者都转移到生产中。但现在尝试按钮未启用。我唯一能看到的是安装按钮。此外,我的应用程序链接网址也指向网络而非即时应用程序。有人可以帮帮我吗? 最佳答案 Playstore将需要将近一天的时间才能在Play商店中为您的免安装应用反射(reflect)“立即试用”按钮。可能是因为它需要将您的url索引到所有Google搜索引擎服务器。 关于AndroidProductionInst

android - Ionic 3 - 任务 ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' 执行失败

我在构建ionic3应用程序时遇到了问题。每次我尝试构建Android应用程序时,它都会出现以下错误。FAILURE:Buildfailedwithanexception.Whatwentwrong:Executionfailedfortask':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.java.lang.RuntimeException:java.lang.RuntimeException:com.android.builder.dexing.DexArchiveMergerException:Unablet

android - GoogleService 初始化失败,状态 : 10, 缺少名称为 google_app_id 的字符串资源中的 google app id 值

我莫名其妙地收到这个错误,它以前工作得很好。这是我所拥有的:在app.gradle依赖中:implementation"com.google.firebase:firebase-core:16.0.1"implementation"com.google.firebase:firebase-messaging:17.3.1"在app.gradle文件末尾:applyplugin:'com.google.gms.google-services'在项目gradle文件中:dependencies{classpath'com.android.tools.build:gradle:3.3.0-a

android - org.koin.android.error.MissingAndroidContextException : when try to test app with context

我想为koin编写测试。我使用RoomDatabase,它在构造函数中接收上下文。应用运行良好但测试失败Can'tresolveApplicationinstance.PleaseuseandroidContext()functioninyourKoinApplicationconfiguration. 最佳答案 如果你想在你的模块中使用上下文,你应该在你的startkoin方法中传递上下文//startKoin!startKoin{//declareusedAndroidcontextandroidContext(this@MyA