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
?
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
You really should start reading the replies in this topic.
Everything works fine for me.
Here are my steps (to create the extension, test1.aix → com.bodymindpower.test1.aix):
So try to do it the same way and report if you get the same issue (aix not created).
@adwapbao @zainulhassan
The issue is fixed thanks for your answer
Ok, what was the problem? A space in the folder name or … ?
Can you check your extension in a compiled app . I mean try to compile an app with the built extension
As I mentioned above shreyash provided me an updated rush.exe file. Maybe that would solve the issue.
No. The EXE I gave you just had some small changes that printed extra debug log, which helped me in identifying the issue, which in your as well as @anon69541400’s case was whitespace in directory name.
As you can see in my video, there is no issue as long as no spaces are used in the folders.
I followed exactly what you did in the video but I still don’t see my .aix
file in the out
folder
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Admin> cd..
PS C:\Users> cd d:
PS D:\> cd rush
PS D:\rush> cd myExtension
PS D:\rush\myExtension> rush create test1
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
? Organisation (package name) com.abc
? Author myname
? Version name 1
• Getting things ready...
• Success! Generated a new AI2 extension project in: D:\rush\myExtension\test1
Next up,
- cd into test1/, and
- run rush build to compile your extension.
PS D:\rush\myExtension> cd test1
PS D:\rush\myExtension\test1> rush build
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
• Build initialized
┌ Validating project files
│
│ OKAY Metadata file (rush.yml)
│
│ OKAY AndroidManifest.xml file
└ Done
┌ Compiling Java files
└ Done
┌ Processing extension files
└ Done
┌ Converting Java bytecode to DEX bytecode
└ Done
┌ Finalizing the build
└ Done
• Build successful
PS D:\rush\myExtension\test1>
when I ran the -rx
command the log gave this error
PS D:\rush\myExtension\test1> rush build -rx
__
_______ _______/ /_
/ ___/ / / / ___/ __ \
/ / / /_/ (__ / / / /
/_/ \__,_/____/_/ /_/
• Build initialized
┌ Validating project files
│
│ OKAY Metadata file (rush.yml)
│
│ OKAY AndroidManifest.xml file
└ Done
┌ Compiling Java files
│ javac:
│ [mkdir] Created dir: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.abc.test1\classes
└ Done
┌ Optimizing Java bytecode
│ process:
│ [mkdir] Created dir: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.abc.test1\raw
│ [mkdir] Created dir: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.abc.test1\raw-classes
│ [java] Exception in thread "main" java.nio.file.NoSuchFileException: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.abc.test1\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.abc.test1\raw\com.abc.test1\files\AndroidRuntime.jar:
│ [java] File not found: C:\Users\Admin\AppData\Roaming\rush\workspaces\com.abc.test1\raw\com.abc.test1\files\AndroidRuntime.jar
│ [java] Compilation failed
└ Done
┌ Finalizing the build
│
│
assemble:
│ [zip] Warning: skipping zip archive D:\rush\myExtension\test1\out\com.abc.test1.aix because no files were included.
└ Done
• Build successful
PS D:\rush\myExtension\test1>
can you check your logs and in C: \ Users \ Admin \ AppData \ Roaming \ rush \ workspaces \ com.abc.test1 \ raw \ com.abc.test1 \ files \ AndroidRuntime.jar
folder there is Such similar directories are not, and very thank you for the reply.
This post was flagged by the community and is temporarily hidden.