Also, sometime in Android project, I use to open the Android project in Android Studio and let it sync.
um sorry didn't quiet get it, its already appwrite: ^8.1.0 right?
Opps, sorry
Same just without the carret ^
I've fixed the snippet
ok ok
still the same, is it just happening with me?😩
where exactly do you see this?
i've never had this problem...but it looks like you're using android studio? I use VS Code
Have you try this?
To open android folder in Android studio and let it sync? to see if it complete the sync?
Also can you share the first part of your android\build.gradle
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.15'
}
}
And your android\gradle\wrapper\gradle-wrapper.properties file?
my Flutter option is greyed out 🧐
Yes, I think it's grey when the android part didn't have sync before.
So in that case I would open it manually and just check if it sync successfully
still greyed out. my my project also has red squigglies under it 👀
Ohh You're right clicking the project or the android folder?
both
Let met try with a brand new project.
im running a modified version of https://github.com/appwrite/playground-for-flutter
I think instead you should be able to sync gradle manually
There's an elephant icon in android studio top-right. If you click it, errors should disappear
Good As I've opened it, I also got the grey line. Took a look here https://github.com/flutter/flutter-intellij
Adding file playground_for_flutter_android.iml inside the android folder helped out
The exact spot https://github.com/flutter/flutter-intellij/blob/master/flutter-idea/src/io/flutter/project/FlutterProjectStructureDetector.java#L115
I'm using JetBrains almost exclusively So those file are generated when I first create the project.
i get other errors now. not worth digging into 😆
@mitsy0_0 definitely try this, though. I've seen stack overflow posts saying this fixes the problem
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...