Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Project fails to build with same errors

$
0
0

There are two: One error is supposedly in activity_mail.axml. Most of the time at line 114 but sometimes at line 117.

Either those lines are blank or they contain perfectly valid axml.

Even if I add lines before 114 (or 117), the error is still at 114 or 117.

It's a Linear Layout, with a table layout followed by 8 table rows with contain EditViews, TextViews and Buttons.

This is axml that (1) hasn't been changed in a while and (2) previous, like earlier today, compiled just fine and ran on my phone just fine.

Additionally, I find these inserted into the axml:

         <TextView
            android:minWidth="30px"
            android:minHeight="30px"
            xmlns="http://schemas.android.com/apk/res/android"
            android:id="@+id/textView4" />
        <TextView
            android:minWidth="30px"
            android:minHeight="30px"
            xmlns="http://schemas.android.com/apk/res/android"
            android:id="@+id/textView5" />
        <TextView
            android:minWidth="30px"
            android:minHeight="30px"
            xmlns="http://schemas.android.com/apk/res/android"
            android:id="@+id/textView6" />

When it occurs, there are 5 or 6 groups of them. Always the same. Always in groups of 3 and the width and height are always 30px.

Today was by far the worst. Each time I rebuild the app, the build fails as these groups are inserted into the axml.

I'm using VS 2019 (Community) Version 16.3.9.

I can't make the axml read only as that (for no reason I can understand) causes the build to fail.

The axml usually renders just fine in VS.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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