Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdjustEditorPreprocessor - Path does not contain a definition of 'Combine' #265

Open
ariok opened this issue Jan 26, 2023 · 1 comment
Open

Comments

@ariok
Copy link

ariok commented Jan 26, 2023

Assets\Adjust\Editor\AdjustEditorPreprocessor.cs(46,39): error CS0117: 'Path' does not contain a definition for 'Combine'

We are receiving this error after installing this version -> Version 4.33.0

We are currently running Unity 2021.2.18f.

Lines with the issue here:

var androidPluginsPath = Path.Combine(Application.dataPath, "Plugins/Android");

var adjustManifestPath = Path.Combine(Application.dataPath, "Adjust/Android/AdjustAndroidManifest.xml");

var appManifestPath = Path.Combine(Application.dataPath, "Plugins/Android/AndroidManifest.xml");

@ariok
Copy link
Author

ariok commented Jan 26, 2023

A possible fix would be to directly specify the namespace System.IO before Path

var androidPluginsPath = System.IO.Path.Combine(Application.dataPath, "Plugins/Android");
var adjustManifestPath = System.IO.Path.Combine(Application.dataPath, "Adjust/Android/AdjustAndroidManifest.xml");
var appManifestPath = System.IO.Path.Combine(Application.dataPath, "Plugins/Android/AndroidManifest.xml");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant