Ohk @iamwsumit and thanx a lot to all of you @Shreyash , @Shreyaa , @iamwsumit , @dora_paz for guiding me.
I really thank you
Thnx again
Ohk @iamwsumit and thanx a lot to all of you @Shreyash , @Shreyaa , @iamwsumit , @dora_paz for guiding me.
I really thank you
Thnx again
hello everybody I am back with my new doubt
I am basically making an trial extension on Mathematical Operations I am using Intellij IDEA as IDE for my extension but there is one issue that when i am giving command Rush Build the this error is showing to me see this and please reply what can be the error
This is the full error
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Users\HP\Desktop\math operations\math-operations> rush build
[94m __
_______ / /
/ / / / / / __
/ / / // ( / / / /
// _,/// //
[m[33m• [mBuild initialized
[m[90m┌ [mChecking project files
[90m│ [m[36minfo[m Checking metadata file (rush.yml)
[90m│ [m[36minfo[m Checking AndroidManifest.xml file
[90m└ [32mdone
[m[90m┌ [mCompiling sources
[90m│ [m[36minfo[m Picked 1 source file
[90m└ [31mfailed
[m[31m
• [mBuild failed [30;1m[[0m[36m590ms[30;1m][0m [30;1m[[0m[30;1m][0m
[m
Have you added the JDK path in your environment variable? Run echo %PATH%
command in your CMD and post the output here.
Ohk I will do it
Thank you
But I haven’t set any PATH
I had set only Home
That’s why you are facing error. Create a PATH
variable and add %JAVA_HOME%\bin; %JAVA_HOME%\jre\bin;
value to it then save it by clicking OK and try to build again.
I have done it but after this I am getting this error
HP@HP-PC MINGW64 ~/Desktop/math operations/math-operations
$ rush build
[94m __
_______ / /
/ / / / / / __
/ / / // ( / / / /
// _,/// //
[m[33m• [mBuild initialized
[m[90m┌ [mChecking project files
[90m│ [m[36minfo[m Checking metadata file (rush.yml)
[90m│ [m[36minfo[m Checking AndroidManifest.xml file
[90m└ [32mdone
[m[90m┌ [mCompiling sources
[90m│ [m[36minfo[m Picked 1 source file
[90m│ [m javac: invalid flag: operations\math-operations
[90m│ [m Usage: javac
Your Rush project’s base directory’s path should not contain any whitespace. Rename the directory ~/Desktop/math operations
and remove all the whitespaces.
Means there should not be any space between these two words
I have noticed that android.jar
in the dev-deps folder is targeting API 29. Will you update it to android 30?
I am getting desugaring issues when using the latest version as one class in the library depends on api 30 which causes desugaring issues. Plus both appinventor and kodular now target android 10 so it wont be a huge issue (I guess).
The android.jar
will be updated with the next release, but I’m not certain about when the next release is gonna land. Best you can do for right now is to manually update it to the desired SDK version.
I have already updated the android.jar file to fix the issue. Thanks.
Is this due to error in my code or something else:-
┌ Checking project files
│ info Checking metadata file (rush.yml)
│ info Checking AndroidManifest.xml file
└ done
┌ Compiling sources
│ info Picked 1 source file
└ failed• Build failed [21ms]
Check that you have:
I had just rested my pc after that i installed java 1.8
I had also checked java -version
java version “1.8.0_301”
Java™ SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot™ 64-Bit Server VM (build 25.301-b09, mixed mode)
Tell me what i did wrong here
Check this also
I have found solution i just moved the java path var to top
But now its not recognizing rush
Will you please share the pic of your Environmental Variables
Is it applicable for drive name too?