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

Cross platform Manifests and plugins

$
0
0
I am writing a program with unity that will be cross platform(Windows, Mac, Webgl, Andriod). I need to use separate manifests and separate plugins for each platform. If I read the documentation online correctly, I can control plugins by doing two things... Plugins/Andriod --andriod specific Plugins/iOS --iOS specific Plugins/x86 --32 bit specific Plugins/x86_64 --64 bit specific extension for platform== .bundle (for Mac), .dll (for Windows), and .so (for Linux) If that is incorrect please let me know! I cannot figure out how to do the same thing for manifests...How do I control which of those are used per platform?

Fail to merge manifest with admob [SOLVED]

$
0
0
So im using de admob plugin(only using this one, nothing else) to add ads but when im trying to build the apk i get 3 errors: Error: Error while saving blame file, build will continue Error: El prefijo "tools" para el atributo "tools:overrideLibrary" asociado a un tipo de elemento "uses-sdk" no está enlazado. UnityEditor.HostView:OnGUI() AndroidSDKToolsException: Unable to merge android manifests. See the Console for more details. UnityEditor.Android.AndroidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI() And UnityEditor.BuildPlayerWindow+BuildMethodException: Build failed with errors. at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x001b9] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:162 at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83 UnityEditor.HostView:OnGUI() https://github.com/unity-plugins/Firebase-Admob-Unity/wiki#install this is the plugin im using So what i had to do (i dont know if is the best solution but it worked) i removed the manifest from plugin\android\androidmanifest, then i edited the one in unity\editor\data\playbackengine\androidplayer\apk so that it matches both and now it builds

Unity not picking versioncode from player settings for android

$
0
0
After I build the apk file in unity, I checked the androidmanifest file. It has versioncode="1" but I have set the Bundle version code as 2 in player settings - > other settings. Do you know why the versioncode is not picked from player settings?

Android build failes because of manifest

$
0
0
I have no idea why this is happening. AndroidSDKToolsException: Unable to merge android manifests. See the Console for more details. UnityEditor.Android.AndroidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI()

Unable to merge Android manifests after making changes

$
0
0
I'm trying to upload a GearVR app to the Oculus store. When trying to validate it, I get the same error as this post: https://forums.oculus.com/developer/discussion/41190/apk-validation-failed The problem is that I've followed all the steps to fix it mentioned in the post but it still doesn't work. After I've modified and copied the AndroidManifest.xml file to Assets/Plugins/Android I get the "Unable to merge manifests" error when I try to Build the APK in Unity. I'm using Unity 2017.1.0f3 Does anyone have any suggestions as to what might be happening?

Failed to recompile resources Facebook sdk integration with admob, unity ads plugin

