This post was flagged by the community and is temporarily hidden.
Hi @Shreyash , i am try to build my project without edit any thing but it doesnβt work
see this video to understand me
Iβve answered this exact issue just above your post. Please read before you ask.
I read it before but i did all things like install ant and add it on system path variable The same for java. i donβt know where is the problem ?
It has never been said that you need to install Ant to use Rush. Also, Iβm very much sure that you havenβt installed JDK 8. At this point Iβm just fed up with explaining everyone how to install JDK. If you canβt do such simple things as installing a program, I donβt think you should be developing any extensions.
Run this command in Powershell and post the result
java -version; javac -version
You should see something like this:
Hello @Shreyash & @Xoma
Thanks for replaying me
I solved problem by add %JAVA_HOME%\bin
to system variables to the path
And restart my pc β¦ it is solved
Hi Shreyash,
I installed Java on my computer.
And I wrote this in my extension. (removed)
And it successfully built the extension, but:
This block is the only block I see. Do you know where the mistake is?
I had also faced this issue.
Just re-compile the extension.
At the time of compiling this extension there was one warning in console.
"no blocks annotations "
Something like this, I havenβt remembered the warning text
Thanks, working now.
getting error
varsha@DESKTOP-JG5BBV1 MINGW64 /e/AIX/NewDYNAMICaix/AAAAAAA/sample
$ 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?[36m0ms?[30;1m]?[0m ?[30;1m[?[0m?[30;1m]?[0m
?[m
varsha@DESKTOP-JG5BBV1 MINGW64 /e/AIX/NewDYNAMICaix/AAAAAAA/sample
$
done now its working
hello developers i got error when i started build with kotlin
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
β’ Build initialized
β Checking project files
β info Checking metadata file (rush.yml)
β info Checking AndroidManifest.xml file
β done
β Compiling sources
β info Picked 1 source file
β erro src\in\sonraj\exkotlin\ExKotlin.kt:1:9: package name must be a '.'-separated identifier list
β package in.sonraj.exkotlin
β ^
β failed
β’ Build failed [3s 212ms] [1 error]
OK sorry for this i found solution -
package `in`.sonraj.exkotlin
Can We Compile Two Extension in One?
A warning text :
PS C:\Users\amd\Downloads\get-pkg> rush build
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
β’ Build initialized
β Checking project files
β info Checking metadata file (rush.yml)
β info Checking AndroidManifest.xml file
β done
β Compiling sources
β info Picked 1 source file
β
β warn No declaration of any block annotation found
β done
β Processing the extension
β info Linking extension assets
β info Generating DEX bytecode
β done
β Finalizing the build
β info Packing com.Shreya.getPkg.aix
β done
β’ Build successful [2s 461ms] [1 warning]
PS C:\Users\amd\Downloads\get-pkg>
here is aix file which not have any block inside
com.Shreya.getPkg.aix (4.5 KB)
here is aix file which have blocks inside
com.Shreya.getPkg.aix (4.6 KB)
logs for aix have blocks inside
PS C:\Users\amd\Downloads\get-pkg> rush build
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
β’ Build initialized
β Checking project files
β info Checking metadata file (rush.yml)
β info Checking AndroidManifest.xml file
β done
β Compiling sources
β info Picked 1 source file
β done
β Processing the extension
β info Linking extension assets
β info Generating DEX bytecode
β done
β Finalizing the build
β info Packing com.Shreya.getPkg.aix
β done
β’ Build successful [2s 428ms]
PS C:\Users\amd\Downloads\get-pkg>
Just re-compile the aix file itβll fixes the issue, As I already said above
Compiling two extensions in one will be possible with the next version, which I hope to release by the end of this month. Stay tuned.