Pointers mix in android

I use ant to compile my Android projects into debug apks. But sometimes when I run my application, objects mix and appear in the wrong places.

For instance:

<TextView android:id="@+id/deviceText"
        android:textSize="22sp"
        android:textColor="@color/white"
        style="@style/shadow"
        android:layout_column="0" />
<Button android:id="@+id/editDeviceButton"
        android:text="@string/edit"
        android:enabled="false" 
        android:layout_column="2" />

This is the code from the profile.xml file that is used in Profile.java. Here @ string / edit is a link to the "Edit" line, but instead of showing "Edit" in the application, it says "sdk", which is the text that should be assigned to the TextView. The string "sdk" is created from Profile.java

To solve this problem, I have to save the Profile.java file (which already exists) that uses this XML file. And when saving, I mean just saving it, and not editing it at all, as it were before.

Ant : Apache ant 1.8.0, 9 2010 .

+3
1

ant install ant clean install. , , .

+3

Source: https://habr.com/ru/post/1768828/


All Articles