我已经使用PWA2APK上传我的反应应用程序的第一个版本到Google。效果很好。但是,每次我试图通过上传一个新版本来更新这个应用程序时,我会得到以下信息:
You uploaded an APK that is not signed with the upload certificate. You must use the same certificate. The upload certificate has fingerprint:
SHA1: *******************
and the certificate used to sign the APK you uploade
在码头容器上运行apk add oh-my-zsh:
/ # apk add oh-my-zsh
ERROR: unable to select packages:
oh-my-zsh (no such package):
required by: world[oh-my-zsh]
包似乎是存在的:https://pkgs.alpinelinux.org/package/edge/testing/x86/oh-my-zsh
下面是我正在构建的码头文件:
FROM alpine:latest
RUN apk update
RUN apk add curl
RUN apk add zs
我试图解决这个恼人的错误,我已经尝试了所有可能的选择。我检查了前面的答案,并试图使缓存无效并重新启动。我还确保我在gradle中的支持依赖是正确的,但由于某种原因,我的应用程序在我的手机上运行时会崩溃,并出现以下错误。
Caused by: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class com.example.android.camera2basic.AutoFitTextureView
将包名与applicationId更改为最终apk之间的区别是什么?
我知道这在保存源代码方面是不同的,但是让我说我有一些包名为a.b.c.d的应用程序。在构建的apk文件中有什么不同?
如果我将a.b.c.d重命名为q.w.e.r,然后构建apk文件
vs
用q.w.e.r将applicationId转换为gradle
今天,当我想从我的项目中获得一个版本时,android展示了这个错误:
android {
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
因此,我打开lint的report文件夹