user1658602
user1658602

Reputation: 234

Xamarin Not working Debug (Android)

Created Android App. Choose your device (Galaxy s4) and clicked Debug. Everything worked. Then, change the file MainActivity.cs

Replace this:

button.Text = string.Format ("{0} clicks!", count ++);

To this:

button.Text = string.Format ("{0} clicks two!", count ++);

I restart Debug, but the changes are not displayed and so every time.

If you check "Embed assemblies in native code" everything works, but at compile time becomes longer.

What could be the problem?

Xamarin Studio 5.9.3 Test on android 4.4.2 and 4.1.2

P.S. If the "clear data" in the application, or "Upload to Device" in Xamarin Studio, then it works.

Upvotes: 1

Views: 3166

Answers (1)

Krumelur
Krumelur

Reputation: 33068

I presume it is the Fast deployment option which causes you issues here:

Fast deployment works in concert with the shared runtime to further shrink the Android application package size. [...] Fast deployment is known to fail on devices which block adb from synchronizing to the directory /data/data/@PACKAGE_NAME@/files/.override.

Try turning it off in the properties of your Android project.

Upvotes: 3

Related Questions