Closed Kvaibhav01 closed 5 years ago
clone the repository and try one again.
Same issue. It's not fixed.
@Kvaibhav01 It can be fixed by changing the compileSdkVersion to 28. Go to android/app and open your build.gradle file and change:
compileSdkVersion 27 to complieSdkVersion 28
But after this I am encountering the following error with multidexing. I think it's due to backward compatiblity issues:
@iamchiragsharma, I'll try to change the SDK version and let you know. As for the dex issue, have you tried this in your project-level build.gradle?:
dexOptions {
javaMaxHeapSize "4g"
preDexLibraries = false
}
I saw it too at stack overflow but it doesn't help it crashes the app while it resolves dependencies. I started from scratch again and thought maybe that is Android X issue but when I used Android Studio to refactor it the Android Studio simply said there is nothing to refactor.
Let me know if you find something.
I am attaching the result when I used:
dart dexOptions { javaMaxHeadSize "4g" preDexLibraries = false }
I've tried both options, no luck. Having the same issue as @iamchiragsharma.
@Kvaibhav01 @iamchiragsharma I have resolved them now. Try now it should work.
Yes, it's solved!
When I run the app (after successfully adding the Firebase JSON file inside the android > app directory, I get an error that says "Android resource linking failed cannot find
dialogCornerRadius
resource."I've tried to search for the resource manually but couldn't find one. Please look into this.