Я не могу собрать свой проект Android, так как путь содержит символы, отличные от ascii, я даже не могу импортировать его в Android Studio.
Когда я пытаюсь построить проект с помощью CLI, я получаю следующее сообщение:
What went wrong:
A problem occurred evaluating project ':CordovaLib'.
> Failed to apply plugin [id 'com.android.library']
> Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory.
Итак, я поместил строку в файл свойств Gradle
android.overridePathCheck=true
, чтобы этот файл не выглядел следующим образом:
# This file was originally created by the Android Tools, but is now
# used by cordova-android to manage the state of the various third party
# libraries used in your application
# This is the Library Module that contains the Cordova Library, this is not
# required when using an AAR
# This is the application project. This is only required for Android Studio Gradle projects
# Project target.
target=android-27
android.library.reference.1=CordovaLib
android.library.reference.2=app
android.overridePathCheck=true
cordova.system.library.1=com.android.support:support-v13:23+
cordova.system.library.2=com.google.android.gms:play-services-gcm:+
Но, похоже, он не помогает
Если я не хочу создавать новый путь и не хочу создавать символическую ссылку для этого проекта - как я могу решить эту проблему с помощью добавленной строки?Я что-то пропустил?