-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Android build fails #4
Comments
I will look into this further later today Just to check, you did do a fresh export from unity? There might be some missing files that were gitignored |
I have run into that as well. Mind showing me your Console when you attempt that? In my case, when it said "compile errors in the editor" it wasn't even showing anything in the Console, I think I just had to restart unity at that point. Maybe try enabling Development Build to see if that helps at all. I have "export for app bundle" disabled in mine Maybe also verify these project settings haven't changed: |
I can confirm the player settings are identical. |
yeah, i just verified the file is in the repo, this is strange. you could try importing the NRSDK unitypackage |
Build fails with the same compilation errors, |
hey yeah that makes sense. ill have to see about adding a script for downloading those in the meantime you can download the trial version of the vlc for unity (android) package here https://videolabs.io/#unity |
I've gotten it deployed, have you tried this on the Nreal Airs? I'm only getting some sound effect out of the right speaker, and everything blank with the default control layout on the phone screen |
yes i only have Airs and that video clip is a bad example i need to replace it. it only has audio in the right channel. https://jakedowns.com/media/sbs.mp4 is a longer/larger file that has other scenes with better stereo sound the controller should show a Menu button at the top which should expose playback controls and the ability to change the url of the file being played the local file picker isnt working yet. fixing that tonight |
Is the app trying to download a video immediately? I get no visual output
at all and the Menu button once clicked becomes greyed out and nothing
changes. Perhaps I'll have a blank view until the video finishes
downloading.
…On Fri, Dec 2, 2022 at 12:39 PM Jake Downs ***@***.***> wrote:
yes i only have Airs
and that video clip is a bad example i need to replace it. it only has
audio in the right channel. https://jakedowns.com/media/sbs.mp4 is a
longer/larger file that has other scenes with better stereo sound
the controller should show a Menu button at the top which should expose
playback controls and the ability to change the url of the file being played
—
Reply to this email directly, view it on GitHub
<#4>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGECX3DUNJQFUWY5FX6LAJDWLFHNRANCNFSM6AAAAAASQUF4SY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Regards,
Scott Klein
|
Hah I always debug wirelessly, there is a lot of output in logcat, and I can see that the problem most likely is not related to downloading or anything like that. Here is the error filter, from the other filters I can see that VLC seems to be working correctly for the most part.
|
yeah it definitely seems like there's still some missing compiled things. I'm gonna do a fresh clone and see what steps i need to perform to get it building. i'll get back to you |
I'm sure you've seen this error before? I've done a fresh clone, deleted the NRSDK, deleted VLC, import my own fresh downloaded version of NRSDK, and VLC. Export, now trying to build in Android, I'm sure I've got all the dependencies now just need to get past this build error. |
packagingOptions.pickFirst=**/libc++_shared.so |
Yep that's configured as you have it, should I delete that line instead? |
hrm. that line is how i resolved that error i believe. :G
|
I'll stop debugging then and just wait for you to see what happens when you do a git clone and build, that is if you want contributors to be able to debug their work. I'm tempted to just do work and PR without testing it. |
i really appreciate the effort you've put into getting this running and i definitely do want to collaborate this is my first time open sourcing a unity project and from what ive read there is a bit of a learning curve for working on them with version control i saw a lot of recommendations for using perforce over git, which makes sense i think its doable on git given the small size/scope of the project i've also seen some stack exchange answers that mentioned collaborating by creating unity packages and sharing those instead of a unity project as a whole I'm going to have to do some more research into these topics and common best practices for dealing things like binaries i think you were on the right path by removing those plugins and re-adding them yourself it took me a good 3 days to wrestle with similar errors and get it building nicely i definitely think the build process can be fixed. id love to just be able to build straight from unity without exporting to android studio for example. or at least get it so you don't have to deal with ignoring manifest changes each time but yeah. im pretty busy at my day job right now, ill try to dig into this more as time allows sorry it wasn't as easy as cloning and hitting build |
@Scott-Klein try deleting this file https://i.imgur.com/YXr6nPj.png it fixed the i think it's cause the vlcunity plugin also includes one actually i think this might break the build so weird that the pickFirst thing stopped working for me too. ill post back when i solve it |
the pickFirst thing does work, just have to make sure it's in both of these build.gradle files |
Running Android Studo | 2021.3.1 Patch 1
Project folder is the android folder from the fresh clone of the repository
The text was updated successfully, but these errors were encountered: