I'd rather suggest you reinstall it from scratch than try to debug it. ![]()
Thank you.
I thought it was due to ISP and GitHub issue ( the well known one, blocked by JIO ), so I changed dns to Google and AdGuard respectively but still got same issue.
Though there was no need to upgrade rush as I was just checking if there is update available or not.
I am happy with whatever build I have. ![]()
Thanks for the hint. I can now render to an arrangement, but is there a way to make the view appear behind everything else, so that for example a canvas with and invisible background could be on top of it?
No, an extension cannot be a component visible in the designer. Built-in components, apart from the java code, have a container on the designer's side, visible in the designer. No such container is provided for extensions. You can add an arrangement, adjust its dimensions and color, or set the background of the arrangement to an image that will replace your view from the extension, nothing else...
my installation of rush is successful i open new terminal and try rush --help not getting proper echo
Add the EXPORT command to .bashrc, .profile, and .bashprofile and other profile files (if they exist).
Then do
source .bashrc; source .profile
i get this error, everything looks fine.
but below error occurs
┌ 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 [15ms] []
C:\Users\nathan\.rush\bin\test>
![]()
JAVA_PATH and Installation is done correctly.
But ERROR occurs
Show result from:
Java -version
It works very well for me on Windows.
What is the result of this command:
java -version && javac -version
The result output version should start with "1.8.x.x" (for Java 8)
jdk1.8.0_202 - installed openJDK8 and also Oracle JDK 8, not both at same time.
but no JAVAC version,
Does rush support native libraries? Searching this topic it seems that it does but I run into issues when I try to include a library that uses a native library. I'm trying to build an app that retrives information from a Pi Hole server on my home network but I don't want it to even attempt connecting to it unless on the home wifi. To do that I was trying to get the gateway MAC address and if it matched the one of my home network then I would get information from the Pi Hole. Using the Taifun Wifi extension I can get the gateway IP address but not it's MAC address. I then use the KIO4 Terminal extension to run ip neigh which prints the IP addresses and their Mac addresses. Unfortunately ip neigh doesn't work on android sdk 30 or 31 which is a requirement I have (the phone I was wanting to use it on is sdk 31). I then found this library that uses a native library to bypass that restriction on sdk 30 and 31. I then looked on the jitpack build log and found the URL of the build artifact. I then use a app inventor simple function to wrap the library. When I call it I get an error about not being able to find the custom native library in the location of system native libraries. The .so is stored in the .aar in jni/{arch}/libipneigh-android.so for each respective archetecture. The library calls System.loadLibrary("ipneigh-android") on class initialization so that ArpNDK.getARP() works properly. I don't know if this is an issue with how rush handles native libraries, the library is packaged, or how libipneigh-android.so is loaded. I don't know much about how android java natives work and am very lost. Can anyone help?
P.S. I found this but it isn't helpful.
I did some looking and found the .so buried in the AndroidRuntime.jar so it looks like it's at least included somewhere in the extension. I'll have to do some more looking into why I'm having issues with it (e.g. building it directly, clearing the cache on the companion, checking logcat, etc.)
When I run it through do it then I get an error about
something DEX related. When I run it at a button press in the compiled app I get Runtime Error com.errinvalidname.ipneighsdk30.repack.h. I'll check logcat and see if it has anymore detail when I get home.
Currently it's not possible to package an extension with native libraries. You can only add native libraries if you're using offline builder of Mit App Inventor 2.
Okay, thank you
I don't think so.
