How to fix this problem ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to fix this problem ?

I have no idea why my mobile is not able to connect to visual studio 😭 I am making a Apache Cordova project ,so i connected my mobile phone to my labtop then i click on simulate on "Device" (to be able to see my code on the device), but it only gives me 1 warning (TS6053) and 47 errors . The Image : https://www.sololearn.com/post/151017/?ref=app

21st Sep 2019, 8:02 AM
Bono
Bono - avatar
10 Answers
+ 6
I am on vscode but this problem is not with me i am easily connected my mobile with my vscode and get file form my laptop. Plz See your settings ..
22nd Sep 2019, 5:09 AM
🇮🇳Abhay Pratap Singh🇮🇳
🇮🇳Abhay Pratap Singh🇮🇳 - avatar
+ 2
Taste thanks, so after downloading the sdk separately the problem should be solved , right ? Or there is any other thing i should do after downloading the sdk
21st Sep 2019, 12:03 PM
Bono
Bono - avatar
+ 1
does adb detect your device ?
21st Sep 2019, 8:30 AM
Taste
Taste - avatar
+ 1
Taste sorry , but What is the adb ?
21st Sep 2019, 9:43 AM
Bono
Bono - avatar
+ 1
sorry i'm outside atm. adb is android debug bridge, it usually placed inside sdk folder. its kind of responsible to connect your development enviroment to your phone.
21st Sep 2019, 10:29 AM
Taste
Taste - avatar
+ 1
Am I able to download it or is it something that comes with visual studio ?
21st Sep 2019, 10:50 AM
Bono
Bono - avatar
+ 1
it comes with android sdk. soo you'll need to download the sdk separately ita under sdk tools https://developer.android.com/studio/#downloads
21st Sep 2019, 11:56 AM
Taste
Taste - avatar
+ 1
there are a few things that you'll need to download using sdk manager, it should be included with sdk tools. for cordova you'll need platform tools build tools also sdk 21 you dont need to download the system images, those are for emulator. there's some more things to do with enviroment variable, i dont remember much. i'll look for it for a bit
21st Sep 2019, 12:11 PM
Taste
Taste - avatar
0
Hi there
22nd Sep 2019, 2:47 PM
Abrsh Wubishet
Abrsh Wubishet - avatar