New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-Publishing doesn't overwrite the previous .apk on MacOS #776
Comments
I know |
Not sure about the version number, I'll check again tomorrow (I'm on CET here). Time was a weird thing as well: the timestamps aren't set. The APK is set to Unix beginning of time. |
Woah, that is odd! Another thing to try, .Net 8 just released today! I'm still exploring all the details related to how that impacts StereoKit, but it looks like the new |
Ok now I'm doubting whether it was Epoch start time, but regardless it's pretending to be super old: with .NET8.0 it thinks the .apk is created/modified at 01-01-1981 at 01:01 o'clock. Rebuilding keeps this identical time-stamp. Oddly enough, the other files in the folder have the correct time...? Bumping the version number with I don't think it's on the |
Fun fact: Rider (2023.2.1 at least) does allows me to rebuild. |
Hah! Oh no. Glad you found a workaround, but wooo. Any chance they log the commands they're using for build or something? Maybe there's some interesting flags hidden in there? |
|
Oh wow, okay, looks like they went the hard route! I could definitely imagine that bypassing large chunks of troublesome code :D Thanks for sharing this one! I need to give Rider a real try someday, ...and a Mac. |
I thought so too, right? It looks like they're rebuilding the entire thing each time. That'll come and bite me in the ass when the project grows, no? Rider is lovely! I got quite attached to it, since I come from a Unity background. IMHO there's no better IDE for Unity than Rider, since it is quite verbal about what's in the Inspector in Unity, and where certain stuff is used. That saved my bacon many times! Rider and StereoKit seem to play along just fine as well. I'm starting SK projects via Terminal, then start Rider from there as well (needed to do this with VS Code too, otherwise they don't seem to find the .NET SDK). After that it's smooth sailing, even with .NET8.0. And yes, go get a Mac. These M# chips are absolute killer. Get yourself a Pro/Max if you use multiple monitors. The price is.... rough, but it's an insane mix between portability and power, you won't find that anywhere else. |
Description
Rebuilding a second (or third etc.) Android version doesn't seem to override the initial one. I have to delete the
.../net7.0-android/...
folder for any changes to be apparent.Following the steps in the Getting Started - Android Section and the changes in skshaderc - custom shaders I can build to Quest 1 and 2.
If I then make any changes to the code, and rebuild and re-install to Quest again, those changes are not loaded. Also not after removing the APK from the HMD, rebooting the HMD, etc. Only after deleting the folder mentioned above will those changes be built.
During building or installation to the HMD, no errors are shown.
Platform / Environment
I'm working on M1 macOS 14.1, I'm using latest VS Code 1.84.1.
I've installed dotnet 7.0.483, the android workload, openJDK 17, Android API level 33 via Android Studio, Xamarin via VS.
Stereokit was installed (latest), as was the Templates (latest)
Logs or exception details
No error logs. Normal output, plus steps taken are provided below:
Installing sk-multi:
Publish
Install
Rebuild
Re-install
The text was updated successfully, but these errors were encountered: