Import Node.js app into Intellij IDEA - node.js

I would like to import this project into IDEA.
I downloaded the Node.js plugin, version 134.680.
But when I try to install it is says:"Plugin is incompatible with this version of IDE."
I am running IDEA 13.0.2

I ran into this issue the other day. The fix was to use Plugin version: 133.293 ::
http://plugins.jetbrains.com/plugin/download?pr=idea_ce&updateId=14820
In Ultimate edition, you can go to File -> Settings > Plugins > Click the 'Browse Repositories...' button, you should see a working version of the NodeJS plugin that you can download too. Cheers!

Related

Not able to import "package:google_sign_in/google_sign_in.dart in for flutter project in android studio

Link to a screenshotI was trying to implement google sign in authentication in my Flutter project but it turns out that I am unable to import that above mentioned package.
I have already registered my app with firebase and also downloaded google services json file .
Have you imported the plugins to the pubspeck.yaml package? If not, take a look at this, the documentation for importing packages.
After knowing that, make sure to import the google_sign_in package.
The title and the plugin that you mention in the screenshot are different, so which one are you having trouble with?
You need both google_sign_in and firebase_auth packages in your pubspec.yaml file.
install both and follow the examples on the above links for more
I had the same problem and fixed it by running this command from the root directory of the flutter project:
$ flutter upgrade --force
This command gets the most recent version of the Flutter SDK.
If anyone still facing this issue. Simply just restart the VS code.

Cordova Crosswalk: installation of Andoird-apk failed

I'm using cordova-plugin-crosswalk-webview-v3 to create android app with a build-in browser as standard webview in my app.
Cordova can create very simple a android app without any problem. As I added crosswalk (latest version) in cordova, my export are in 2 versions: arm64 and x86_64.
The problem is I cannot install both created apps on my android-device or emulator of android-studio.
I have 2 kind of errors:
first:
after importing the .apk in android-studio : .*so missing
second
after try to running app: INSTALL_FAILED_NO_MATCHING_ABIS
can somebody help me to solve this problem? I also read some issues on github of crosswalk, but they are not interested to replay their issues.
Thank you for your help!
The solution is to set android-minSdkVersion in config.xml to the latest version, like 28. Also just add this code in your config.xml and build the app via cordova build android again:
<preference name="android-minSdkVersion" value="28" />
After that there is a new apk-output, which names debug.apk. This apk is universal and can run on any devices.

Couldn't generate a APK folder (Gradle issue)

I can't seemed to generate the APK. and this pops up!
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
Could not create service of type FileHasher using BuildSessionScopeServices.createFileSnapshotter().
Please assist.
Which is your global java version?
Put some more information. Ionic info output and Android Studio version.
Try to downgrade your java version to 8
if you do not know how to change your java version, google it!

Flutter: How to import existing Flutter project, as a gradle project

How to import existing Flutter project, as a gradle project? 'Import Project' wizard asking for Gradle home path.
I have gradle, installed in my system. But what (which path) needs to set here.
Here is, what I'm trying:
Error
I had also gone through this problem where I have to import the existing Flutter project in Android Studio. I was able to import the project following below steps:
Open Android Studio
Goto File -> Open -> In Open File or Project window select the project you want to import.
Once you have done above steps try to resolve warnings shown in the log window. Warnings may be like update dependencies used in the project, etc.
Hope it will help you out.
I faced the same issue.
The gradle home directory (on my Windows machine) is located under:
C:\Program Files\Android\Android Studio\gradle\gradle-4.1
(please check the gradle version).
This will allow you to open the project. Then, you will most certainly need to "upgrade to gradle".
If this does not fully work, you might also consider using Visual Studio Code, which makes the "import" much easier: simply open the folder where you project resides. Optionally, you will have to resolve missing packages (-> Fetch packages). It should then be possible to run the project.
Hope this helps.
File - Open - Select the project root directory
Open Flutter settings from the tip menu - Click the pull-down menu, then flutter sdk dir appeared
Run
Or you can just use the flutter run command after step 1.
If you first add the flutter plugin for Android studio, then you can directly import the project as an Android Studio project and it should work fine.
In my case, having Android Studio 3.4.2 and Flutter 1.7.8, I only needed to:
1 - Open the project with the option "Open an existing Android Studio project".
2 - Run "flutter pub get" to get the packages listed in the pubspec.yaml file.
3 - Run the project with "flutter run"
If you are using Google services, don't forget to add your google-services.json file in your project. In another case, the project will fail without a clear message when you try to run it.
For Import exiting Flutter project.
Please choose Import Project because of Android Native application mean import use of android app only.
So use File -> Open -> Select Project root directory.
After open if ask for dependencies then Choose to Get dependencies

Appium integration in Android Studio(Ubuntu)?

Hi anybody can provide me the steps for Appium(Automation tool) integration in Android studio for Ubuntu OS.
or Provide me any links(i gone through few blogs but most of them explained in Windows,Mac OS?).
Thanks in advance.
What you need to do is Download the Appium, junit Dependencies from Maven in your Android Studio Project and configure Android Studio to run Appium Java junit/TestNG test cases:
You will require to download:
a. io.appium:java-client:3.1.0 or latest version
b. org.junit:com.springsource.org.junit:4.11.0 Or Latest
Than Just write your test suit by providing Appium server capabilities and Setup/Teardown methods. Start Appium Server also give correct port number inside your code. Like:
driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
How to import Maven Dependencies in Android Studio
(I assume that Appium has already installed on your system) if not Use This Link

Resources