Quantcast
Channel: Questions in topic: "manifest"
Viewing all 330 articles
Browse latest View live

Error while building; manifest merger failed with multiple errors see logs

$
0
0
Hello, I cant build after I added facebook sdk, I trying to solve it for days but no hope. Also there is admob and facebook audience nework packages. I upgraded to latest version of unity 2019 but didn't help. Starting a Gradle Daemon, 1 incompatible and 3 stopped Daemons could not be reused, use --status for details > Configure project :launcher WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported. The current default is 'true'. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only> Configure project :unityLibrary WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported. The current default is 'true'.> Configure project :unityLibrary:GoogleMobileAdsPlugin.androidlib WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported. The current default is 'true'.> Task :launcher:preBuild UP-TO-DATE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE> Task :unityLibrary:preBuild UP-TO-DATE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE> Task :unityLibrary:preReleaseBuild UP-TO-DATE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:checkReleaseManifest> Task :unityLibrary:checkReleaseManifest> Task :launcher:prepareLintJar> Task :unityLibrary:processReleaseManifest> Task :unityLibrary:packageReleaseRenderscript NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE> Task :unityLibrary:generateReleaseResValues> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE> Task :unityLibrary:generateReleaseResources> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders> Task :unityLibrary:packageReleaseResources> Task :unityLibrary:mergeReleaseShaders> Task :unityLibrary:compileReleaseShaders> Task :unityLibrary:generateReleaseAssets> Task :unityLibrary:packageReleaseAssets> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE> Task :unityLibrary:compileReleaseAidl NO-SOURCE> Task :unityLibrary:generateReleaseBuildConfig> Task :unityLibrary:prepareLintJar> Task :unityLibrary:generateReleaseSources> Task :unityLibrary:processReleaseJavaRes NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJar> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseSources> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease> Task :unityLibrary:mergeReleaseJniLibFolders> Task :launcher:preReleaseBuild> Task :launcher:compileReleaseRenderscript NO-SOURCE> Task :launcher:generateReleaseResValues> Task :launcher:generateReleaseResources> Task :unityLibrary:generateReleaseRFile> Task :unityLibrary:transformNativeLibsWithMergeJniLibsForRelease> Task :unityLibrary:transformNativeLibsWithStripDebugSymbolForRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac> Task :unityLibrary:transformNativeLibsWithIntermediateJniLibsForRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithMergeJniLibsForRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithStripDebugSymbolForRelease> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease> Task :unityLibrary:javaPreCompileRelease> Task :unityLibrary:compileReleaseJavaWithJavac> Task :unityLibrary:bundleLibCompileRelease> Task :unityLibrary:bundleLibRuntimeRelease> Task :unityLibrary:bundleLibResRelease> Task :launcher:mergeReleaseResources> Task :launcher:checkReleaseManifest> Task :launcher:createReleaseCompatibleScreenManifests> Task :launcher:mainApkListPersistenceRelease> Task :launcher:processReleaseManifest FAILED See http://g.co/androidstudio/manifest-merger for more information about the manifest merger. Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings 46 actionable tasks: 46 executed UnityEngine.GUIUtility:ProcessEvent (int,intptr) ![alt text][1] ![alt text][2] [1]: /storage/temp/194091-manifest-merger.png [2]: /storage/temp/194092-all-errors.png

Add manifest.json dependencies to exported Unity Package

$
0
0
I have a unity package which is built via the `AssetDatabase.ExportPackage` API. The code in my package is depends on `com.unity.ads.ios-support`. Is there a way to add `com.unity.ads.ios-support` to my exported package as a dependency so it will be installed automatically in the project I install my package, meaning will be added to the `manifest.json` in the target project? Currently I just pack an additional Editor script that adds it to the `manifest.json`, but it's just a hack.

Do I have to ask permission for file manipulation for my Android app in unity?

$
0
0
I have made an app for myself in unity(android) that can check the name and creation date of files and can also rename or delete files. It works well in editor for my PC. But, when I built an APK, it did not work. So, I want to know, do I have to ask for permission for media manipulation in unity(android)? And if so, how do I do it? I'm guessing the manifest file.

"package.json not found" error in cloudbuild

$
0
0
Hello! I added ML-Agents to my project and when I try to CloudBuild it, I get an error.

How to add ML-Agents to Project I installed ML-Agents Extensions package (com.unity.ml-agents.extensions) locally according to the following URL. https://github.com/Unity-Technologies/ml-agents/blob/main/com.unity.ml-agents.extensions/Documentation~/com.unity.ml-agents.extensions.md I put it in folder D:/ml-agents/.
Training works fine.

