Building Tango Unity Examples failing - google-project-tango

I recently got a Tango tablet device and downloaded the tango-examples-unity from Github to start learning. All excited, I opened the MeshBuilder project in Unity and tried to Build it but it failed. My Android SDK and jdk are up to date and the paths are correct as set in Unity preferences. I'm using Unity 5.0.1f on a 64-bit Windows 8 system. Leibniz release notes said they migrated the samples to Unity 5 so I was trying them with Unity 5. Not to say that I didn't get the exact same error in Unity 4.6.3f1 while trying to Build the same project.
Errors:
DirectoryNotFoundException: Could not find a part of the path "C:\path\tango-examples-unity-master\ExperimentalProjects\MeshBuilder\Assets\Plugins\Android\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl" or "Temp\StagingArea\android-libraries\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl"
Error building Player: DirectoryNotFoundException: Could not find a part of the path "C:\path\tango-examples-unity-master\ExperimentalProjects\MeshBuilder\Assets\Plugins\Android\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl" or "Temp\StagingArea\android-libraries\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl"
What I've tried so far:
Downloading a different version of the projects. The only project that I was able to build from this other version is PointCloud. Couldn't build anything else.
Replacing the included TangoSDK with a new downloaded version of leibniz unity package. This didn't help.
Building other projects from the downloaded source code from both urls. No go.
Trying this Tango Unity Tutorial from [developers dot google dot com/project-tango/apis/unity/unity-depth-perception]. It fails at step "Create a PointCloud object" as no such component is found. I do have the TangoSDK imported so my thinking is that this tutorial probably belongs to an older version of the SDK and won't work for Leibniz. Please correct me if I'm wrong.
Tried opening the Kalman version of the PointCloudUnity project. Get an error:
Opening File failed. It's looking for the /MotionDetectionHelper$MotionDetectionListener.class and not finding it.
Emailing Tango help. No response yet.
Any pointers for getting started with Tango + Unity would be appreciated.
Thank you for reading through this long post and for your help.

Related

Is the AgoraRTMWrapper in XCode necessary?

I have been dealing with the same issue for a few days now. I'm unable to upload any app store connect files due to the libAgoraRTMWrapper file. To be clear, this entire app has been built through Unity using agora SDK. The reason for failure, according to XCode, is that the wrapper "doesn't have the correct file type for this location". Invalid Swift support.
This leads me to wonder if the libagoraRTMWrapper is even necessary. Yes, I would like to keep using RTM but not at the expense of several build failures.
As a sidenote, XCode does mention that the build is being made for iOS but the wrapper was built for iOS + iOS simulator. I don't remember ever specifying that but it could just be the way the SDK was initially imported.
this library is necessary for RTM to work. Do you have a custom build setting for the project? It is verified that the included SDK Demo works on iOS builds. Perhaps you can build that and compare the build setting to yours to find out what went wrong?

Unity HoloLens Azure Spatial Anchor- service unavailable or unspecified error found on

I have downloaded the unity example project from Microsoft git and i used unity 2020.3.14 version to open the project, as per mentioned on the documentation, i have installed the com.microsoft.azure.spatial-anchors-sdk.windows-2.10.2.tgz into my project.
Then i took and build and ran the demo scene, placed the cube on my floor and tried to save it, but unfortunately it is give me a "service unavailable or unspecified error found" error.
Any idea how it solve this?
Thanks.
This could be multiple things. For example not specifying your Azure Spatial Anchor Service details (account ID, account domain + primary key) in your project.
Could you paste the link of the tutorial you were following?
Edit:
You have to download both the platform specific package and the core package as described here. According to your description you only added the platform (windows) specific package and you're missing the core package. We currently recommend using the Mixed Reality Feature Tool to add both

Non-public API usage Flutter.framework/Flutter: _kCTFontOpticalSizeAttribute error on upload of flutter app

