Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am first time to use Adroid App within Visual studio 2015 community, I just created a "Hello world" app by default wihthout any coding.

after by selecting AVD_GalaxyNexus_toolsForApacheCordova(Android 4.4-API19),then
then I press F5 to debug it.

after building, then for debugging, it gives the output:
Hide Copy Code
Android application is debugging.
Couldn't connect to logcat, GetProcessId returned: 0

I have searched internet by trying different approaches, none helps so far.

then I changed the AVD to "Xamarin_Android_API_15(Android 4.03-API 15)", then for debuging, it gives the output which contains the following message

AOT module 'Mono.Android.dll.so' not found: Cannot load library: load_library[1091]: Library '/data/data/App5.App5/lib/libaot-Mono.Android.dll.so' not found

Can anyone give me a hint on it?

thank you very much for your help!!

What I have tried:

I have searched internet and tried changing the properties,e.g by unchecking the "use fast deployment" and so on. it does not work.
Posted
Comments
Richard MacCutchan 9-Apr-16 12:18pm    
The message is quite clear, a library file is missing. You need to check your installation to ensure you have added the correct library sets for the version you are building for.
Seraph_summer 10-Apr-16 4:07am    
thanks! You are right. but the strange thing is that the installation is automatic and did not give any errors, I have also updated the install several times. If I check and install manually these lib, whare should these .dll files be located? no any idea.
Richard MacCutchan 10-Apr-16 7:54am    
The error message tells you where the system is looking for the file. Are you sure it is not stored somewhere else, and you just need to tell Visual Studio where to look?
Seraph_summer 10-Apr-16 10:58am    
no, no idea at all. I can not find the directory /data/data/App5.App5/lib/.
I do feel strange, based on Xamarin website, once everything is installed. it should not give such errors. I found further during my installation of Xamarin, it gives some exceptions in the log, but I am not sure whether these exceptions cause such problems. but by uninstall and install again does not help either. by the way, have you used Visual studio commnity 2015 with Xamarin?
Richard MacCutchan 10-Apr-16 11:42am    
Sorry, I have not used Xamarin so I am not sure. I think the /data/data directories are part of the Android runtime, when does this message appear - at build time or run time?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900