#off-topic thanks for that command it works better than rush build
rush build -x just gives debug kind of information, nothing special?
no I still donβt see the .aix
file when running rush build -x
command
@adwapbao Can you please paste the output of rush build -x
here?
As such, thereβs nothing special with that flag. Itβs just that it prints extra debug log as @hammerhai mentioned.
I have tried the following commands rush build
, rush build -r
, rush build -x
, rush build -o
.aix file cannot be exported, you can watch the video I worked on before
Thatβs not what I asked for.
By output, I mean the text output that you see in your terminal application after build command is executed.
Admin@Admin MINGW64 /d/date/ytthumb
$ rush build -x
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
β’ Build initialized
β Validating project files
β
β OKAY Metadata file (rush.yml)
β
β OKAY AndroidManifest.xml file
β Done
β Compiling Java files
β Done
β Processing extension files
β process:
β [java] Exception in thread "main" java.nio.file.NoSuchFileException: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.tythumb.abc.ytthumb\classes\simple_components.json
β [java] at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
β [java] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
β [java] at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
β [java] at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
β [java] at java.nio.file.Files.newByteChannel(Unknown Source)
β [java] at java.nio.file.Files.newByteChannel(Unknown Source)
β [java] at java.nio.file.Files.readAllBytes(Unknown Source)
β [java] at io.shreyash.rush.ExtensionGenerator.readFile(ExtensionGenerator.java:255)
β [java] at io.shreyash.rush.ExtensionGenerator.main(ExtensionGenerator.java:25)
β Done
β Converting Java bytecode to DEX bytecode
β
β
dexExt:
β [java] Error in C:\Users\Admin\AppData\Roaming\rush\workspaces\com.tythumb.abc.ytthumb\raw\com.tythumb.abc.ytthumb\files\AndroidRuntime.jar:
β [java] File not found: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.tythumb.abc.ytthumb\raw\com.tythumb.abc.ytthumb\files\AndroidRuntime.jar
β [java] Compilation failed
β
β Done
β Finalizing the build
β
assemble:
β [zip] Warning: skipping zip archive D:\date\ytthumb\out\com.tythumb.abc.ytthumb.aix because no files were included.
β Done
β’ Build successful
Admin@Admin MINGW64 /d/date/ytthumb
$
I also had the same problem
@anon69541400 and @adwapbao, Iβm investigating the issue where the AIX is not getting produced. Iβll release a fix once I get it resolved.
@adwapbao Can you try creating an extension with Rush in the drive thats letter is βC:β? Donβt even change the files, just create and see if it builds.
i tried it in C: drive and nothing
That wonβt make any difference. The problem is that the Java file for the extension isnβt getting compiled, and hence, no AIX in the out
directory.
I just figured since it said something about the C: drive that it would, since theyβre creating the project in a completely different drive.
Here I see the compile log with the error of missing file \ AndroidRuntime.jar.
Converting Java bytecode to DEX bytecode
β
β
dexExt:
β
β [java] Error in C:\Users\Admin\AppData\Roaming\rush\workspaces\com.ytthumb\raw\com.ytthumb\files\AndroidRuntime.jar:
β [java] File not found: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.ytthumb\raw\com.ytthumb\files\AndroidRuntime.jar
β
β [java] Compilation failed
β
β Done
β Finalizing the build
β
β
assemble:
β [zip] Warning: skipping zip archive D:\ex\ytthumb\out\com.ytthumb.aix because no files were included.
β Done
I also have this issue. The extension doesnβt compile I mean the build is successful but there is not extension in out folder
i dont know why but it works for me
did you all add this line
-keeppackagenames gnu.kawa.functions.**
-keeppackagenames gnu.expr.**
to proguard-rules-pro
?
watch my video, I did and added that command and there is no .aix file watch min 4:07
try creating a new project and then dont change it at all and then try?
I tested a lot with as different names and to no avail