I've spent the last two days trying to submit my app to the App Store. I get the message below:
ITMS-90338: Non-public API usage - The app references non-public symbols in Frameworks/Flutter.framework/Flutter: _kCTFontOpticalSizeAttribute. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
Here's what Ive done so far:
a) I've scoured my code for any reference to Font Sizes - I had some that were constants - I changed the constant name to:
k_fontSizeMyName
b) I tried to download the latest flutter sdk version
c) I rebuilt my entire keychain.
Im so desperate right now. im tired.
What do I do?
the internet has no mention of this bug.
I've got the same message several times from the App Store Team a few minutes ago.
I think the problem was the Flutter SDK version...!
I used to use the latest version(Flutter SDK version 1.12.3-pre.26) at first but changed the Flutter SDK version to 'v1.9.1+hotfix.3' and the problem is resolved!!!
I solved the problem with the following instruction below:
Switching Flutter SDK version to 'v1.9.1+hotfix.3' with the command:
flutter version v1.9.1+hotfix.3
Archive and upload again ...
Problem Solved!!!!!! 🤩
This may be a recently-introduced Skia regression.
The code was included in Flutter v1.12.3, so v1.12.2 on the dev channel should work.
Flutter's Bad Build wiki page will be updated when there is a fix for this issue.
Update: This has been resolved in Flutter v1.12.5.
Since there have been a lot of problems with flutter recently(when I tried the fix mentioned in another answer I different error) I though I should include this https://github.com/flutter/flutter/releases
Just type flutter version [version code]

Droid Library Thinks it's Wearable How do I make it Un-wearable?

I have a solution with 4 projects 2 PCL's, a Droid Library and a droid App. When I reference the Droid Library from my Droid Application at compile I'm getting:
Error XA5211: Embedded wear app package name differs from handheld app package name.
In both Xamarin Studio and Visual Studio.
Thing is it's not a wear app package nor do I have a handheld app package. Im just trying to reference a Library I created from an android App I created. I cant find any settings in either the csproj file the sln or the IDE that have changed that made my driod library into a wearable library (Im sure I changed something just dont know what) Its here somewhere just no idea were or what I'm looking for besides scanning for the word wear which doesn't seem to show up anywhere. I looked back through my change history and I dont see where it got messed up at.
Until last week everything was fine. Then I started trying to get the latest release of Xamarin.Forms to allow my code to compile. I changed a number of settings over a week of debugging that issue and finally got everything to work again by setting my target Platform to 6.0 and downloading the latest Android SDK.
The Libraries I'm attempting to reference that cause the issue I have on GitHub # https://github.com/Indiponics/IndiXam-Lib in case anyone cares to look at the csproj file etc.
The solution is easy. Open the .csproj file of your Android app and find the project reference you need to work. It might look like this:
<ProjectReference Include="..\MyWearApp\MyWearApp.csproj">
<Project>{D80E1FEF-653B-448C-B2AA-609C74E88340}</Project>
<Name>MyWearApp</Name>
<IsAppExtension>True</IsAppExtension>
</ProjectReference>
The problem is with the extension part. Simply remove the IsAppExtension line and any other than Project and Name. It should work now.
I think we lost an entire man-week on this issue!
https://developer.xamarin.com/guides/android/wear/working-with/packaging/

PhoneGap 2.1.0 iOS Mac Xcode CordovaLib

Trying to get some solid documentation on how to get the iPhone emulator in Xcode running with my PhoneGap 2.1.0 project. I pulled it down from a git repo that I originally built on my Mac Pro, now want to run it on my Mac Air. There is a lot of confusion of the terminologies between PhoneGap and Cordova that make it near impossible for a beginner to figure out how to set up a project.
The problem I'm getting when I open my PhoneGap project in XCode is this error:
Lexical or Preprocessor Issue 'Cordova/CDVViewController.h' file not found
Clearly the Cordova class files aren't being seen by XCode, although I included the path to the CordovaLib classes in Preferences -> Source Trees (~/Documents/CordovaLib/.
Just want to get this thing running! Thanks!
Not sure if this will help you, but I am starting to try to get to grips with PhoneGap/Cordova, and found this excellent guide on getting it going.
It uses Cordova, which I am led to believe is the source of PhoneGap (Still SLightly Confused tbh), hopefully it will help you in one way or another, it certainly got me up and running :)
https://docs.google.com/viewer?a=v&pid=forums&srcid=MDUyNDQxMjA3MzY2NzYzNDU0MjgBMTAxMDE4ODcyODc5Njc4NDQwMzQBOWNxRFF3Z0UyX29KATQBAXYy

Resources