Error excerpts > 560: [Unity] An error occurred while resolving packages:>>561: [Unity] Project has invalid dependencies:>562: [Unity] com.unity.ml-agents.extensions: The file [/BUILD_PATH/mygame.mygame_unitycloudbuild/Packages/D:/ml-agents/com.unity.ml-agents.extensions/package.json] cannot be found>563: [Unity] A re-import of the project may be required to fix the issue or a manual modification of /BUILD_PATH/mygame.mygame_unitycloudbuild/Packages/manifest.json file.>564: Unity ran in '65.563104' seconds>565: ! Unity player export failed!

I have confirmed that the following line has been added to Packages-manifest.json on Git. "com.unity.ml-agents.extensions": "file:D:/ml-agents/com.unity.ml-agents.extensions", Do I need to rewrite the manifest file? If so, how do I rewrite it so I can build?
Thanks for reading.

Unity2020.3.30f1

Microsoft.NETCore.App.deps.json dependencies was not found

$
0
0
When I create project or load from template, I have 2 the same errors: "An assembly specified in the application dependencies manifest (Microsoft.NETCore.App.deps.json) was not found: package: 'runtime.win-x64.Microsoft.NETCore.App', version: '5.0.3-servicing.21072.12' path: 'runtimes/win-x64/native/ucrtbase.dll' " Someone know how to fix it? I was looking for a solution, but either I couldn't find it or I don't know how to fix it. P.S. I'm first in Unity, so don't be harsh, please.

Project still references Facebook Ads, even though I removed them

$
0
0
I have an android app where I used to have Facebook Ads. Then, I wanted to get rid of them by deleting any reference to Facebook. The app compiles and start perfectly fine when I build it as an APK and copy / install it directly. However, when I upload it to the Play Store, download and install it, the app crashes immediately. ADB Logcat revealed that my app experiences an error because it can't find class "com.facebook.FacebookContentProvider". This tells me that there is still some reference to Facebook in my project, but I have zero idea where. (Searched my source code, there is nothing). Any ideas how I can find this out? Also, when I upload my app bundle to the Play Console, I get this error: "Your app com.BadHair.PocketRacer version code 6 includes SDK com.unity3d.ads:unity-ads or an SDK that one of your libraries depends on [...]" Would appreciate any help. If anyone knows how I can find out where Ads / Facebook are still used, please let me know. Notes: 1. Been using 2020.3.18f1, upgraded to 2021.3.6f1 -> error persists. 2. Already copied all assets into a new project one by one -> error persists. 3. Unity Gaming Services (and therefore Unity Ads) is turned off.

Failed to repackage resources(tag services)

$
0
0
Hi can anyone help share some idea why im facing this problem? i have been searching fix for this but i cannot find working. ![alt text][1] ![alt text][2] [1]: /storage/temp/202584-2.jpg [2]: /storage/temp/202585-1.jpg

GooglePlayGames AndroidManifest.xml file not showing as downloaded

$
0
0
I am trying to make a build for my mobile game when this error pops up. I don't know where I can get this file back from. It wont let me post the error but it says "Manifest file doesn't exist: Documents\Unity\Unity\Projects\Limit_push\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\GooglePlayGamesManifest.androidLib\AndroidManifest.xml See console for details." Im on Unity 2021.3.6![alt text][1] [1]: /storage/temp/205416-image.png

local package no longer shows in editor

$
0
0
Unity version 2021.3.15f1 I have a local package that has suddenly stopped showing in editor under my Packages folder. The package still works and I get no errors on the scripts. The solution file also shows the package but it no longer exists under my Packages folder. This means I can no longer use inspector references. ![alt text][1] [1]: /storage/temp/205421-badpackage.png

"Your app is not allowed to specify 'AD SERVICES CONFIG' property in the manifest","Your app is not allowed to specify 'AD SERVICES CONFIG' property in the manifest" On google play console

$
0
0
Hello everyone. I have a problem with unity 2022: when I try to publish my app on google play console for internal test It gives me the following error: "Your app is not allowed to specify 'AD SERVICES CONFIG' property in the manifest". First , when I used unity 2021, this problem did not appear, but I couldn't use admob due to a number of plugin issues (as I understand it-specifically, to be able to build around an error like "R8=false is deprecated" I had to do a strange maneuver by deleting the "library/bee/android " folder while building, and in doing so all google play services didn't work in the build .aab, but this problem did not arise, so) now, after updating to 2022, I solved the problem to build, but.. i cant load! So, like sayed here, https://developer.android.com/design-for-safety/privacy-sandbox/setup-api-access#configure-api-specific, I added on the android manifest the following raws: //I added this .... //....and these but the problem persists. Can anyone help me??Please!!!!
Viewing all 330 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>