android-gradle-plugin相关内容
在我的Android项目中,我有一个将构建依赖项复制到外部目录的任务,如下所示: task copyBuildDependencies(type: Copy) { delete "$buildDir/dependencies" afterEvaluate { from configurations.releaseCompileClasspath
..
我将Android Studio升级到了3.0版.此后,每当我尝试调试器运行我的应用程序或尝试重建项目时,我都会收到此错误: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMer
..
请我真的需要帮助, 这似乎是““此"不可用"的副本.在Android Studio的调试窗口中 但是我需要提供更多信息来解决特定问题. 所以我在链接中处于与问题相同的情况,但是我怀疑这与我的构建设置有关. 请帮助. 这是我的 build.gradle : buildscript { repositories { maven { url 'http://d
..
当我编译项目并在设备上运行时,它无法正常工作,并且我通过USB电缆在真实设备中检查了应用程序,并且运行良好,但是当我尝试生成发行版APK或尝试生成调试APK时显示gradle同步失败的错误无法生成apk,并将警告/错误显示为 Android Studio 3.0.1错误:Gradle项目同步失败.基本功能(例如编辑,调试)将无法正常工作. 解决方案 尝试一下 转到Android St
..
我正在使用Android Studio处理 tomahawk-android 项目,所以我使用git将项目直接克隆到Android Studio中,该项目无法生成,说; Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1). Searched in the following locations:
..
嗨,我在运行我的android项目时遇到以下错误: Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate
..
我在android studio中收到此错误 渲染问题 Failed to load AppCompat ActionBar with unknown error. 无法实例化一个或多个类 The following classes could not be instantiated: - android.support.v7.widget.ActionBarCont
..
我正在尝试使用Android应用程序捆绑包构建我的应用程序. apk可以很好地生成,但由于“保留的文件或目录名称'res'"而导致捆绑软件没有问题.奇怪的是,它只选择了这个可绘制文件,该文件仅存在于Android pie(28)SDK文件夹中.我不在模块的任何地方使用它. sym_keyboard_feedback_delete.png 我正在使用最新的gradle版本(3.2.1)并
..
自带的xmlpullparser包含的项目在Android Studio中始终需要格外小心,因为Android自带了xmlpullparser. 例如流行的XML映射器XStream要求此排除 (1) (2): compile('com.thoughtworks.xstream:xstream:1.4.7') { exclude group: 'xmlpull', module
..
我已经花了一天多的时间来解决运行我的android项目时给出的重复项. 错误: Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.> java.util.zip.ZipException: duplicate entry: com/google/common/annotations/Beta
..
检查边界是否为空时出现错误: boundsBuilder.include(new LatLng(loc.getLocation().getLat(), loc.getLocation().getLng())); bounds = boundsBuilder.build(); if (bounds != null) {
..
我是Android的新手.我目前在android应用中工作,当我尝试运行该应用时,会发生此错误. 我已经研究过,但无法解决此错误. 错误 build.gradle apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.2" defaul
..
我想从Google试用新的生命周期资料( https://developer.android.com/arch ),但在应用打开时崩溃.我要做的就是添加依赖项.还有其他人有这个问题吗? 日志: FATAL EXCEPTION: main Process: com.duetandroid.app.mock, PID: 17857 java.lang.NoClassDefFoundErro
..
我的依赖 dependencies { compile 'me.dm7.barcodescanner:zxing:1.9' implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.a
..
我正在使用Gradle版本3.2.0和compileSdkVersion 28在Android中构建我的React Native应用的发行版APK.我正在运行以下命令: react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/as
..
我正在使用以下代码实例化特定程序包中包含的所有类. DexFile df = new DexFile(getPackageCodePath()); for (Enumeration iter = df.entries(); iter.hasMoreElements(); ) { String className = iter.nextElement(); if
..
我只是在android studio中创建了一个新项目,并向其中添加了gcm模块. 而且我不断给出此错误消息 Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle. 并且
..
我尝试将项目加载到新的 Android Studio 3.0 Canary 1 中. 在我以前的 Android Studio 2.4版本7预览版 中,它运行完美 这是我面临的错误: Error:Could not resolve all dependencies for configuration ':sample:devCompileClasspath'. Project :samp
..
错误:任务':app:preDebugBuild'的执行失败. Android依赖项com.google.android.gms:play-services-ads对于编译(11.8.0)和运行时(11.0.4)类路径具有不同的版本.您应该通过DependencyResolution手动设置相同的版本 我的项目gradle: buildscript { repositor
..
我在Android应用程序上使用rxjava和rxvolley.当我尝试运行它时,出现此错误 Execution failed for task ':testapp:transformResourcesWithMergeJavaResForDebug'. > com.android.build.api.transform.TransformException: com.android.bui
..