I'm following this document for Android: https://appwrite.io/docs/products/auth/oauth2#init But it got an error:
TypeScript
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{net.xxxxxxxxxx/io.appwrite.views.CallbackActivity}: java.lang.ClassNotFoundException: Didn't find class "io.appwrite.views.CallbackActivity" on path: DexPathList
Caused by: java.lang.ClassNotFoundException: Didn't find class "io.appwrite.views.CallbackActivity" on path: DexPathList
Please help me! :appwritebow:
TL;DR
- Error message: ClassNotFoundException for "io.appwrite.views.CallbackActivity"
- Check SDK version and usage of Proguard/R8
- Followed Android document but encountered error
- Include necessary class in the project to resolve the ClassNotFoundException errorAre you using Proguard/R8?
Also what version of the SDK?
Recommended threads
- Error With iOS Apps
I keep getting the below errors for my flutter app. The clients are registered and have been. This wasn't an issue a few hours ago. AppwriteException: AppwriteE...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...