-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Unity version: 6000.0.51f1
Adjust unity sdk: 5.1.3
Adjust installed via UPM
"dependencies": {
"com.adjust.sdk": "https://github.com/adjust/unity_sdk.git?path=Assets/Adjust#v5.1.3",
}
There is an error when build for Android (not use custom AndroidManifest.xml)
DirectoryNotFoundException: Could not find a part of the path 'xxx\Assets\Adjust\Native\Android\AdjustAndroidManifest.xml'.
System.IO.FileSystem.CopyFile (System.String sourceFullPath, System.String destFullPath, System.Boolean overwrite) (at <e19fb1224222436ca0871ff12e7fb293>:0)
System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) (at <e19fb1224222436ca0871ff12e7fb293>:0)
System.IO.File.Copy (System.String sourceFileName, System.String destFileName) (at <e19fb1224222436ca0871ff12e7fb293>:0)
AdjustSdk.AdjustEditorPreprocessor.RunPostProcessTasksAndroid () (at ./Library/PackageCache/com.adjust.sdk@4b94bf8ac5f2/Scripts/Editor/AdjustEditorPreprocessor.cs:62)
AdjustSdk.AdjustEditorPreprocessor.OnPreprocessBuild (UnityEditor.BuildTarget target, System.String path) (at ./Library/PackageCache/com.adjust.sdk@4b94bf8ac5f2/Scripts/Editor/AdjustEditorPreprocessor.cs:39)
AdjustSdk.AdjustEditorPreprocessor.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at ./Library/PackageCache/com.adjust.sdk@4b94bf8ac5f2/Scripts/Editor/AdjustEditorPreprocessor.cs:30)
After investigation I found that this line in AdjustEditorProcessor.cs
may not work with upm installation.
var adjustManifestPath = Path.Combine(Application.dataPath, "Adjust/Native/Android/AdjustAndroidManifest.xml");
wongyuh and shoo22
Metadata
Metadata
Assignees
Labels
No labels