我昨天刚下载了Unity3D。我正在尝试为我的游戏构建APK,一切看起来都很好(游戏甚至在我的设备上的Unity Remote for Android上都运行得很好),但当我试图为游戏构建APK时,我在控制台上得到了这个错误:
Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details.
C:\Program Files (x86)\Java\jdk1.6.0_45\bin\java.exe -Xmx1024M -Dcom.android.sdkmanage
需要帮助,当我试图建立我的统一项目,它给予以下错误。但由于同样的原因,我无法纠正错误。任何帮助都是有用的。
错误1
Error: Failed to add D:\jbINTEG\Temp\StagingArea\bin\classes.dex
UnityEditor.HostView:OnGUI()
误差2
CommandInvokationFailure: Failed to build apk. See the Console for details.
C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.and
我正在尝试将一个应用程序发布到Google Play Store上。我使用keystore (Android Studio中的Build -> Generate Signed Apk)对应用程序进行了签名。
但是当我试图在play商店中发布它时,我得到了以下错误。
Upload failed
You uploaded an unsigned APK. You need to create a signed APK.
我尝试了几次,甚至创建了新的密钥库,并从中尝试。这是没有区别的。
我使用的是最新的Android Studio 2.3
如何修复它?
我是一个android的初学者,刚开始2天。我突然对它感兴趣,因为我参加了一个关于android的简短研讨会。我目前正在开发的自学和目标是一个应用程序,由上面的果冻4.1支持,其中显示了地图。我已经知道了API等。地图现在显示,但我想要的目标是当我打开地图时只显示一个特定的位置。例如,我将打开应用程序(仅限韩国),GPS将自动启用,它将确定我目前在首尔。该地图不会显示其他国家,但仅设置为韩国,并且将仅缩放到首尔市。这是我的代码,但现在我有点失望,因为我收到了太多的错误,我不明白。
public class MapsActivity extends FragmentActivity implem
我正在尝试一个反应本地应用程序,它只需要一个电话号码,并有国家代码。这个应用程序的大小是60 is。而像facebook和uber这样的大型apks也是建立在react本机的基础上的,它们的容量约为100 mb。
这怎麽可能?
我也试过这个。
Open up android/app/build.gradle
Set def enableProguardInReleaseBuilds = true this would enable Progaurd to compress the Java Bytecode. This reduces the app size by a tad bit
Se
我最终为android交叉编译了一个,但现在我无法将它与我的主.so库(原生库)链接起来。我遵循了中显示的步骤。
我的CMakeList.txt如下所示。
# Sets the minimum version of CMake required to build your native library.
# This ensures that a certain set of CMake features is available to
# your build.
cmake_minimum_required(VERSION 3.4.1)
# Specifies a library nam
我正在为一个应用程序实现CICD,这是我在本机上做的,但现在我遇到了一个情况,即防火墙不允许我上传ipa和apk“服务器响应状态为400”。我已经使用我的帐户上传,首先,它是完美的工作,现在我正在使用另一个帐户。现在不让我上传了。
这就是我在终点站窗口得到的东西。
[13:28:30]: Authenticated successfully.
[13:28:33]: ⌛ Uploading the APK.
[13:28:47]: ✅ Uploaded the APK.
[13:28:48]: the server responded with status 400
+------+----
我刚刚发布了我的应用程序的最新版本,但我在谷歌游戏机上看到了一些用户的崩溃。
exception.class.missing._Unknown_:
at com.android.icu.util.regex.PatternNative.compileImpl (Native Method)
at com.android.icu.util.regex.PatternNative.<init> (PatternNative.java:39)
at com.android.icu.util.regex.PatternNative.create (PatternNative.
我有一个GitHub工作流,用于发布存储库的夜间快照。工作流文件现在是这样的:
# Define workflow name
name: main
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- main
jobs:
build:
# This job will run on windows virtual machine
runs-on: windows-latest
steps:
# Setup Jav
Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
C:\Users\Usuari\AppData\Local\Android\android-sdk\build-tools\21.0.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Usuari/AppDa
我在我的本机lib.cpp文件中有以下功能:
JNIEXPORT jlong JNICALL
Java_com_example_z_myapplication_MainActivity_convert32to64(JNIEnv *env, jobject instance,
jlong l) {
// TODO
l = l + 76561197960265728L;
return l;
}
在我的MainActivity.java:
public class MainAc
我正在尝试将AAB上传到App Distribution (链接到Google Play),但收到以下错误: Execution failed for task ':mobile:appDistributionUploadRelease'.
> Could not find the APK. Make sure you build first by running ./gradlew assemble[Variant*** or set the artifactPath parameter to point to your APK 如何在不构建APK的情况下解决问题?
在Android 3.2.1中,对于我的本机库,我有两个可见的构建变体:。在3.3我得到了这些和所有ABI的组合。我不想为所有的ABI构建多个APK。
本地图书馆项目的有关部分:
apply plugin: 'com.android.library'
android {
defaultConfig {
ndk {
// Specifies the ABI configurations of your native
// libraries Gradle should build and pack
我最近在Android Market上传了一个应用程序。我已经修复了一些问题,现在正在尝试上传最新版本。我确信我使用的是same keystore,相同的包,更高版本的代码。上传时显示以下错误:
The apk must be signed with the same certificates as the previous version.
编辑:我已经用相同的keystore重新生成了apk,这次错误改变了:
The server could not process your apk. Try again.
所以我已经尝试了我能找到的一切。它一直显示在下面。我尝试用更低的版本替换工具文件夹(C:/ user /(我的用户名)/AppData/Local/Android/Sdk)。我试着替换整个sdk。我试着卸载,然后重新安装android工作室。我真的不知道还能做什么。有点令人失望的是,我终于完成了一个原始的迷你游戏,但不能制造它。在过去的12个小时里,我一直在为这件事苦苦挣扎。耽误您时间,实在对不起!
Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details.
我刚刚尝试上传一个APK (作为测试版)从Phonegap构建到谷歌游戏商店。
得到一个错误如下:
Upload failed
You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play.
当我从Phonegap生成apk时,可调试器选项是未标记的。
有什么想法吗?去年上传的应用程序几乎相同,但我没有收到这个错误。
我最近更新了Firebase Appdistribution Gradle插件的版本,从1.4.0升级到2.0.1。 从那时起,Jenkins开始给出下面的构建时间错误: Execution failed for task app:appDistributionUpload[Variant]. Could not find the APK. Make sure you build first by running ./gradlew assemble[Variant], or set the api Path parameter to point to your APK 这是我在Jenkin
今天,我已经将我的android studio从gradle 2.2.1升级到2.14.1,从那时起,我的工作室不能在设备上安装任何apk文件。它显示了错误。
\app\build\outputs\apk\app-debug.apk does not exist on disk.
Error while Installing APK.
但在资源管理器中,该目录包含apk文件。我也尝试过清理、重建和重新设置工作室,但无法修复。请帮帮我。
我想上传到Playstore,我的应用程序,将取代一个旧的版本,我没有加载我在过去。当我试图上传我的应用程序时,我有以下错误:
You uploaded an APK that is signed with a certificate other than that
of your previous APK. You must use the same certificate.
The APK existing certificates are signed by these fingerprint:
[SHA1: .... ]
The certificates used to sign
我刚刚升级Flash builder从4.6到4.7,导入我以前的4.6项目,测试它,工作正常,去项目>导出发布构建,做相同的导出构建,用相同的p12证书文件签名,上传到Google Play和...我得到了一个:
Upload failed
You uploaded an APK with invalid or missing signing information for some of its files. You need to create a valid signed APK. Learn more about signing.
我不知道我做错了什么,有谁经历过同样的事情吗?