Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Testing in Android - getting an error with the shared runtime

$
0
0

I'm trying to test my XF application in an Android genymotion emulator. Unfortunately, I can't get the application to start. I am getting the following error when I look this up in monitor. This appears to tell me that:
1. the runtime can not be found.
2. that I have somehow messed up my sdk versions in the manifest file.
09-09 14:10:15.617: A/monodroid(32097): cannot find libmonosgen-2.0.so in override_dir: /data/data/AppXForms.Droid/files/.override, app_libdir: /data/app-lib/AppXForms.Droid-1 nor in runtime_libdir as: /system/lib/libmonosgen-2.0.so
09-09 14:10:15.617: A/monodroid(32097): Do you have a shared runtime build of your app with AndroidManifest.xml android:minSdkVersion < 10 while running on a 64-bit Android 5.0 target? This combination is not supported.
09-09 14:10:15.617: A/monodroid(32097): Please either set android:minSdkVersion >= 10 or use a build without the shared runtime (like default Release configuration).

I've been running with various versions of the genymotion android emulator (4.1.1 to 5.0).

The manifest file is included below. it is fairly clean and the minimum sdk version is set to 15, which should satisfy the error above.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="AppXForms.Droid"
android:versionCode="1" android:versionName="trakref">
<uses-sdk android:minSdkVersion="15" />
<application android:icon="@drawable/icon" android:label="trakref"></application>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>

For the mean time, I can get around this by not using the shared runtime, but any thoughts are appreciated. Thanks.

Wally


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>