When I make changes to the layout resource file, it is not updated / not reflected when the apk file is embedded and installed from Android Studio 2.0 (Preview 3b).
Example: I had an EditText , and I added a TextInputLayout as follows:
<android.support.design.widget.TextInputLayout android:id="@+id/input_layout_new_password" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="8dp"> <EditText android:id="@+id/edit_text_new_password" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/hint_your_new_password" android:inputType="textPassword" android:saveEnabled="false" /> </android.support.design.widget.TextInputLayout>
The result after updating the application is the same as before I added TextInputLayout , just EditText without TextInputLayout .
What I tried:
- Assembly / cleaning project
- Build / rebuild project
- File / Invalid Cache / Restart ..
- Uninstall the application first.
- Disable Instant Launch
I suspect this is probably a bug in version 3b for Android version 2.0 causing this. Any ideas? Maybe it's just settings / configurations?
source share