I'm using Unity 2017.4.3f1, and am having trouble building for android using Gradle. I've assigned the correct path in preferences to the SDK (it selected it automatically). I'm running OSX Mojave, version 10.14.5. As for android settings, here's a picture of the error and my settings: https://imgur.com/a/ztpq8uc. My minimum API level is set to be 4.1, and my target is the highest installed. I've tried installing different SDK levels with little result, but currently only have 9.+ (API level 29, "Q") and 7.1.1 (API Level 25, "Nougat") installed, along with everything from the SDK tools tab, including Google Play Services. But when I build, I get the following error:
CommandInvokationFailure: Gradle build failed.
/Applications/Unity/Hub/Editor/2018.4.3f1/PlaybackEngines/AndroidPlayer/Tools/OpenJDK/MacOS/bin/java -classpath "/Applications/Unity/Hub/Editor/2018.4.3f1/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-4.6.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
stderr[
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bundleReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: /Users/breeze/apps/living-room/Temp/gradleOut/build/intermediates/merged_manifests/release/processReleaseManifest/merged/AndroidManifest.xml:101: error: resource integer/google_play_services_version (aka com.mycompanyname.appname:integer/google_play_services_version) not found.
error: failed processing manifest.
I'm fairly sure there's something wrong with my android setup, because I was building this project previously with 2018.3 when my computer crashed, and now I've started using a new computer, and gotten this. Could anyone tell me what might be wrong with my setup, or what this error might mean? I'm confused and can't seem to find anything that works. A few of the questions I've seen tell me to check the manifest, but I don't see any manifest in my /Assets folder, nor do I know why I would have to modify this now, since I've never had to do it before.
↧
Android build failing.
↧
ANDROID: error: unexpected element found in .
Hi.
I upgraded a proyect done on 2017.3.1 to 2018.3.1 (did a backup in case of something wrong), and now I can't build my APK. This is the error log:
CommandInvokationFailure: Gradle build failed.
/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/OpenJDK/MacOS/bin/java -classpath "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/gradle/lib/gradle-launcher-4.6.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
stderr[
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processReleaseResources'.
> Android resource linking failed
Output: /Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/merged_manifests/release/processReleaseManifest/merged/AndroidManifest.xml:92: error: unexpected element found in .
Command: /Users/FrancoBJ/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.0-4818971-osx.jar/fccf37024a9d40152d6377e6cd3be5b0/aapt2-3.2.0-4818971-osx/aapt2 link -I\
/Users/FrancoBJ/Library/Android/sdkold/platforms/android-26/android.jar\
--manifest\
/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/merged_manifests/release/processReleaseManifest/merged/AndroidManifest.xml\
-o\
/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/processed_res/release/processReleaseResources/out/resources-release.ap_\
-R\
@/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/incremental/processReleaseResources/resources-list-for-resources-release.ap_.txt\
--auto-add-overlay\
--java\
/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/generated/not_namespaced_r_class_sources/release/processReleaseResources/r\
--custom-package\
cl.Carpetres.BBOSCH\
-0\
apk\
-0\
.unity3d\
-0\
.ress\
-0\
.resource\
-0\
.obb\
-0\
data/galeria/colorlist.json\
-0\
data/sierragorda/galeria_bak/colorlist.json\
-0\
testing/activity/info/info_1.json\
-0\
testing/activity/info/info_2.json\
-0\
testing/activity/info/info_3.json\
-0\
testing/activity/info/info_4.json\
-0\
testing/activity/info/info_5.json\
-0\
testing/activity/info/info_6.json\
-0\
testing/activity/list/list_1.json\
-0\
testing/activity/list/list_2.json\
-0\
testing/activity/mes/mes_1.json\
-0\
testing/activity/mes/mes_10.json\
-0\
testing/activity/mes/mes_11.json\
-0\
testing/activity/mes/mes_12.json\
-0\
testing/activity/mes/mes_2.json\
-0\
testing/activity/mes/mes_3.json\
-0\
testing/activity/mes/mes_4.json\
-0\
testing/activity/mes/mes_5.json\
-0\
testing/activity/mes/mes_6.json\
-0\
testing/activity/mes/mes_7.json\
-0\
testing/activity/mes/mes_8.json\
-0\
testing/activity/mes/mes_9.json\
-0\
testing/cumpleanyos/list/list_1.json\
-0\
testing/cumpleanyos/list/list_2.json\
-0\
testing/cumpleanyos/mes/mes_1.json\
-0\
testing/cumpleanyos/mes/mes_10.json\
-0\
testing/cumpleanyos/mes/mes_11.json\
-0\
testing/cumpleanyos/mes/mes_12.json\
-0\
testing/cumpleanyos/mes/mes_2.json\
-0\
testing/cumpleanyos/mes/mes_3.json\
-0\
testing/cumpleanyos/mes/mes_4.json\
-0\
testing/cumpleanyos/mes/mes_5.json\
-0\
testing/cumpleanyos/mes/mes_6.json\
-0\
testing/cumpleanyos/mes/mes_7.json\
-0\
testing/cumpleanyos/mes/mes_8.json\
-0\
testing/cumpleanyos/mes/mes_9.json\
-0\
testing/encuesta/encuestalistjson.json\
-0\
testing/encuesta/encuesta_id0.json\
-0\
testing/encuesta/encuesta_id0_not.json\
-0\
testing/encuesta/encuesta_id1.json\
-0\
testing/encuesta/encuesta_id2.json\
-0\
testing/encuesta/encuesta_id3.json\
-0\
testing/galeria/galeriaitemsdata.json\
-0\
testing/galeria/galeriamesesfotodata.json\
-0\
testing/galeria/galeriamesesvideodata.json\
-0\
testing/galeria/foto_galerialist.json\
-0\
testing/galeria/video_galerialist.json\
-0\
testing/migasco/360/360json.json\
-0\
testing/migasco/cultura/culturajson.json\
-0\
testing/migasco/nuevospadres/nuevospadresjson.json\
-0\
testing/migasco/organigramas/orgjson.json\
-0\
testing/migasco/presencianacional/baseempresasjson.json\
-0\
testing/migasco/presencianacional/edsjson.json\
-0\
testing/migasco/presencianacional/edificiosjson_1.json\
-0\
testing/migasco/presencianacional/edificiosjson_2.json\
-0\
testing/migasco/presencianacional/edificiosjson_3.json\
-0\
testing/migasco/presencianacional/empresasjson.json\
-0\
testing/migasco/presencianacional/plantajson_01.json\
-0\
testing/migasco/presencianacional/presenciainfo_1.json\
-0\
testing/migasco/presencianacional/presenciainfo_2.json\
-0\
testing/migasco/presencianacional/presenciainfo_3.json\
-0\
testing/migasco/presencianacional/presenciainfo_4.json\
-0\
testing/migasco/presencianacional/presenciainfo_5.json\
-0\
testing/migasco/presencianacional/presenciajson.json\
-0\
testing/migasco/presencianacional/sedesjson.json\
-0\
testing/noticia/nottest_1.json\
-0\
testing/noticia/nottest_2.json\
-0\
testing/noticia/nottest_3.json\
-0\
testing/noticia/nottest_4.json\
-0\
testing/profile/profiletest.json\
-0\
testing/sura/clubsura/clubinfojson_0.json\
-0\
testing/sura/clubsura/clubinfojson_1.json\
-0\
testing/sura/clubsura/clubinfojson_2.json\
-0\
testing/sura/clubsura/clubinfojson_3.json\
-0\
testing/sura/clubsura/clubinfojson_4.json\
-0\
testing/sura/clubsura/clubinfojson_5.json\
-0\
testing/sura/clubsura/clubinfojson_6.json\
-0\
testing/sura/clubsura/clubinfojson_7.json\
-0\
testing/sura/clubsura/clubinfojson_8.json\
-0\
testing/sura/clubsura/clubinfojson_9.json\
-0\
testing/sura/clubsura/clubsurajson.json\
-0\
testing/sura/culturasura/culturasuracreencias.json\
-0\
testing/sura/culturasura/culturasuraliderazgo.json\
-0\
testing/sura/culturasura/culturasuraprincipios.json\
-0\
testing/sura/culturasura/culturasuravivimos.json\
-0\
testing/sura/estrategia2020/culturajson.json\
-0\
testing/sura/estrategia2020/estrategiajson.json\
-0\
testing/sura/estrategia2020/iniciativasjson.json\
-0\
testing/sura/estrategia2020/pilaresjson.json\
-0\
testing/sierragorda/seguridad_json.zip\
-0\
testing/sierragorda/austeridad/austeridadjson.json\
-0\
testing/sierragorda/beneficios/beneficiosconveniosjson.json\
-0\
testing/sierragorda/beneficios/beneficiosformulariosjson.json\
-0\
testing/sierragorda/beneficios/beneficiossaludjson.json\
-0\
testing/sierragorda/beneficios/ejemplo/0_ejemplo.json\
-0\
testing/sierragorda/beneficios/ejemplo/5_ejemplo.json\
-0\
testing/sierragorda/cultura/culturajson.json\
-0\
testing/sierragorda/quienessomos/0_equipojson.json\
-0\
testing/sierragorda/quienessomos/1_equipojson.json\
-0\
testing/sierragorda/quienessomos/equipolistjson.json\
-0\
testing/sierragorda/quienessomos/gerencialistjson.json\
-0\
testing/sierragorda/resultados/resultadosjson.json\
-0\
testing/sierragorda/seguridad/seguridadcampanyasjson.json\
-0\
testing/sierragorda/seguridad/seguridadincidentedetallejson.json\
-0\
testing/sierragorda/seguridad/seguridadlistaincidentesjson.json\
-0\
testing/sierragorda/seguridad/seguridadobservadoresjson.json\
-0\
testing/sierragorda/seguridad/seguridadrepresentantesjson.json\
-0\
testing/sierragorda/seguridad/incidentes/10_incidente.json\
-0\
testing/sierragorda/seguridad/incidentes/1_incidente.json\
-0\
testing/sierragorda/seguridad/incidentes/2_incidente.json\
-0\
testing/sierragorda/seguridad/incidentes/5_incidente.json\
-0\
testing/sierragorda/seguridad/incidentes/7_incidente.json\
--output-text-symbols\
/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/symbols/release/R.txt\
--no-version-vectors
Daemon: AAPT2 aapt2-3.2.0-4818971-osx Daemon #0
Output: /Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/merged_manifests/release/processReleaseManifest/merged/AndroidManifest.xml:92: AAPT: error: unexpected element found in .
Command: /Users/FrancoBJ/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.0-4818971-osx.jar/fccf37024a9d40152d6377e6cd3be5b0/aapt2-3.2.0-4818971-osx/aapt2 link -I\
/Users/FrancoBJ/Library/Android/sdkold/platforms/android-26/android.jar\
--manifest\
/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/merged_manifests/release/processReleaseManifest/merged/AndroidManifest.xml\
-o\
/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/processed_res/release/processReleaseResources/out/resources-release.ap_\
-R\
@/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/intermediates/incremental/processReleaseResources/resources-list-for-resources-release.ap_.txt\
--auto-add-overlay\
--java\
/Users/FrancoBJ/Documents/DonPablo/CarpetresApp/Revision/03_BBOSCH/BBOSCH_2019-07-15/BBOSCH/Temp/gradleOut/build/generated/not_namespaced_r_class_sources/release/processReleaseResources/r\
--custom-package\
cl.Carpetres.BBOSCH\
-0\
apk\
-0\
.unity3d\
-0\
.ress\
-0\
.resource\
-0\
.obb\
-0\
data/galeria/colorlist.json\
-0\
data/sierragorda/galeria_bak/colorlist.json\
-0\
testing/activity/info/info_1.json\
-0\
testing/activity/info/info_2.json\
-0\
testing/activity/info/info_3.json\
-0\
testing/activity/info/info_4.json\
-0\
testing/activity/info/info_5.json\
-0\
testing/activity/info/info_6.json\
-0\
testing/activity/list/list_1.json\
-0\
testing/activity/list/list_2.json\
-0\
testing/activity/mes/mes_1.json\
-0\
testing/activity/mes/mes_10.json\
-0\
testing/activity/mes/mes_11.json\
-0\
testing/activity/mes/mes_12.json\
-0\
testing/activity/mes/mes_2.json\
-0\
testing/activity/mes/mes_3.json\
-0\
testing/activity/mes/mes_4.json\
-0\
testing/activity/mes/mes_5.json\
-0\
testing/activity/mes/mes_6.json\
-0\
testing/activity/mes/mes_7.json\
-0\
testing/activity/mes/mes_8.json\
-0\
testing/activity/mes/mes_9.json\
-0\
testing/cumpleanyos/list/list_1.json\
-0\
testing/cumpleanyos/list/list_2.json\
-0\
testing/cumpleanyos/mes/mes_1.json\
-0\
testing/cumpleanyos/mes/mes_10.json\
-0\
testing/cumpleanyos/mes/mes_11.json\
-0\
testing/cumpleanyos/mes/mes_12.json\
-0\
testing/cumpleanyos/mes/mes_2.json\
-0\
testing/cumpleanyos/mes/mes_3.json\
-0\
testing/cumpleanyos/mes/mes_4.json\
-0\
testing/cumpleanyos/mes/mes_5.json\
-0\
testing/cumpleanyos/mes/mes_6.json\
-0\
testing/cumpleanyos/mes/mes_7.json\
-0\
testing/cumpleanyos/mes/mes_8.json\
-0\
testing/cumpleanyos/mes/mes_9.json\
-0\
testing/encuesta/encuestalistjson.json\
-0\
testing/encuesta/encuesta_id0.json\
-0\
testing/encuesta/encuesta_id0_not.json\
-0\
testing/encuesta/encuesta_id1.json\
-0\
testing/encuesta/encuesta_id2.json\
-0\
testing/encuesta/encuesta_id3.json\
-0\
testing/galeria/galeriaitemsdata.json\
-0\
testing/galeria/galeriamesesfotodata.json\
-0\
testing/galeria/galeriamesesvideodata.json\
-0\
testing/galeria/foto_galerialist.json\
-0\
testing/galeria/video_galerialist.json\
-0\
testing/migasco/360/360json.json\
-0\
testing/migasco/cultura/culturajson.json\
-0\
testing/migasco/nuevospadres/nuevospadresjson.json\
-0\
testing/migasco/organigramas/orgjson.json\
-0\
testing/migasco/presencianacional/baseempresasjson.json\
-0\
testing/migasco/presencianacional/edsjson.json\
-0\
testing/migasco/presencianacional/edificiosjson_1.json\
-0\
testing/migasco/presencianacional/edificiosjson_2.json\
-0\
testing/migasco/presencianacional/edificiosjson_3.json\
-0\
testing/migasco/presencianacional/empresasjson.json\
-0\
testing/migasco/presencianacional/plantajson_01.json\
-0\
testing/migasco/presencianacional/presenciainfo_1.json\
-0\
testing/migasco/presencianacional/presenciainfo_2.json\
-0\
testing/migasco/presencianacional/presenciainfo_3.json\
-0\
testing/migasco/presencianacional/presenciainfo_4.json\
-0\
testing/migasco/presencianacional/presenciainfo_5.json\
-0\
testing/migasco/presencianacional/presenciajson.json\
-0\
testing/migasco/presencianacional/sedesjson.json\
-0\
testing/noticia/nottest_1.json\
-0\
testing/noticia/nottest_2.json\
-0\
testing/noticia/nottest_3.json\
-0\
testing/noticia/nottest_4.json\
-0\
testing/profile/profiletest.json\
-0\
testing/sura/clubsura/clubi
What is the issue here?
Thanks in advance
↧
↧
how can i save my AndroidManifest correctly? ** (HELP!)
hello everybody
I have a problem!
today I edited and saved my AndroidManifest but after that, I couldn't build my Apk...
I saw this error in console:
Text node cannot appear in this state
Note: I had an old AndroidManifest I opened it with IE & it was visible ... but IE can't show my new Manifest!
HELP ME PLEASE
![alt text][1]
[1]: /storage/temp/143449-10.jpg
↧
HDRP not working in 2019.2
After I chose the HDRP in a new project's template the project then appeared to have a bunch of errors involving some scripts (Legacy DoF, etc) and packages' **manifest.json**. I couldn't choose the HDRP as the render pipeline, so, of course, the materials in the sample scene appeared pink. I then deleted the manifest.json and the HDRP asset completely disappeared from my project. **I then wasn't able to locate it in the Package Manager window.** Has this happened to anyone else? If so, how did you solve the problem?
My Unity version is 2019.2.0a13, OS is Windows 7, 64-bit.
↧
How to know asset load from cache or remote? Unity 2019
Hello everyone, I am new to Asset Bundle and try to load the asset bundle. Currently, I can remote load asset from server, but I am a bit confused.
From doc: https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequestAssetBundle.GetAssetBundle.html
It mentions that by using version number or Hash128 Unitywebrequest will use caching system to load from remote or from cache. Then, how to know that the assetbundle has been loaded from remote or cache one?
Here is my code. What I have to add to know where the asset has been loaded from?
IEnumerator DownloadAssetBundle()
{
UnityWebRequest www = UnityWebRequestAssetBundle.GetAssetBundle("https://www.dropbox.com/s/jw71zlw6rgf7bcz/AssetBundles?dl=1",1,0);
yield return www.SendWebRequest();
if(www.isNetworkError || www.isHttpError) {
Debug.Log(www.error);
}
else {
AssetBundle bundle = DownloadHandlerAssetBundle.GetContent(www);
AssetBundleManifest manifest = bundle.LoadAsset("AssetBundles");
Instantiate(bundle.LoadAsset("RayBan_Sunglasses"));
}
}
And also, when I tried to get Hash128, it always return null. What I have missed?
The assetbundle file I have is named "testasset".
↧
↧
I have problem of crash in my App involved with Manifest
I have used 2018.3.14f1 version, succeeded in Android Build without any problems.
However, when I ran APK file on the device, a Crash came up at the beginning of the running application since last week.
As a result of checking logCat, a message was shown below.
![log][1]
But I did not modify Plugin Source including Android Manifest. I suspect that it is a Build Tool problem. It is hard to fix it, I need help.
I am also having problems to open main project after opening another project because it cannot load Android Platform when I open project at first after booting Window. [1]: /storage/temp/145263-log.png
However, when I ran APK file on the device, a Crash came up at the beginning of the running application since last week.
As a result of checking logCat, a message was shown below.
![log][1]
But I did not modify Plugin Source including Android Manifest. I suspect that it is a Build Tool problem. It is hard to fix it, I need help.
I am also having problems to open main project after opening another project because it cannot load Android Platform when I open project at first after booting Window. [1]: /storage/temp/145263-log.png
↧
Android build installs without an icon in the app drawer
Iam having this weird issue. I made an empty android project. When I built it and installed on my phone, the app icon showed up normally like it should. Then I added the oculus integration asset to build the app for Gear VR. Now after building and installing, the app installs itself without an app icon. It works fine if launched through cable or immediately after installing, but you cannot launch it afterwards because there is no icon to press in the app drawer. I don't get it what is going on and why the icon dissapeares when using the oculus integration.
Thanks for any help.
↧
Android Manifest xml is missing! Build failed.
Hi, when I try to build my game to Android it failes with the error: …"\Temp\StagingArea\android-libraries\GooglePlayGamesManifest.plugin' is missing AndroidManifest.xml file.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)"
That means the AndroidManifest.xml file is missing but I cant find it and dont know what to do if I would. Im stuck and Need your help… When I created a new game and build it on Android it worked so it has something to do with my specific game. Maybe I deleted the manifest
accidentally? What should I do? Sorry for my bad english.
↧
Android Manifest xml missing - Build failed. Need Help!
Hi, when I try to build my game to Android it failes with the error: …"\Temp\StagingArea\android-libraries\GooglePlayGamesManifest.plugin' is missing AndroidManifest.xml file.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)"
That means the AndroidManifest.xml file is missing but I cant find it and dont know what to do if I would. Im stuck and Need your help… When I created a new game and build it on Android it worked so it has something to do with my specific game. Maybe I deleted the manifest
accidentally? What should I do? Sorry for my bad english.
↧
↧
What is the intent type for an Android Unity App?
I created a Html File I have stored it locally on my mobile phone. The Html file has a link to open my application. But it only opens up my playstore and it doesn't open my app.
This is the link in my Html File:
Open App
This is my android manifest file
↧
Modify final Android Manifest in IPostGenerateGradleAndroidProject
Hello,
I need to modify the final (fully merged) android manifest. Currently, I am trying to do this in IPostGenerateGradleAndroidProject. I found a merged manifest at path
temp/gradleOut/build/intermediates/merged_manifests/release/AndroidManifest.xml.
I modify it but nothing changes in the build.
How can I achieve that?
I am using Unity 2019.2.19.
Thank you
↧
Gradle Failed - A problem occurred configuring project ':unityLibrary'.[Gradle Failed]
Hello, Folks
----------
----------
----------
I am facing a issue that when I build apk in unityEditor is always getting failed with below given error message.
----------
Errors:
1. A problem occurred configuring project ':unityLibrary'.
2. FirebasePerformancePlugin must only be used with Android application projects. Need to apply the 'com.android.application' plugin with this plugin.
3. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
4. CommandInvokationFailure: Gradle build failed.
C:/Program Files/Unity/Hub/Editor/2019.3.6f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
----------
Added Plugin listed below:
- Admob
- Facebook SDK
- Firebase Auth -v6.5.0
- Firebase Function -v6.5.0
- Firebase-Analytics -v6.5.0
- Firebase Crashlytics -v6.5.0
- Firebase Database -v6.5.0
- Firebase Messaging -v6.5.0
- Firebase RemoteConfig- v6.5.0
- Google Play Service.
----------
- Code Editor: VS Code
- Build Type: Android
- Unity Editor: 2019.3.6f1
- System : Windows 10.
↧
Problem with roguelike 2D game tutorial
So every time I tried to open project I have this problem and reinstalling didn t help
An error occurred while resolving packages:
Project has invalid dependencies:
com.unity.package-manager-ui: Package [com.unity.package-manager-ui@2.1.2] cannot be found
But in manifest it looks like i got this file
↧
↧
Unity Cloud Build - AndroidManifest.xml ignored
Hi all,
I've been facing a strange issue. I've checked many posts about fixing the manifest in Cloud Build, but these attempts are unsuccessful as it looks like it's a different issue. My **previous builds had a manifest with Camera permission** (intended). Now, I **need a version without this camera permission**.
This is the situation: - Changed **manifest to remove all permissions that I wish to remove** - **No code is calling WebCamDevices** in the project - Building from the **local editor results in a manifest with no permissions (all good!)** - Building from **Cloud Builds results in the exact same manifest as before** (all previous permissions) - Doing a **Clean Build still uses that older manifest**, and **does not solve the problem** - I have **deleted all plugins and no longer have a Plugins folder** - I have **deleted all AndroidManifests.xml in the project**, same result
My guess is that:
- Unity Cloud Build is **using a previously cached manifest**, like it does in *Temp/StagingArea* (as any changes I do aren't reflected, like adding new permissions etc) - I can't find a way **to force Cloud Build re-generate a new manifest** - IN PROGRESS: I have a **preprocess script that will attempt to delete Manifest** in *Temp/StagingArea* before the build, but I don't believe it will be able to find and delete it (says file doesn't exist in local builds, even though it does). It's building right now, we'll see if this works.
I actually **had the same issue in local builds**, and had to **manually delete Temp/StagingArea/AndroidManifest.xml** in order **for my new changes to manifest to be applied** in my local builds as well.
Is there any way of **forcing Cloud Builds to re-generate the AndroidManifest.xml file ?** **Clean Builds don't do the trick**. I could **disable caching entirely**, but this would do it for all branches of the project, and we have many branches and I don't want to slow down all build times to many hours instead of minutes.
Would it work to **disable cache library for that build only,** then re-enable it? Would this issue re-occur on other branches of the project (all linked to different UCB targets)? Thanks, Charles
I've been facing a strange issue. I've checked many posts about fixing the manifest in Cloud Build, but these attempts are unsuccessful as it looks like it's a different issue. My **previous builds had a manifest with Camera permission** (intended). Now, I **need a version without this camera permission**.
This is the situation: - Changed **manifest to remove all permissions that I wish to remove** - **No code is calling WebCamDevices** in the project - Building from the **local editor results in a manifest with no permissions (all good!)** - Building from **Cloud Builds results in the exact same manifest as before** (all previous permissions) - Doing a **Clean Build still uses that older manifest**, and **does not solve the problem** - I have **deleted all plugins and no longer have a Plugins folder** - I have **deleted all AndroidManifests.xml in the project**, same result
My guess is that:
- Unity Cloud Build is **using a previously cached manifest**, like it does in *Temp/StagingArea* (as any changes I do aren't reflected, like adding new permissions etc) - I can't find a way **to force Cloud Build re-generate a new manifest** - IN PROGRESS: I have a **preprocess script that will attempt to delete Manifest** in *Temp/StagingArea* before the build, but I don't believe it will be able to find and delete it (says file doesn't exist in local builds, even though it does). It's building right now, we'll see if this works.
I actually **had the same issue in local builds**, and had to **manually delete Temp/StagingArea/AndroidManifest.xml** in order **for my new changes to manifest to be applied** in my local builds as well.
Is there any way of **forcing Cloud Builds to re-generate the AndroidManifest.xml file ?** **Clean Builds don't do the trick**. I could **disable caching entirely**, but this would do it for all branches of the project, and we have many branches and I don't want to slow down all build times to many hours instead of minutes.
Would it work to **disable cache library for that build only,** then re-enable it? Would this issue re-occur on other branches of the project (all linked to different UCB targets)? Thanks, Charles
↧
Black screen with release build for Android
I am unity 2019.1.12f1. We have been working on a game from a year now. It was working fine. However, form last 5 days, we cannot build a release build with our key store. The app in android mobile gives a black screen or crashes.
We have tried building with proguard, minify and 32 bit display buffer (on and off). Our multithreading is off.
Do note that when creating new key, we are able to run the game properly. Also, debug build is running properly.
Kindly, help. I need to know if the keystore is corrupted or firebase, admob and manifest are creating a problem for us. It is urgent for us, as we are launching our game and a huge marketing campaign is going to run after a week.
↧
Gradle Build Error: The attribute application@allowBackups=false in :audioinaec: collides with another value
I have a VR application with networking I am currently working on. Everything was building and working fine in my project. I then imported Photon and Photon Voice and now it will not build for me throwing the above error.
The only manifest I have in my project is that of the AndroidManifest.OVRSubmission.xml:
![alt text][1]
![alt text][2]
I've tried adding the tools schemas and android:allowbackup as some users had suggested but that has not helped whatsoever. I've also tried deleting the Library folder and allow Unity to reimport but that did not help either.
Any help is appreciated!
[1]: https://i.stack.imgur.com/UAPkZ.png
[2]: https://i.stack.imgur.com/FFt0m.png
↧
I used Application.Quit, but is not working
public static void Quit()
{
#if UNITY_ANDROID && ! UNITY_EDITOR
Debug.LogWarning("Application Quit");
Application.Quit();
#elif UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#endif
}
This code called from Android device.
However, only the game screen freezes when this code is called.
and The sound continues to play.
The most suspicious part is the Android Manifest.
This package is for speech recognition AI.
When I tested after deleting this AndroidManifest, Application.Quit() method is Working!
i used only one this AndroidManifest.
So I also tried to force the Android process to terminate.
However, this method does not fire the OnApplicationQuit event.
Of course, if i use this method, i can also create and use an event called on exit.
but, this method has the hassle of registering an event whenever you want to use it.
I'm not good at using Java, it is difficult to use manifest.
In addition, this package is also outsourced. So it can't be modified directly.
I would be grateful if there is any code missing from this AndroidManifest or any other good way to exit the app.
↧
↧
[URGENT!]Android Manifest file keeps reverting changes after build!
So I am trying to upload my game to the Google play console which now requires targetSdkVersion to be >=29. I have an Android Manifest file in Plugins/Android which I edit to add the necessary targetSdkVersion. But after I build the APK, the Android manifest file reverts to it's previous state, thus overriding the changes made to the file and I cannot upload my APK. Thanks in advance!
↧
Vuforia init error when i add activity to manifest
hi, I Download and use a speech recognition from Github. it has a activity in manifest. the problem is when i build with it manifest vuforia fails to init, and when i delete activity speech recognition no longer work
what should i do
↧
Unity will not open, failed to update manifest.json,Unity will not open because of a package error.
Unity won't open, it just keeps on giving me a "failed to update project manifest" error.
I used to get a "packages could not be resolved" error with the old version I was using but now failed to update project manifest error is happening.
I've tried many fixes including deleting the package-lock file and deleting cache and library folder but none are working.
![image of error][1]
[1]: /storage/temp/165577-error.png
↧