-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hello, I downloaded RemoteFiles APK and install it in Android Emulator, and it works really nice.
So I tried to modify some codes, so I download the source code and open it with Android Studio.
In my Android Studio Environment, it already installed flutter and dart plugin.
So I tried to build it and run in virtual Android environment but there are too many errors comes out.
the errors look like this.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It's being deprecated in favor of Android embedding v2. Follow the
steps at
https://flutter.dev/go/android-project-migration
to migrate your project.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Launching lib\main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\normal person\AndroidStudioProjects\RemoteFiles-master\android\app\build.gradle' line: 25
* What went wrong:
A problem occurred evaluating project ':app'.
> Plugin with id 'kotlin-android' not found.
* 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.
it seems that the error are related with gradle version so I search it in Google for several hours but there are too many solutions to apply it, and some solutions, causes another errors.
How can I run it or modify it in Android Studio and emulated in virtual Android environment.
My env versions
Android Studio : 4.1.3 (Latest)
Dart & Flutter Plugin in Android Studio : Latest version each 201.9335 and 55.1.1 version
Windows 10 (64bit)
If there is anything that you find how to open it in Android Studio please let me know. Thanks.