I am developing a mobile application with VS Code, and my phone launches on a Huawei operating system (Harmony OS). Can I connect them and launch the app on my phone?
Can I connect the Huawei HarmonyOS emulator in VS.Code?
1.7k Views Asked by Elena Nikolova At
2
There are 2 best solutions below
0
Zinna
On
HarmonyOS supports Native C++ for app development. If you use Huawei DevEco Studio IDE to develop a HarmonyOS app using C++ code, it can be installed on Huawei HarmonyOS phone. On the other hand, if you develop an app with Visual Studio IDE, it can't be launched on Huawei phone.
You can find the detail of DevEco Studio for HarmonyOS app development at https://developer.harmonyos.com/en/docs/documentation/doc-guides/tools_overview-0000001053582387.
Related Questions in VISUAL-STUDIO-CODE
- vscode file icons
- Building C# code in VSCode on Mac
- How do I support jasmine and es6 syntax in Visual studio Code?
- JS Code didn't work, trying do a demo in css lessons
- Debug Java in Brackets editor or Visual Studio Code
- Visual Studio Code, C# support on Windows
- What is the use of the Developer Tools in VS Code?
- Option to push disabled in Visual Studio Code
- How do I include 'System.Runtime.Serialization.Json' namespace in my VSCode project on Mac OS X?
- Using System.Web.Http on mac os x
- VSCode intelliSense autocomplete for javascript
- Set language for syntax highlighting in Visual Studio Code
- Import {} from location is not found in VS Code using TypeScript and Angular 2
- Predefined type 'System.Object' is not defined or imported [dnxcore50]
- VS code appending special characters on paste
Related Questions in HYBRID-MOBILE-APP
- Why my javamail program not running through jdeveloper?
- Visual Studio, Ripple Emulator and CORS/Cross Domain Ajax
- How to use ionicModal Methods?
- How to create a simple checkout flow for mobile app and update it in the mysql database?
- What causes some iOS web pages to not continue scrolling when swiping finger is released?
- How to post MAF form data to Rest service in Json format?
- How to add Sencha Touch to Visual Studio 2013 Apache Cordova App?
- Windows Phone 8 App Development using Phonegap
- SignalR working in browser not in app
- Phonegap: ./create error
- IBM MobileFirst 7.0 - How do we generate .ipa file?
- How to get parameters from a url and use it in HTML?
- Ionic toggle checkboxes with 2 colors
- Inconsistent behaviour of SAPUI5 app on Android Lollipop (5.0)
- Best option for converting a JSP website to Android app?
Related Questions in MOBILE-APPLICATION
- Event-Driven(Real - Time) mobile set-up suggestions
- How to use ionicModal Methods?
- how to reset/restart an animation and have it appear continuous?
- Variable price for mobile app for various countries
- Is it ok/common practice to login via REST service by sending clear text password?
- MeteorJs mobile-config settings for landscape only?
- Creating an app for an already made website
- Informing mobile app users about discounted subscriptions
- Showing two launcher icon for same application in certain android devices . Please give me a solution to rectify this issue
- Push Notification does not launch the background app first time Android
- Is there any way to detect if a user agent is from a browser or an app?
- Communication between mobile web app and phonegap app
- MySQL server and iOS app
- In App Purchase backend architecture: user accounts and protecting the app from "borrowed account" downloads
- why search functionality is on separate screen rather than on same screen in apps?
Related Questions in HUAWEI-DEVELOPERS
- How can I change the developer name in Huawei AppGallery?
- Has anyone implemented HMS map kit of Huawei with Vuejs?
- Google and Huawei APK flavor build issue
- HMS Push plugin - how to receive data message when the app is in killed state
- Steps not visible on Huawei Health app after sending them from Heatlh Kit
- How do i Whitelist my app for Huawei Smartphones within the code?
- Huawei “New tag collected, Tag is empty or phone is not aligned” message
- HMS Toolkit Android Studio failed to initialize
- App rejecting on AppGallery Connect Huawei
- Is it possible to share a link with Huawei Share just like with Google Nearby Share?
- Connection with Net/SSH2.php to Huawei Olt MA5680T is very slow
- Huawei Console - Select Testing Version "NO" not available
- Why don't I get notifications in HMS if I disable and re-enable them?
- How to Creating a Data Disk Image from an External Image File in Huawei Cloud Stack?
- I have a problem with IDLE Mode on Huawei devices when screen is turned off
Related Questions in HARMONYOS
- DevEco cannot connect HonorX10 on HarmonyOS3.0
- Harmony os Cannot find StaticSubscriberExtensionAbility
- After the ordinary TextField is switched to the password TextField, the password TextField will lose focus
- How to change checkbox label value in DevEcoStudio Previewer according to selected language?
- How to add border to a circle image in DevEco Studio?
- Can I connect the Huawei HarmonyOS emulator in VS.Code?
- How to get the custom ROM/Android OS Name from Android programatically
- How to set the color of a text in TextField for Harmony OS?
- Does HarmonyOS video support URL playback and how to develop?
- Is HarmonyOS JS UI framework similar to React-Native UI framework?
- What are similar class for below objects in Harmony OS?
- HarmonyOS wearable vibrator not activating
- Can all HarmonyOS JS UI Framework styles be dynamically set?
- DevEcoStudio: Previewer did not get installed
- DevEcoStudio: No SDK file downloaded on installing DevEcoStudio
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Use an IDE, alike Android Studio or DevEco Studio, depending if this is an Android or HarmonyOS SDK app; there's also these "Lite" apps, which you may be referring to (currently only these can be emulated locally).
It's possible to configure external tools in VS.Code, but it's kind of "the wrong tool", because it lacks the HarmonyOS SDK, ADB/HDB (USB debugging) and most importantly, the emulator (Lite) - and
logcatoutput also would need to be piped into the output window. OHOS only runs Android packages in compatibility mode, if I understood this correctly (but it runs both).For Android Studio there's also a HMS Toolkit plugin for connecting remote emulators (not Lite). In short: you'd have to install DevEco Studio anyway; only then you'd have a chance of building and running such "hybrid" Lite app from VS.Code, via CLI scripting / or some plugin.