Rush β€’ A new and improved way of building extensions

Can We Compile Two Extension in One?

1 Like

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.

5 Likes

We are waiting for the next update of aweseome Rush :heart:

3 Likes

If I want to use library in my project then how to do?

@AshishThakur

(post deleted by author)