build

Suddenly getting Firebase java.lang.IllegalAccessError at startup of app

安稳与你 提交于 2020-08-07 04:05:33
问题 suddenly a crash occurs at initial startup of app after installation ! But just the first time...after second opening of app it works properly. I have not changes the firebase code but maybe the dependency...but to the latest version...so normally it should be a stable one! It seems to have some problem related to firebase: java.lang.IllegalAccessError: Illegal class access: 'com.google.firebase.messaging.zze' attempting to access 'com.google.firebase.iid.zzat' (declaration of 'com.google

Out of source builds (external build directory) with Cargo?

本秂侑毒 提交于 2020-08-01 06:03:45
问题 Having used CMake, I've become used to out-of-source builds, which are encouraged with CMake. How can out-of-source builds be done with Cargo? Using in-source-builds again feels like a step backwards: Development tools need to be configured to ignore paths. Sometimes multiple plugins and development tools - especially using VIM or Emacs! Some tools can't be configured to easily hide build files. While dotfiles are typically hidden, they will still show Cargo.lock and target/ , worse still,

Out of source builds (external build directory) with Cargo?

陌路散爱 提交于 2020-08-01 06:01:00
问题 Having used CMake, I've become used to out-of-source builds, which are encouraged with CMake. How can out-of-source builds be done with Cargo? Using in-source-builds again feels like a step backwards: Development tools need to be configured to ignore paths. Sometimes multiple plugins and development tools - especially using VIM or Emacs! Some tools can't be configured to easily hide build files. While dotfiles are typically hidden, they will still show Cargo.lock and target/ , worse still,

Setting an environment variable from within the sbt shell

假装没事ソ 提交于 2020-07-30 05:22:21
问题 I would like to be able to set an environment variable from within the interactive sbt shell, and I can't seem to find a way to do that. (I have looked on the official sbt docs as well as on stackoverflow without success). I want to make it clear that I don't want to have to set this environment variable in the build.sbt file, but rather be able to change it on the fly on my interactive sbt shell session, so that the environment variable is used for the next sbt commands I run. For example, I

Is it possible to patch a submodule in Git from the parent project?

偶尔善良 提交于 2020-07-27 07:10:47
问题 I have a project main that contains a submodule foo . For this particular project, I would like to make a small change to foo that only applies to this particular project main . main/ + .git + main.c + lib/ | + bar.c + foo/ # My `foo` submodule + .git + config.h # The file I want to patch from `main` + ... A common solution would be to go down to my submodule, make a commit Applied patch for main on a new branch called main-project , then push it. Unfortunately, this is a very bad approach

gcloud crashed (OSError): [Errno 2] No such file or directory: '/workspace/env/bin/python3.7'

对着背影说爱祢 提交于 2020-07-23 07:39:06
问题 When trying to deploy my fastapi python service (on App Engine), I'm running into the following error in the deploy step: ERROR: gcloud crashed (OSError): [Errno 2] No such file or directory: '/workspace/env/bin/python3.7' I'm starting the deploy/build from my local machine with the following command: gcloud builds submit --config config/cloudbuild/deploy.yaml --project $_PROJECT . Am I doing something wrong, or could it be something wrong with the gcloud builder? I've tried with both google

gcloud crashed (OSError): [Errno 2] No such file or directory: '/workspace/env/bin/python3.7'

孤人 提交于 2020-07-23 07:38:26
问题 When trying to deploy my fastapi python service (on App Engine), I'm running into the following error in the deploy step: ERROR: gcloud crashed (OSError): [Errno 2] No such file or directory: '/workspace/env/bin/python3.7' I'm starting the deploy/build from my local machine with the following command: gcloud builds submit --config config/cloudbuild/deploy.yaml --project $_PROJECT . Am I doing something wrong, or could it be something wrong with the gcloud builder? I've tried with both google

gcloud crashed (OSError): [Errno 2] No such file or directory: '/workspace/env/bin/python3.7'

谁说胖子不能爱 提交于 2020-07-23 07:37:11
问题 When trying to deploy my fastapi python service (on App Engine), I'm running into the following error in the deploy step: ERROR: gcloud crashed (OSError): [Errno 2] No such file or directory: '/workspace/env/bin/python3.7' I'm starting the deploy/build from my local machine with the following command: gcloud builds submit --config config/cloudbuild/deploy.yaml --project $_PROJECT . Am I doing something wrong, or could it be something wrong with the gcloud builder? I've tried with both google

Go build error: no non-test Go files in <dir>

泪湿孤枕 提交于 2020-07-20 11:24:42
问题 Getting an error when trying to run go build ./... from my $GOPATH/src . no non-test Go files in <dir> The error is correct there are no test files in <dir> but why is that causing a compile error? Is it a bug? 回答1: I don't think this is a bug, unless you see somewhere in the docs that contradicts this behaviour you should probably close the issue you've created. Tests in go normally live in the package they are testing. You have made a new package with package main at the top (invalid if you

Go build error: no non-test Go files in <dir>

爷,独闯天下 提交于 2020-07-20 11:23:36
问题 Getting an error when trying to run go build ./... from my $GOPATH/src . no non-test Go files in <dir> The error is correct there are no test files in <dir> but why is that causing a compile error? Is it a bug? 回答1: I don't think this is a bug, unless you see somewhere in the docs that contradicts this behaviour you should probably close the issue you've created. Tests in go normally live in the package they are testing. You have made a new package with package main at the top (invalid if you