草庐IT

runtime_library_dirs

全部标签

android - 选中 "is Library"复选框有什么作用 "Under the Cover"?

我注意到,当我将现有的Android应用程序项目转换为Android库项目时bycheckingthe"isLibrary"checkbox,项目的源代码或XML文件没有任何变化。那么当“是图书馆”复选框被选中时到底发生了什么?包和/或项目文件内部有什么变化?我在哪里可以了解更多相关信息?为了更好地解释我的问题:我有兴趣了解的内容(主要是用于故障排除目的)是应用程序包与库的区别“隐藏”包装?是一个项目的事实“图书馆计划”标记某处?如果是这样,它在哪里标记它(显然不在源代码中文件,甚至不在resXML中文件) 最佳答案 来自Manag

android - Google 的新位置库(实现 'com.google.android.libraries.places:1.0.0')未解析

我正在尝试迁移到新的PlacesSDK客户端,但我被告知要在documentation中安装依赖项给我一个“无法解决”的错误。我确保删除旧的SDK和places-compat库,然后进行清理和重建。这是我的依赖列表:dependencies{implementation'com.android.support:support-v4:28.0.0'testImplementation'junit:junit:4.12'androidTestImplementation'com.android.support.test:runner:1.0.2'androidTestImplementat

android - 库 com.google.firebase :firebase-analytics is being requested by various other libraries

更新Firebase库时出现此错误:Thelibrarycom.google.firebase:firebase-analyticsisbeingrequestedbyvariousotherlibrariesat[[15.0.1,16.0.0),[16.0.1,16.0.1],[16.0.1,99999]],butresolvesto16.0.1.Disablethepluginandcheckyourdependenciestreeusing./gradlew:app:dependencies.依赖项是:implementation'com.google.firebase:fire

找到 Android Studio 3.0 未知元素 <library>

更新AndroidStudio后,我的其中一个项目无法构建。错误信息是:Error:(20)error:unknownelementfound.Error:(20)unknownelementfound.Error:java.util.concurrent.ExecutionException:java.util.concurrent.ExecutionException:com.android.tools.aapt2.Aapt2Exception:AAPT2error:checklogsfordetailsError:java.util.concurrent.ExecutionExc

java - 安装带有依赖的jar到maven仓库(Android gcm-server push library)

我从事一个工业化的大型maven项目,在一个应用程序模块上,我需要能够向Android(使用新的Google云消息传递)发送推送通知。谷歌似乎为自己提供了服务器端库来发送通知,根据邮件列表,他们没有提供任何Maven存储库。谷歌文档中提到的第一步是:Copythegcm-server.jarfilefromtheSDK'sgcm-server/distdirectorytoyourserverclasspath.我不打算这样做,所以我已将jar添加到我的本地存储库并将其添加到我们的企业Nexus。mvninstall:install-file-Dfile=gcm-server.jar-

android - ant debug 和 sdk.dir

我在生成AndroidAPK文件时遇到问题。当我运行antdebug时编译工作正常,但是当我运行antdebug时我有以下错误:iMac:proj.androidsmartmind$antdebugBuildfile:/Users/smartmind/Works/Smallthing/cocos2d-x/samples/HelloCpp/proj.android/build.xmlBUILDFAILED/Users/smartmind/Works/Smallthing/cocos2d-x/samples/HelloCpp/proj.android/build.xml:46:sdk.di

android - 如何使用最新的支持库(Getting failed to resolve error with support library 26.0.2 and compileSDKVersion 26)?

这个问题在这里已经有了答案:Failedtoresolve:com.android.support:appcompat-v7:26.0.0(14个答案)关闭4年前。我已将compileSdkVersion更新为26。这就是我的gradle文件现在的样子。applyplugin:'com.android.application'android{compileSdkVersion26buildToolsVersion"26.0.0"defaultConfig{applicationId##############minSdkVersion21targetSdkVersion26versio

android - 运行时异常 : Unable to create output dir:/storage/emulated/0/app_spoon-screenshots

我正在使用gradle-spoon-plugin为AndroidUI测试设置Spoon使用Spoon2.0.0快照。我的项目是使用AndroidGradle插件3.0.1设置的。当通过spoonRule.screenshot(activity,"hello")截屏时,我得到这个RuntimeException:java.lang.RuntimeException:Unabletocreateoutputdir:/storage/emulated/0/app_spoon-screenshotsatcom.squareup.spoon.SpoonRule.createDir(SpoonRu

android - 找不到 ID 为 'com.android.library' 的插件

这个问题在这里已经有了答案:AndroidStudio:Pluginwithid'android-library'notfound(10个答案)关闭6年前。当我尝试在AndroidStudio中使用库项目时收到此错误。build.gradle中给出此错误的特定行是applyplugin:'com.android.library'我什至尝试将其更改为applyplugin:'android-library'但它仍然不起作用,而是显示:Error:(7,0)Pluginwithid'android-library'notfound。我什至尝试添加:classpath'com.android

android - Circular Reveal Android Compat With Design Library 28

如何使用设计库版本28在Android中创建圆形显示动画我看到很少有类(class)有像这样的项目:android.support.design.circularreveal.CircularRevealFrameLayoutandroid.support.design.circularreveal.CircularRevealGridLayoutandroid.support.design.circularreveal.CircularRevealLinearLayoutandroid.support.design.circularreveal.CircularRevealRelat