Closed abdulmeLINK closed 4 years ago
I took a error after android>resolve.
exit code: 1
at UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00031] in
(Filename:
Unloading 4 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 203.7 MB. System memory in use after: 203.8 MB.
Unloading 5 unused Assets to reduce memory usage. Loaded Objects now: 1743. Total: 18.273900 ms (FindLiveObjects: 0.401200 ms CreateObjectMapping: 0.030400 ms MarkObjects: 17.800100 ms DeleteObjects: 0.041000 ms)
Load scene 'Temp/__Backupscenes/0.backup' time: 0.024800 ms LightmapEditorSettings: switching bake backend from 1 to 0. Unloading 13 Unused Serialized files (Serialized files now loaded: 0) System memory in use before: 206.4 MB. System memory in use after: 206.5 MB.
Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 2009. Total: 17.354100 ms (FindLiveObjects: 0.411400 ms CreateObjectMapping: 0.034600 ms MarkObjects: 16.894200 ms DeleteObjects: 0.012600 ms)
Assets\GooglePlayGames\ISocialPlatform\PlayGamesAchievement.cs(45,17): warning CS0618: 'WWW' is obsolete: 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'
(Filename: Assets\GooglePlayGames\ISocialPlatform\PlayGamesAchievement.cs Line: 45)
Assets\EnemyMover.cs(130,8): warning CS0618: 'Application.LoadLevel(int)' is obsolete: 'Use SceneManager.LoadScene'
(Filename: Assets\EnemyMover.cs Line: 130)
Assets\GooglePlayGames\ISocialPlatform\PlayGamesAchievement.cs(126,41): warning CS0618: 'WWW' is obsolete: 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'
(Filename: Assets\GooglePlayGames\ISocialPlatform\PlayGamesAchievement.cs Line: 126)
Assets\GooglePlayGames\ISocialPlatform\PlayGamesUserProfile.cs(134,17): warning CS0618: 'WWW' is obsolete: 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'
(Filename: Assets\GooglePlayGames\ISocialPlatform\PlayGamesUserProfile.cs Line: 134)
Assets\GooglePlayGames\ISocialPlatform\PlayGamesUserProfile.cs(134,31): warning CS0618: 'WWW' is obsolete: 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'
(Filename: Assets\GooglePlayGames\ISocialPlatform\PlayGamesUserProfile.cs Line: 134)
Assets\PauseBtnandRestart.cs(47,9): warning CS0618: 'Application.LoadLevel(int)' is obsolete: 'Use SceneManager.LoadScene'
(Filename: Assets\PauseBtnandRestart.cs Line: 47)
Assets\PauseBtnandRestart.cs(57,9): warning CS0618: 'Application.LoadLevel(int)' is obsolete: 'Use SceneManager.LoadScene'
(Filename: Assets\PauseBtnandRestart.cs Line: 57)
Assets\reklam.cs(31,17): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\reklam.cs Line: 31)
Assets\SpawnerPositionCollector.cs(29,13): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\SpawnerPositionCollector.cs Line: 29)
Assets\SpawnerPositionCollector.cs(42,16): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\SpawnerPositionCollector.cs Line: 42)
Assets\SpawnerPositionCollector.cs(46,18): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\SpawnerPositionCollector.cs Line: 46)
Assets\SpawnerPositionCollector.cs(48,18): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\SpawnerPositionCollector.cs Line: 48)
Assets\SpawnerPositionCollector.cs(50,18): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\SpawnerPositionCollector.cs Line: 50)
Assets\SpawnerPositionCollector.cs(52,18): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\SpawnerPositionCollector.cs Line: 52)
Assets\SpawnerPositionCollector.cs(54,18): warning CS0618: 'GameObject.active' is obsolete: 'GameObject.active is obsolete. Use GameObject.SetActive(), GameObject.activeSelf or GameObject.activeInHierarchy.'
(Filename: Assets\SpawnerPositionCollector.cs Line: 54)
Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs(100,24): warning CS0618: 'WWW' is obsolete: 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'
(Filename: Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs Line: 100)
Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs(112,30): warning CS0618: 'WWW' is obsolete: 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'
(Filename: Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs Line: 112)
Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs(138,30): warning CS0618: 'WWW' is obsolete: 'Use UnityWebRequest, a fully featured replacement which is more efficient and has additional features'
(Filename: Assets\GooglePlayGames\Editor\GPGSProjectSettings.cs Line: 138)
Build completed with a result of 'Failed' UnityEngine.DebugLogHandler:Internal_Log() UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogError(Object) UnityEditor.DefaultBuildMethods:BuildPlayer(BuildPlayerOptions) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:189) UnityEditor.BuildPlayerWindow:CallBuildMethods(Boolean, BuildOptions) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:96) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun(Boolean) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:173) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:167)
(Filename: C:/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs Line: 189)
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00234] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:190 at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:96 UnityEngine.DebugLogHandler:Internal_Log() UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogError(Object) UnityEditor.BuildPlayerWindow:CallBuildMethods(Boolean, BuildOptions) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:101) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun(Boolean) (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:173) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindow.cs:167)
(Filename: C:/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs Line: 101)
Which plugin version do you use?
9.60 i tried 9.58 same error occured. I changed JAVAHOME path was program files(x86) i changed C:\program files and play services resolving error solved but I took a failed to re-packing `CommandInvokationFailure: Failed to re-package resources. C:\Android\Sdk\build-tools\28.0.3\aapt.exe package --auto-add-overlay -v -f -m -J "gen" -M "AndroidManifest.xml" -S "res" -I "C:/Android/Sdk\platforms\android-26\android.jar" -F bin/resources.ap --extra-packages com.admob.plugin:android.arch.lifecycle:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.google.android.gms.auth.api:com.google.android.gms.auth.api.phone:com.google.android.gms.auth:com.google.android.gms.base:com.google.android.gms.common:com.google.android.gms.drive:com.google.android.gms.games:com.google.android.gms.nearby:com.google.android.gms.tasks:com.google.games.bridge:android.support.customtabs:com.google.example.games.mainlibproj:com.google.android.gms.ads.impl:com.google.android.gms.ads_base:com.google.android.gms.ads_identifier:com.google.android.gms.ads:com.google.android.gms.common:com.google.android.gms.gass:com.google.android.gms.measurement_base:com.google.android.gms.measurement.sdk.api:android.arch.lifecycle:android.support.compat:android.support.coreui:android.support.coreutils:android.support.fragment:android.support.mediacompat:android.support.v4:com.unity3d.ads -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\admoblib-release\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.0.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-core-ui-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-core-utils-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-fragment-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-media-compat-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-v4-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-auth-16.0.1\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-base-16.0.1\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.google.android.gms.play-services-basement-16.0.1\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.google.games.gpgs-plugin-support-0.9.58\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\customtabs-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\play-services-ads-17.0.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\play-services-ads-lite-17.0.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\play-services-basement-16.0.1\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\runtime-1.0.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-compat-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-core-ui-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-core-utils-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-fragment-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-media-compat-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-v4-26.1.0\res" -S "C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\UnityAds\res"
stderr[ C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\values\values.xml:7: error: Attribute "fontProviderFetchStrategy" already defined with incompatible format. C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-compat-26.1.0\res\values\values.xml:9: Original attribute defined here. C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\values\values.xml:12: error: Attribute "fontProviderFetchTimeout" already defined with incompatible format. C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-compat-26.1.0\res\values\values.xml:14: Original attribute defined here. C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\res\values\values.xml:16: error: Attribute "fontStyle" already defined with incompatible format. C:\Users\CYBER_SHOOT\Desktop\unity projesi\2Dandroid\Temp\StagingArea\android-libraries\support-compat-26.1.0\res\values\values.xml:17: Original attribute defined here. ] stdout[ Configurations: (default)
Files: AndroidManifest.xml Src: () AndroidManifest.xml
Now I am using latest(9.60)
I tested without Admob and it is builded but when i test with in admob build give failed to re-packing error. I don't know which one is toxic. one by one working but together don't working. please help me.
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SocialPlatforms; using GooglePlayGames; using GooglePlayGames.BasicApi;
public class PlayGames : MonoBehaviour { public Text a; // Start is called before the first frame update void Start() { PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().Build(); PlayGamesPlatform.InitializeInstance(config); PlayGamesPlatform.Activate(); }
}
When I use way of login social.LocalUser with PlayGamesPlatform doesn't react but when I doesn't write about PlayGames it is succes but no UI or react just succes text giving succes react. I tried with PlayGamesPlatform.LoacalUser with Start() function this code didn't worked. I need to help.