CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

Error when use it with android

Open Epameinondas-Theodoropoulos opened this issue 4 years ago • 2 comments

I use ionic and capacitor 3. When I build the app for the web with the commence ionic serve the plugin works fine. but when I compile it to android studio I have this error Gradle sync failed: com.android.tools.idea.gradle.project.sync.idea.issues.SdkPlatformNotFoundException: Module: 'codetrix-studio-capacitor-google-auth' platform 'android-30' not found. (53 s 111 ms)

When I attempt to click the google singing button I get this error vendor-es2015.js:47322 ERROR Error: Uncaught (in promise): Error: Something went wrong Error: Something went wrong at Object.cap.fromNative (VM3:formatted:419) at <anonymous>:1:18 at resolvePromise (polyfills-es2015.js:3904) at polyfills-es2015.js:3811 at rejected (vendor-es2015.js:126685) at ZoneDelegate.invoke (polyfills-es2015.js:3470) at Object.onInvoke (vendor-es2015.js:70562) at ZoneDelegate.invoke (polyfills-es2015.js:3469) at Zone.run (polyfills-es2015.js:3229) at polyfills-es2015.js:3963 at ZoneDelegate.invokeTask (polyfills-es2015.js:3505) at Object.onInvokeTask (vendor-es2015.js:70550)

any help here ?

I Use google WebClientId. then it is working

see #157

sawaca96 avatar Oct 29 '21 06:10 sawaca96

I Use google WebClientId. then it is working

see #157

The problem remain in android studio. The second error disappeared but the "Gradle sync failed: com.android.tools.idea.gradle.project.sync.idea.issues.SdkPlatformNotFoundException: Module: 'codetrix-studio-capacitor-google-auth' platform 'android-30'" is still there