Mono for Android: Unknown Runtime after Android update - xamarin.android

I just received an update from Google for my Galaxy Nexus to Android v4.1.1.
Now when I start debugging with Mono for Android everytime when I start I get this warning:
"Unknown Runtime.
There is a shared runtime on the device whose version cannot be determined. A new runtime will not be deployed. If the runtime needs to be replaced, please manually remove it from the device."
And also: "Unknown Platform Runtime
There is a platform support runtime on the device whose version cannot be determined. A new platform support runtime will not be deployed. If the platform support runtime needs to be replaced, please manually remove it from the device."
Unfortunately it doesn't tell me HOW to remove that runtime.
Do I have to remove something and if yes, where can I find it on my device?

Problem solved with the Mono for Android 4.2.5 (alpha) release.

You can find the Mono runtime under the device's list of installed applications, and can uninstall it from there.

Related

Compile iOS app against older Mono framework version in Xamarin Studio

I'd like to debug my iOS app using an older version of the Mono framework so that I can see how things behaved with an older version of the Mono.Data.Sqlite assembly.
How can I tell Xamarin Studio to use an older version?
You can assign MD_MTOUCH_SDK_ROOT to point to an alternative install location. This should be the root directory that contains bin/mtouch.
You can set/export this as an env. variable to points to your alternative Xamarin.iOS framework and then launch Xamarin Studio (or VS4M) from the same shell.
Or you could assign it within your .csproj file.
Ref: Xamarin.MonoTouch.CSharp.targets
You can downgrade to an earlier version of Xamarin simply by running an older installer. Here's more information on where to find the installers and how to use them: How do I downgrade to an older version of Xamarin?

System image arm eabi v7a of Android 4.4(API 20) is not noticed

I was trying to set up the environment to develop and debug a simple android app with the use of Android Virtual Device Manager. I had followed all the steps from google's website.
Moving to the next step, as I had selected the target to be 'Android 4.4W - API Level 20' details in the wizard 'create new android virtual device(AVD)', the CPU/ABI field was grayed out saying 'No system image installed for this target'.
I had opened ANdroid SDK Manager to check if the mentioned target is holding a valid system image.
It had been updated with the latest packages from the respective repositories while contacting few of the repositories was a failure.
In the end, I had a surprise that my Android 4.4W (API 20) is not having its respective system image installed.
When I actually checked the folders that I had downloaded, I couldn't also notice the System Images sub folder under the SDK folder.
Can someone please help me out with this?
Start up Android SDK manager. Under "Android 4.4W (API20), make sure "sources for android sdk" is installed. If not, check the box and installed.
P.S. - I had the same problem.
After installing the image you have to restart eclipse. Otherwise it can't see the image.
Got the same issue. If you're running SDK Manager on Windows 7, run it with the admistrator privileges. That solved the problem in my case.
Open SDK Manager -> Tools -> Options
Check Force https://... sources to be fetched using http://...
You will see sources for android SDK, install it.
Close SDK Manager and open it again, you wil see ARM EABI

Why can not i install an app on Motorola ET1 from Xamarin?

I just started Xamarin and trying to explore it. I made an app and trying to install it on Motorola ET1 device but i am getting following error:
Detecting installed packages
Removing old runtime
Installing shared runtime
Removing old runtimes
Installing shared runtime
Installing platform framework
Removing previous version of application
Installing application on device
Synchronizing assemblies
Deployment failed because the FastDev assembly directory could not be created.
Deployment failed. FastDev directory creation failed.
I installed the same app on my Galaxy S3 and it worked fine there. I am using mac for development. I googled and found that disabling fast development helps but i could not find where to disable that in Xamarin Studio on mac. Why can not i install this app on Motorola ET1. And how can i do it? Thanks in advance.
Disabling Fast assembly deployment in Build/Android Build/Packaging solved my problem.
Just simply follows these steps for Xamarin Studio:-
Go to Project option in menu bar and select last option i.e. YourProjectName.AndroidOption
Select Android Build Option in Build Catagory
Select Package tab and uncheck the 'Fast Assembly Option' and click on Ok
Now, you can Deploye your project successfully.
Have you enabled the Development USB Debugging (Settings -> Application Settings-> USB Debugging) and also to be able to use Unknown Sources?
Hope this helps,James

Indicate minimum Blackberry version

How can I indicate the minimum compiled version that I will allow my application to run on? Say OS 5.0 as minimum requirements.
I am using Java with the Eclipse tools.
As Remy says, the minimal supported OS version of your application is determined by the Blackberry SDK version you're using for development.
If you're planning to offer your application through Blackberry App World, the platform allows you to select the OS Version, carrier and even specific models that are allowed to download your product.
The minimum OS version is dictated by the version of the BlackBerry JRE that you compile with. If you have multiple JRE versions installed, you can select a particular version in the project's properties, in this case the 5.0 JRE.
Actually, the minimum OS version you can install your app is determined by the tag fileset in your .alx file. Example:
<fileset Java="1.54" _blackberryVersion="[4.5.0)">
The important info here is the Java attribute, the _blackberryVersion is only generated by newer plugin versions.
So you can compile a .cod file for let's say 5.0, and install it on 4.5 tweaking that element in the alx file. The alx is only used for BES and cable installs. You can also use JavaLoader and install the cod without caring about OS versions (no alx or jad file needed).
WARNING: The fact that you can install a "wrong" cod on a BlackBerry OS version it is not intended for doesn't mean you can run it without exceptions. If your app uses an API not present in your OS, it will crash.
Of course, the BB plugin generates the correct alx for the selected target OS, but you can bypass it by manually editing the alx if you wish. For OTA installs, the jad file doesn't contain any minimum version info AFAIK, but if it did, you could edit it as well.

Could not install application via Desktop Manager

I am trying to install an application onto my device..I have compiled the application using JDK 4.5.0 and also signed it with RIM signing keys...But i am unable to install my application onto my device(8900) through desktop manager..It keeps on showing "application is not compatible with your device and cannot be loaded"... Since I have compiled my application in JDK 4.5, it must be compatible with all devices having OS > 4.5.0...What might be going wrong? Is there any version miss match?
Use javaloader.exe - it's much easier (it's in the bin directory of the JDE).

Resources