please does anyone have an idea on how to run NativeScript app on android studio?
If so, show me the steps to do it.
Android Studio is meant for development using stock Android stack(Java, gradle, etc).
NativeScript is based on JavaScript and you would be much better off using an IDE that supports JS specifically - Visual Studio Code, Sublime Text, Atom, etc. If you prefer IntelliJ you can try WebStorm.
Related
I was able to run the React project on the Android emulator that came with Visual Studio 2022. At this point, I decided to generate an apk file, but due to the lack of Android Studio, there is no way to fully generate the apk file. How to assemble the project in this case?
To publish, the application needs to generate a key, at the key generation stage everything goes well. But due to the lack of configuration files and gradle itself, it is not possible to sign the application.
I was wondering if there was any command from terminal that I could use to match the use in Android Studio of doing file>invalidate cache/restart.
Thanks!
According to a JetBrains employee doing the following will have the same effect:
Shut down Android Studio externally (using kill or similar command), then
Delete system/caches directory (more on that later), and
Start the IDE again.
How to find system/caches directory?
Location of the IDE files depends on the operating system, product and version.
For IntelliJ IDEA follow this guide.
So e.g. for IntelliJ IDEA 2020.3 on macOS you should be looking for ~/Library/Caches/JetBrains/IntelliJIdea2020.3/caches directory
For Android Studio follow the same guide as above but instead of JetBrains in the path use Google
So e.g. for Android Studio 4.2 on macOS you should be looking for ~/Library/Caches/Google/AndroidStudio4.2/caches directory
I am trying to debug a Cordova app that makes use of native plugins (for authentication, API access etc.). Therefore the app does not run from the browser/Ripple.
I am using Visual Studio Tool for Apache Cordova (TACO) now to emulate and put breakpoints/watches and single step through the code to debug. I am wondering if there are any good alternatives to single step through the code for Cordova apps with platform specific plugins.
It would be nice if it was possible to debug without relying in Visual Studio while developing. Are there solutions for this that work with other IDEs?
If you are testing on android while you're device is connected through ADB you can go on chrome://inspect on a new tab in chrome. When cordova app is running you can select inspect and debug like a web page your running app.
You can debug Android native code in Android Studio, iOS code - in XCode (on OSX).
Windows plugins code is best to debug in Visual Studio.
Visual Studio Code editor is handy to debugging the app (js) code (it also supports livereload if you have Ionic installed).
If you want to debug platform specific Plugin code then you have to use Visual Studio, Android Studio for sure.. Don't know about iOS..
I've installed developments tools and emulators from this page https://dev.windowsphone.com/en-us/downloadsdk.
And so I got a javascript and C# templates for windows 8.1 development, but there is no phone template for javascript, there is only windows template. As you can see on the screenshot:
How can I add Phone or Universal apps for javascript?
Oh, it seems that my windows phone sdk verison is only 8.0, but should be 8.1 right? But I can't find this version of SDK.
What version of Visual Studio do you have? In VS2013 Update 2 RC the templates are available:
Please try uninstalling and reinstalling RC2. A few people have run into this issue, and that appears to solve the problem.
I am new to Sencha Touch Framework. I am starting to develop a sencha touch application. I am stuck at using the right IDE for the development. Right now I am using Webstorm IDE for running the Sencha Touch Application. But I am not able to Debug the javascript which is not declared in HTML file.
As in Sencha Touch application there is a file app.js which is called from app.json file and not from index.html file. And WebStorm runs the index.html file and debug the javascript files which is not declared in it.
Can Anyone help me how I can debug javascript files in Sencha Touch Application using webstorm or suggest me proper IDE.
Thanks
Ishan jain
You can use chrome's developer tools to debug javascript code whether it is declared in index.html or not. To edit JS & HTML files you can choose any IDE of your liking (I use Eclipse. To enable autocomplete feature check out: Where to find sencha touch JSB file?).
If you are more comfortable using visual mode for generating code check out Sencha Architect which is full blown development tool for Sencha touch and ExtJS.
Brackets is an open source code editor for the web. It's built with JavaScript, HTML and CSS by web developers.
You can use
Brackets