Hi everyone,I’m trying to build my Flutter app for Android, but I’m running into the following error:
text
Apply to main.dart
Build file ‘E:\devE\js\nsang19\flutter\fl2\android\build.gradle.kts’ line: 16
A problem occurred configuring project ‘:app’.
NDK not configured. Download it with SDK manager. Preferred NDK version is ‘27.0.12077973’.
I have downloaded a ndk , android studio doesn’t give me the option to download that specific one tho.
Any help would be appreciated! Thanks in advance.
I think there’s a line in the error that tells you to define the version in your build.gradle file
I don’t know why this is still happening
Classroom 6x Github Repack _best_ Here
High-speed reaction games such as G-Switch Unblocked or Run 3 .
: School-issued Chromebooks often have weak processors. Repacked games are lightweight and run smoothly on low-end hardware. classroom 6x github repack
Repacks are popular targets for bad actors. A hacker can upload a file named slope.exe (when the game should be HTML/JS) that actually installs a keylogger or encrypts your school files. Even JavaScript files can contain malicious code that steals your browser cookies (including your school login tokens). High-speed reaction games such as G-Switch Unblocked or
| Red Flag | Safe Indicator | | :--- | :--- | | Contains .exe , .bat , .ps1 or .app files | Only .html , .js , .css , .png , .json | | README asks you to disable antivirus | No such request | | Repository created 3 days ago with 10,000 stars (bot farm) | Repository age > 6 months with consistent commits | | Requests admin privileges to run | Runs fully in your browser | | Obfuscated JavaScript (e.g., eval(function(p,a,c,k,e,d)...) | Clean, readable source code | Repacks are popular targets for bad actors
I think it’s this and it’s still open
Update your gradle file with:
android {
ndkVersion = “27.0.12077973”
// … other config
}
save and in terminal (I use vs code so i do not know much about AS.
Do flutter clean && flutter pub get
Hope this helps