E:\Users\JOSHUA ELI\OneDrive\Proyectos\Código\Flutter\new_set>flutter run
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle... 1.1s
Resolving dependencies...
- Error running Gradle: ProcessException: Process "E:\Users\JOSHUA ELI\OneDrive\Proyectos\Código\Flutter\new_set\android\gradlew.bat" exited abnormally:
FAILURE: Build failed with an exception.
Where: Build file 'E:\Users\JOSHUA ELI\OneDrive\Proyectos\Código\Flutter\new_set\android\app\build.gradle' line: 24
What went wrong: A problem occurred evaluating project ':app'.
Failed to apply plugin [id 'com.android.application'] 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.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 1s Command: E:\Users\JOSHUA ELI\OneDrive\Proyectos\Código\Flutter\new_set\android\gradlew.bat app:properties
Please review your Gradle project setup in the android/ folder.
En teoría ya vi varios posts en inglés y no sé qué onda con este error, algunos sugieren que me vaya al repositorio de Flutter, ósea
flutter/packages/flutter_tools/gradle/flutter.gradle
Y lo que entendí, algunos sugieren que cambie
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
}
}
por
buildscript {
repositories {
google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
}
}
Y ya hice el cambio pero no logré ningún cambio, intenté crear una nueva carpte de Flutter create ¿alguna sugerencia?