Not able to Import (VSCode)
See original GitHub issueDescribe the bug
I can’t import the AdMob
Plugin from @capacitor/core
with import { Plugins } from "@capacitor/core";const { AdMob} = Plugins;
.
I am using VSCode and the Object Plugins
does not include AdMob
and i dont get any autocompletition for it
To Reproduce Steps to reproduce the behavior:
- Install with
npm i --save @capacitor/admob
- Import in Typescript-react File
App.tsx
withimport { Plugins} from "@capacitor/core"; const {AdMob} = Plugins;
Expected behavior I expect VSCode to find the AdMob Class in Plugins
Desktop (please complete the following information):
- OS: Windows
- Version core: 2.4.2, admob plugin: ^1.2.5
Additional context I hope i am not just too stupid for it
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
python - Pylint "unresolved import" error in Visual Studio Code
This issue was because of the Python interpreter. You need to select the interpreter in Visual Studio Code using Shift + Ctrl +...
Read more >Fix Python Unresolved Import in VSCode - LinuxPip
"Unresolved Import" is an error message produced by VSCode, not Python itself. The message simply means that VSCode cannot detect the ...
Read more >Import Errors in Python: No Module Named “Module_Name ...
Firstly, open up visual studio code and in your terminal check whether you are in your virtual environment. You can move into your...
Read more >Python unresolved import: How to Solve Pylint Error
To solve unresolved import error in Python, set your Python path in your workspace settings. If you are working with Visual Studio Code...
Read more >Linting | Python in Visual Studio Code
1. Unable to import (pylint) · Open the terminal window · Activate the relevant python virtual environment · Ensure Pylint is installed within...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have done a PR for the docs, we have to wait until @rdlabo have time to check them.
Try this: