gradle

react-native fastlane自动化构建分发应用管理工具for iOS and Android

余生长醉 提交于 2021-02-10 22:52:29
关于RN的相关资料,教你一步步开发react-native企业级应用 ReactNative开发企业级电商APP应用,环境搭建->开发工具->重点知识库->基础框架构建->iOS/Android上线 应用完成开发后,讲讲 自动化构建fastlane ,react-native fastlane自动化构建分发应用管理工具for iOS and Android 简单来说fastlane能为我们做些什么? 1、通过命令行 fastlane ios appstore / fastlane android google 即可将应用打包上传至App Store或Google应用市场 2、如果还处于内测阶段, fastlane ios debug / fastlane android debug 可以将应用打包上传至 蒲公英pgyer 上测试 ----- -------------------- -------------------- -------------------- --------------- 先来看看我们的RN应用目录 一切开始的第一步: brew cask install fastlane 进入RN项目根目录,执行 fastlane init ( fastlane for react-native官方文档 ) 然后会生成fastlane目录和Gemfile文件,cd

How to exclude resources from android shrinkResources?

可紊 提交于 2021-02-10 22:38:13
问题 How can I exclude all /res/raw/*.wav files from shrinking? buildTypes { release { shrinkResources true minifyEnabled true } } 回答1: /res/raw/keep.xml : <?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools" tools:keep="*.wav"/> 回答2: Had a similar issue with two wav files - bell.wav and beep.wav in the res/raw/ folder. membersounds's answer above pointed the right direction, but did not solve the issue - this is the /res/raw/keep.xml that worked: <?xml

Unable to run on device after migrating to AndroidX. failed for task ':app:mergeDebugResources' caused by Daemon startup failed

有些话、适合烂在心里 提交于 2021-02-10 19:58:37
问题 Good day everybody, I recently migrated to AndroidX and encounter some problems. The projects builds ok, but when I try to run on device, I get the error "Process unexpectedly exit." when running tasks. Specifically when it reach es app:MergeDebugResources This is what i get: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeDebugResources'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.accept(ExecuteActionsTaskExecuter.java:151) at

Flutter app is running on Android Emulator but not on Physical Device (OnePlus 7T)

∥☆過路亽.° 提交于 2021-02-10 18:33:44
问题 When I run my flutter app on Android Emulator it runs without errors but when I am running it on my mobile device it shows following error in Debug Console: Launching lib\main.dart on HD1901 in debug mode... FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileDebugKotlin'. > Could not resolve all artifacts for configuration ':app:debugCompileClasspath'. > Failed to transform artifact 'arm64_v8a_debug.jar (io.flutter:arm64_v8a_debug:1.0.0

Package not found when Spring Boot plugin applied

无人久伴 提交于 2021-02-10 18:30:42
问题 I have a multi-module project with the following build.gradel files core: repositories { mavenCentral() } dependencies { providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat' } test-module: dependencies { implementation project(":core") } app: repositories { mavenCentral() } dependencies { implementation project(":core") implementation project(":test") } springBoot{ mainClassName = "com.yenovi.dev.Main" } and then the root : buildscript { repositories { mavenCentral() } }

Android compilation error after upgrading to 'com.google.android.gms:play-services-ads:18.1.0'

心已入冬 提交于 2021-02-10 16:43:05
问题 I am upgrading my play-services-ads library from version 12 to version 18.1: dependencies { api 'com.google.android.gms:play-services-ads:18.1.0' } The problem is that the compilation fails with this error: .gradle/caches/transforms-1/files-1.1/play-services-ads-identifier-17.0.0.aar/75b3c9fbdc51199269673bd2fa8b6cfe/jars/classes.jar(com/google/android/gms/ads/identifier/AdvertisingIdClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy': class file for javax

Android compilation error after upgrading to 'com.google.android.gms:play-services-ads:18.1.0'

拈花ヽ惹草 提交于 2021-02-10 16:40:36
问题 I am upgrading my play-services-ads library from version 12 to version 18.1: dependencies { api 'com.google.android.gms:play-services-ads:18.1.0' } The problem is that the compilation fails with this error: .gradle/caches/transforms-1/files-1.1/play-services-ads-identifier-17.0.0.aar/75b3c9fbdc51199269673bd2fa8b6cfe/jars/classes.jar(com/google/android/gms/ads/identifier/AdvertisingIdClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy': class file for javax

Flutter:gradle build failed with error “A problem occurred evaluating root project 'android' > A problem occurred configuring project ':app'.”

不问归期 提交于 2021-02-10 16:18:03
问题 My flutter app runs fine on the emulator, runs fine on my android when connected via USB, but crashes before opening when updated from the play store. Does the same to everyone else that has tried the update. So I thought I would try rebuilding as apk and install from firebase distribution. flutter build works fine if i run as appbundle, or apk but only fails on apk --split-per-abi. I am not sure if this error has to do with why it's crashing or if it's a new problem. Here is the error I get

Flutter:gradle build failed with error “A problem occurred evaluating root project 'android' > A problem occurred configuring project ':app'.”

随声附和 提交于 2021-02-10 16:10:45
问题 My flutter app runs fine on the emulator, runs fine on my android when connected via USB, but crashes before opening when updated from the play store. Does the same to everyone else that has tried the update. So I thought I would try rebuilding as apk and install from firebase distribution. flutter build works fine if i run as appbundle, or apk but only fails on apk --split-per-abi. I am not sure if this error has to do with why it's crashing or if it's a new problem. Here is the error I get

Renjin can't load pckages

做~自己de王妃 提交于 2021-02-10 16:03:35
问题 I'm a newbie with Renjin. I'm trying to use Renjin in a Java application. I'm trying to develop the example showed here. I'm compiling with gradle, as recommended in the renjin's web page. So, with gradle build all is ok when I run gradle build. Building with Renjin 0.8.2527 :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar UP-TO-DATE :startScripts UP-TO-DATE :distTar UP-TO-DATE :distZip UP-TO-DATE :assemble UP-TO-DATE :compileTestJava UP-TO-DATE