$
0
0
I am facing this error failed to recompile resources. Can any please guide me in solving this? CommandInvokationFailure: Failed to re-package resources. E:\adt-bundle-windows-x86_64-20140702\adt-bundle-windows-x86_64-20140702\sdk\build-tools\26.0.1\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "E:/adt-bundle-windows-x86_64-20140702/adt-bundle-windows-x86_64-20140702/sdk\platforms\android-26\android.jar" -F bin/resources.ap_ --extra-packages android.support.graphics.drawable.animated:android.support.v7.appcompat:android.support.v7.appcompat:android.support.v7.cardview:android.support.customtabs:com.facebook:com.facebook.android:com.google.android.gms.measurement:com.google.android.gms.measurement.impl:com.google.firebase:com.google.firebase.remoteconfig:com.google.firebase.crash:com.google.firebase.iid:com.google.unity:com.heyzap:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads:com.google.android.gms.auth.api:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms:com.google.android.gms.clearcut:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.gass:com.google.android.gms.nearby:com.google.android.gms.tasks:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:android.support.v4:android.support.graphics.drawable:com.abc.apps.resources:com.unity3d.ads -S "E:\fb\Temp\StagingArea\android-libraries\animated-vector-drawable-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\cardview-v7-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\customtabs-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\facebook-android-wrapper-7.10.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-analytics-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-analytics-impl-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-common-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-config-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-crash-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\firebase-iid-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-ads-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-ads-lite-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-auth-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-auth-base-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-base-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-basement-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-clearcut-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-drive-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-games-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-gass-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-nearby-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\play-services-tasks-10.0.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-compat-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-core-ui-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-core-utils-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-fragment-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-media-compat-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-v4-24.0.0\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-v4-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\support-vector-drawable-25.3.1\res" -S "E:\fb\Temp\StagingArea\android-libraries\unity-android-resources\res" -S "E:\fb\Temp\StagingArea\android-libraries\UnityAds\res" stderr[ E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_button_bar_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_alert_dialog_button_bar_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml:48: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_alert_dialog_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_alert_dialog_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml:36: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_alert_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_alert_dialog_title_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml:29: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_dialog_title_material.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_dialog_title_material for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml:24: note: removing attribute http://schemas.android.com/apk/res/android:textAlignment from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\abc_popup_menu_header_item_layout.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_popup_menu_header_item_layout for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:touchscreenBlocksFocus from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_screen_toolbar.xml: note: using v21 attributes; synthesizing resource com.abc.apps:layout/abc_screen_toolbar for configuration v21. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\abc_search_view.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/abc_search_view for configuration v17. E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml:80: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_device_auth_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/com_facebook_device_auth_dialog_fragment for configuration v17. E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:94: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:83: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml:47: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\facebook-android-sdk-4.23.0\res\layout\com_facebook_smart_device_dialog_fragment.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/com_facebook_smart_device_dialog_fragment for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:17: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml:32: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_action for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:18: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml:37: note: removing attribute http://schemas.android.com/apk/res/android:paddingStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout\notification_action_tombstone.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_action_tombstone for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:42: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_template_big_media for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:89: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:34: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:56: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:45: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml:27: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_custom.xml: note: using v17 attributes; synthesizing resource com.abc.apps:layout/notification_template_big_media_custom for configuration v17. E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layoutDirection from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_marginStart from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:38: note: removing attribute http://schemas.android.com/apk/res/android:layout_toStartOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-23.4.0\res\layout\notification_template_big_media_narrow.xml:30: note: removing attribute http://schemas.android.com/apk/res/android:layout_alignParentEnd from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_narrow.xml:60: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\notification_template_big_media_narrow.xml:46: note: removing attribute http://schemas.android.com/apk/res/android:layout_toEndOf from E:\fb\Temp\StagingArea\android-libraries\appcompat-v7-25.3.1\res\layout-v11\not

google play console apksigner error?

$
0
0
So I want to upload my apk (first app!!) to google play console but when I upload it gives me this error: Error apksigner: ERROR: JAR_SIG_NO_MANIFEST: Missing META-INF/MANIFEST.MF. I have built and signed the apk succesfully using the built-in signing in unity and it generates the .xml manifest file and it seems all correct. How can I fix this error to upload the app? Thanks!

How to resolve errors about manifests?

$
0
0
Hello, I am trying to put admob ads in my project.But when I try to build it for android it gives following error "Trying to merge incompatible /manifest/application/activity [@name=com.google.android.gms.ads.AdActivity] I have downloaded 1.8 jdk and and there is no trouble with my code as I have just cloned from GIthub. Please help me over this issue.

Why wont my android manifests merge???

$
0
0
![alt text][1]plz help this has cost me so much time and put a halt to my project i already matched the version numbers and made that error go away now im stfile:stuck with the same error below [1]: /storage/temp/102507-5a2af8d42a5ee64008bad47748018448.png

Manifest issues for Android

$
0
0
Hello, i'm trying to build my android project but i'm having issues. droidSDKTools.DetectErrorsAndWarnings (System.String logMessages, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommand (System.String[] sdkToolCommand, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.MergeManifests (System.String target, System.String mainManifest, System.String[] libraryManifests, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.MergeManifests (UnityEditor.Android.PostProcessor.PostProcessorContext context, System.String targetManifest, System.String mainManifest) UnityEditor.Android.PostProcessor.Tasks.GenerateManifest.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.HostView:OnGUI() does anyone have any ideas? thanks a lot

Search individual manifests for READ_PHONE_STATE

$
0
0
I have READ_PHONE_STATE in my final manifest (apk build). From what I understand, Unity combines all manifests. Some manifests can be seen, while some are inside .aar files (can be unzipped). Is there a reasonably simple way to check to see which manifest is responsible for my READ_PHONE_STATE? Or do I have to unzip each .aar and then search each manifest.

Unity can not merge AndroidManifest files because it claims not to find a tag that appears to be set

$
0
0
I'm getting a strange error when trying to build an android version of our application `Temp/StagingArea/android-libraries/CropLib/AndroidManifest.xml:6] Undefined 'name' attribute in /manifest/uses-permission` Which is odd as when I look at the manifest file it has a name attribute on both the `uses-permission`. Here is the whole manifest file. Any Ideas on what I'm missing? I'm using tools version 23 and unity 5.5.0f3.

Is it possible to publish Daydream app with Unity 5.5.4

$
0
0
So I have a working Daydream app build in 5.5.4, the only issue I have with it is there is no where to place or upload the foreground and background images for the VR icon for the Daydream Menu. I have tried updating the project to 5.6 and it will not build to the android device and just causes more issues. I have a completed Daydream app that is tested, I just need to add the VR icon and it will be done and publishable. Has anyone had experienced publishing Daydream pre 5.6? I would love to ask you some questions. Also can a moderator please add Daydream to the possible topics?

Unable to retrieve application from network while i try to connect with google play games services.

$
0
0
Hello everyone, I recently developed an android game using Unity 5.5.4p4, now im triying to integrate achivements with [google play games plugin made from unity][1]. I already configured step by step the plugin as explained in the documentation. I also have an closed Alpha version of the game uploaded into my google play console just for testing, signed with the sha1 generated in the keystote from player settings in Unity. So my problem comes now, when my app runs, it try to connect with google play services using this method: public bool GoogleLogin(){ bool resp = false; Social.localUser.Authenticate((bool success) => { resp = success; }); return resp; } In runtime, the modal of the connection appears but after a few seconds it closes and i get this two errors into my android device monitor: 10-15 16:30:21.346: E/GameAgent(10854): Unable to retrieve application xxxxxxxxxxxx from network 10-15 16:30:21.347: E/GameAgent(10854): Application xxxxxxxxxxxx is not associated with package com.mypackage.name. Check the application ID in your manifest. I know unity detects other manifest files from other plugins and then merge it to generate a final one that is stored in projectFolder/Temp/StaginArea/AdroidManifest.xml. Aplication xxxxxxxxxxxx is the ID asociated to my app in the google play console, and it match with the ID that i have in my final manifest in this metadata: The package name that appears in the manifest is the same package i have asociated in google play console > games services > My game I attach my manifest file with hidden app ID in case it could be useful: If anyone could help me I would be very grateful, I have been stuck for several days and it's very frustrating. Other threads i already check: - [http://answers.unity3d.com/questions/1220475/unable-to-retrieve-application-from-network.html][2] - [https://github.com/playgameservices/play-games-plugin-for-unity/issues/1292][3] - [https://github.com/playgameservices/play-games-plugin-for-unity/issues/216][4] - [https://stackoverflow.com/questions/25266854/application-id-is-not-associated-with-package-while-signing-in-google-play][5] Things i already doublecheck: - I have reinported the plugin from unity - I deleted the AndroidMAnifest.xml to regenerate it - I have made sure that the SHA1 key is the same as the google play console key and google API console Key - I'm testing the alpha version with the correct google account that i previously activated in google play console. - I create a brand new project in Google play console to configurate all the things again from cero. [1]: https://github.com/playgameservices/play-games-plugin-for-unity [2]: http://answers.unity3d.com/questions/1220475/unable-to-retrieve-application-from-network.html [3]: https://github.com/playgameservices/play-games-plugin-for-unity/issues/1292 [4]: https://github.com/playgameservices/play-games-plugin-for-unity/issues/216 [5]: https://stackoverflow.com/questions/25266854/application-id-is-not-associated-with-package-while-signing-in-google-play

android AndroidManifest.xml:5: error: String types not allowed - with 2017.2.03f

$
0
0
This is a new project with just UI button and no other assets or plugins - jdk1.8.0_152.jdk - sdk-tools-darwin-3859397 player settings - not changed minimum api level -16 target API - highest available scripting backend mono Error msg CommandInvokationFailure: Failed to re-package resources. /Users/UNIKKUIDev/Library/Android/sdk/build-tools/27.0.1/aapt package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "/Users/UNIKKUIDev/Library/Android/sdk/platforms/android-23/android.jar" -F bin/resources.ap_ stderr[ AndroidManifest.xml:5: error: Error: String types not allowed (at 'configChanges' with value 'mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density'). ] Manifest file also linked as txt file [1]: /storage/temp/106662-androidmanifest.txt

Avoid android permission prompt when returning to app after changing settings on device?

$
0
0
**Scenario:** My app follows Android 6 permission guidelines, by suppressing Unity's permission requests at launch time. The user grants Location Permissions when needed. In my manifest, I used: If the user goes to setting and turns the permission off while the app runs in the background, and then returns to the app, the app attempts to relaunch. However, before showing the splash screen, the screen goes white, and several copies of the same Location Permission prompt overlap each other. The number of prompts equals the number of times the app has been launched on the device. If permission are turn off while the app is not running, the app runs normal when restarted. Video demonstration: https://youtu.be/iHiMC-H6n3o

Manifest Version Code

$
0
0
I am changing the version code in the manifest but when i create the new apk it changes automatically, so i can't update my app in google play because it says that the version code is the same. It seems like Unity doesn't use the manifest which is in the projects plugins folder. What can I do to solve it?

build VR samples for android

$
0
0
followed the [steps given by Google][1] to build the Unity VR samples to android. (Flyer scene). but I get the following error.![alt text][2] Has anyone got this error in similar work? Is it possible to build the Flyer scene to Google Cardboard? [1]: https://developers.google.com/vr/develop/unity/get-started [2]: /storage/temp/111360-capture.png

ARCore is included even disabled, which forcing minSdkVersion to be 19.

$
0
0
I've already set the Minimum API Level to 16 (Android 4.1), and didn't tick ARCore support. ![minimum api level][1] ![xr settings][2] However, when I build, it failed with: uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in It's from a temporily made AndroidManifest.xml having such code: Clearly it's from ARCore.... Why this manifest is included while I didn't enable ARCore? I don't want to change to API 19 unless very necessary. Any idea? P.S. Unity 2017.3.1f1 [1]: /storage/temp/112249-screen-shot-2018-03-02-at-85018-pm.png [2]: /storage/temp/112248-screen-shot-2018-03-02-at-84753-pm.png

Unable to merge android manifest

$
0
0
Hello, I spent whole day on trying to resolve this issue, still no luck ------------------------------------------------------------------------------------------------------------ CommandInvokationFailure: Unable to merge android manifests. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/hp/android-sdks\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" - stderr[ Error: [Temp\StagingArea\AndroidManifest-main.xml:21, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\admoblib-release\AndroidManifest.xml:3] Main manifest has but library uses minSdkVersion='15' ] stdout[ Warning: [Temp\StagingArea\AndroidManifest-main.xml:21, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\admoblib-release\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion='26' [Temp\StagingArea\AndroidManifest-main.xml, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\support-compat-26.1.0\AndroidManifest.xml:6] Skipping identical /manifest/application/meta-data[@name=android.support.VERSION] element. [Temp\StagingArea\AndroidManifest-main.xml, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\support-v4-26.1.0\AndroidManifest.xml:6] Skipping identical /manifest/application/meta-data[@name=android.support.VERSION] element. Warning: [Temp\StagingArea\AndroidManifest-main.xml:21, C:\Users\hp\Desktop\code source\unity\Source code Animalracing\Source code Animalracing\BAnimalRacing5.5.1\AnimalRacing\Temp\StagingArea\android-libraries\unity-adapter-2.1.0.0\AndroidManifest.xml:3] Main manifest has but library uses targetSdkVersion='25' ] exit code: 1 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.HostView:OnGUI()
Viewing all 330 articles
Browse latest View live


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