Skip to content
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

Project Rome Xamarin.Android Unbrauchbar #43

Open
AndiFs opened this issue Dec 31, 2017 · 10 comments
Open

Project Rome Xamarin.Android Unbrauchbar #43

AndiFs opened this issue Dec 31, 2017 · 10 comments
Labels
xamarin Track all Xamarin related issues.

Comments

@AndiFs
Copy link

AndiFs commented Dec 31, 2017

Project Rome Xamarin.Android Unbrauchbar

useless

@cmknox
Copy link
Contributor

cmknox commented Jan 3, 2018

@AndiFs can you please let us know what you're trying to do here?

@AndiFs
Copy link
Author

AndiFs commented Jan 3, 2018 via email

@AndiFs
Copy link
Author

AndiFs commented Jan 3, 2018 via email

@cmknox
Copy link
Contributor

cmknox commented Jan 5, 2018

@AndiFs ok, sorry that this is not working for you. Ok, so the setup is Android phone to Windows PC using the RemoteSystem APIs for discovery. You can login with your MSA, but you initialize the platform this error occurs, do I have that right? And the error is,

Unhandled Exception:
Java.Lang.UnsatisfiedLinkError: No implementation found for long com.microsoft.connecteddevices.RemoteSystemWatcher.initialize() (tried Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize and Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize__)

is that right?

@AndiFs
Copy link
Author

AndiFs commented Jan 5, 2018 via email

@cmknox
Copy link
Contributor

cmknox commented Jan 8, 2018

@AndiFs sorry for the confusion, I'm not suggesting you use Android natively, instead I was recommending we test your scenario without using Xamarin Forms and just use the traditional method of creating cross platform application with Xamarin, similar to this post: https://forums.xamarin.com/discussion/45765/cross-platform-without-xamarin-forms

Would you be willing to try to see if Xamarin Forms is causing your problem?

@AndiFs
Copy link
Author

AndiFs commented Jan 9, 2018 via email

@hannespreishuber
Copy link

Same here
Java.Lang.UnsatisfiedLinkError: No implementation found for long com.microsoft.connecteddevices.RemoteSystemWatcher.initialize()

with RomeCastSample App- worked some month ago-

@cmknox cmknox added the xamarin Track all Xamarin related issues. label May 16, 2018
@kbmuri
Copy link

kbmuri commented Aug 18, 2018

Is there a solution for this?

I have a thoroughly tested UWP app running on Windows 10 in Desktop mode implementing App Services and several thoroughly tested client UWP apps running on same PC communicating very nicely. I extended the App Services code per your instructions to make it work with Connected Devices. Local PC communication is still working fine after these modifications. Am trying to develop an Android phone app that will communicate with same UWP app. Am taking elements from your Project Rome's Main Activity and incorporating them into my Phone App's Main Activity. Seems like I'm following instructions pretty well. Am stopped at the error as described in this thread.

Code is running on a physical Android 5.0.2 device at present. Expecting it to work on Kit Kat or greater in the future. UWP apps were written under Xamarin on Visual Studio 2017 Community, 15.5.6. Android app in question is being debugged under same.

I put a try-catch around the line:
remoteSystemWatcher.Start();

and caught the exception as follows:
Unhandled Exception:Java.Lang.UnsatisfiedLinkError No implementation found for long com.microsoft.connecteddevices.RemoteSystemWatcher.initialize() (tried Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize and Java_com_microsoft_connecteddevices_RemoteSystemWatcher_initialize__) occurred

A little research says I'm:

"attempting to dynamically load a native library that cannot be located by the Java Runtime Environment (JVM)"

Native (rural Midwest) USA English is my one and only fluent language. Been programming in variants of C language for more than 35 years. Total mastery of Windows. More than willing to

Xamarin has had me pulling my hair out lately.

Assistance?

Thanks.

@kbmuri
Copy link

kbmuri commented Aug 18, 2018

p.s. Your Flux Capacitor is malfunctioning.

flux capacitor forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xamarin Track all Xamarin related issues.
Projects
None yet
Development

No branches or pull requests

4 participants