草庐IT

doc_version

全部标签

android - 找不到 com.google.android.gms :strict-version-matcher-plugin:1. 1.0

无法解析配置“类路径”的所有文件。找不到com.google.android.gms:strict-version-matcher-plugin:1.1.0。在以下位置搜索:https://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.1.0/strict-version-matcher-plugin-1.1.0.pomhttps://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.

android - 如何修复 “Error generating final archive: Found duplicate file for APK: doc/allclasses-frame.html”

我编译了两个jar文件并将它们添加到我的Android项目的构建路径中。我从Eclipse收到了这个错误:生成最终存档时出错:找到APK的重复文件:doc/allclasses-frame.html看完之后Howtofix"Errorgeneratingfinalarchive:duplicateentry:AndroidManifest.xml"我意识到我可以通过在没有文档的情况下重新导出我的jar文件来消除错误。我这样做了,现在我的项目没有任何错误,但是我的文档呢?当我使用Ctrl-space自动完成时,有没有办法查看我的库中的文档?我不必重新导出这两个jar文件。我只需要重新导出

android - 使用 Google Docs 在 WebView 中打开本地 PDF 文件

有上百万个类似的问题/答案,都涉及如何使用Google文档+WebView打开远程PDF文件。没有解决如何打开本地PDF文件的问题。给定这些字符串:StringremotePath="https://myserver.com/data/files/organization/4/pdf/kalinka1369-1374847709-55.pdf";StringlocalPath="file:///storage/emulated/0/DroidNoid/com.story.chapters/kalinka1369-1374847709-55.pdf";StringgoogleDocsUR

android - 错误 : resource integer/google_play_services_version (aka app:integer/google_play_services_version) not found

编译或运行项目时出错。我想计算我走过的距离。我的AndroidStudio版本是AndroidStudio3.1.4当我在build.gradle(Model:app)中添加以下库时,会发生此错误。implementation'com.google.android.gms:play-services-location:12.0.1'进入以下文件时出错:...\app\build\intermediates\manifests\full\debug\AndroidManifest.xml请给我建议。谢谢。 最佳答案 我遇到了同样的问题

android - 错误 :The project is using an unsupported version of the Android Gradle plug-in (0. 12.2)

更新AndroidStudio后我无法运行我的应用程序-我收到此异常:Error:TheprojectisusinganunsupportedversionoftheAndroidGradleplug-in(0.12.2).Therecommendedversionis1.0.0-rc4.这是我的buld.gradle依赖项dependencies{classpath'com.android.tools.build:gradle:0.12.+'classpath'com.crashlytics.tools.gradle:crashlytics-gradle:1.+'}更新我在build

uniapp 在线预览各种格式文件(支持doc, xls, ppt, pdf, docx, xlsx, pptx格式) 适用于小程序 (解决了真机调试可以打开,发布体验版打不开的问题)

代码:uni.downloadFile({url:'https://example.com/somefile.pdf',//自定义的文件地址success:function(res){varfilePath=res.tempFilePath;uni.openDocument({filePath:filePath,showMenu:true,success:function(res){console.log('打开文档成功');}});}});参考官方文档:uni.saveFile(OBJECT)@savefile|uni-app官网uni-app,uniCloud,serverlesshttp

安卓工作室错误 : Unsupported version of the Android Gradle plug-in (0. 9.2)

我在Android项目上工作了几个月,最近我将androidstudio的版本从0.5.2升级到0.8.0。现在我无法通过新的AndroidStudio打开我的项目。每当我尝试打开项目但无法打开它时,我都会收到此错误。TheprojectisusinganunsupportedversionoftheAndroidGradleplug-in(0.9.2)ConsultIDElogformoredetails(Help|ShowLog)我不太了解Gradle、Ant、Maven或任何构建的脚本。此外,没有选项可以从androidstudio的开始屏幕查看日志。

Android 构建失败 'failed to run ant version'

我正在尝试使用ioniccordova运行示例演示,但在尝试构建时出现错误:FamtopmyApp$ionicbuildandroidRunningcommand:"c:\ProgramFiles\nodejs\node.exe"c:\Users\Famtop\myApp\hooks\after_prepare\010_add_platform_class.jsc:/Users/Famtop/myAppaddtobodyclass:platform-androidRunningcommand:"c:\ProgramFiles\nodejs\node.exe"c:\Users\Famto

es创建索引库bug。Failed to parse mapping [_doc]: analyzer [ik_smart] has not been configured in mappings

前提:        出现这个bug是因为在Linux端使用docker-compose部署好es后没有在plugins目录下配置好ik分词器,导致在es管理开发工具端,使用带有ik_smart分词的配置进行索引库创建映射导致的bug!      解决方案:        在Linux端的es部署目录下创建plugins配件目录下载对应版本(与es版本一致)的ik分词器,然后重启es就可以了

android - 如果我使用 "if (android.os.Build.VERSION.SDK_INT>=11)"是否需要反射

我正在开发一个面向API11(3.0)但minSDKVersion为7(2.1)的应用。我以编程方式而不是使用XML生成我的PreferenceActivity。在Honeycomb中,首选项布局有一个内置图标点,可以放在每个首选项旁边。您可以使用prefScreen.setIcon(R.drawable.my_icon);进行设置所以我不想在API7-10上执行此操作。这足以防止崩溃吗?if(android.os.Build.VERSION.SDK_INT>=11)prefScreen.setIcon(R.drawable.myIcon);我知道更安全的解决方案是在尝试使用该方法之前