# Troubleshooting

### For Android Build com.capacitor.Config issue

While building your application using android studio you will get the error for Capacitor config package (Twitter Plugin).

```
error: cannot find symbol import com.getcapacitor.Config
```

To solve the issue, goto TwitterPlugin.java file (path will be shown above in the Android Studio Build Output) and comment out the import statement for com.getcapacitor.Config

### Android Google Login SHA1 update

To setup the Google Login, you need to add the SHA1 key to the firebase project.

Goto your Project in Firebase Console and open Project settings. In General tab (Scroll to bottom) you will see the option of android application. There you can add SHA certificate fingerprints.

To get the SHA1 key for your system. You need to run the below command

```
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
```

This will provide the SHA1 key information of your PC. Once you add that to Android app in firebase console, google login will start working.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://enappd.gitbook.io/ionic-6-vue-capacitor-full-app/extras/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
