我遇到这些错误,请指导我如何解决? [英] i am getting these errors , please guide me how to fix it?

查看:72
本文介绍了我遇到这些错误,请指导我如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,请帮助我解决该问题,该问题会在登录和注册页面中显示 因此它使我的应用程序崩溃了,请帮助我摆脱这些错误.

hi please help me how to fix that problems, it occurs in login and sign up page so its crashed my application , please help me to get rid of these errors.

我正在附加错误图片

错误是渲染问题:

Couldn't resolve resource @string/path_password_strike_through
Failed to parse file C:\Users\Kashi\.gradle\caches\transforms-1\files-1.1\design-28.0.0-alpha3.aar\56e65747003de1b867e35f7882861c1e\res\drawable-v21\avd_show_password.xml

xml:

<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/nestedScrollView"
    android:orientation="vertical"
    android:background="@color/colorPrimary"
    tools:context=".activities.log_in">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">


    <android.support.design.widget.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textInputLayoutEmail"
        android:layout_marginRight="20dp"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="10dp">


        <android.support.design.widget.TextInputEditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/textInputEditTextEmail"
            android:inputType="text"
            android:textColorHint="#ffffff"
            android:hint="Email" />
    </android.support.design.widget.TextInputLayout>
    <android.support.design.widget.TextInputLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/textInputLayoutPassword"
        android:layout_marginRight="20dp"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="10dp">


        <android.support.design.widget.TextInputEditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/textInputEditTextPassword"
            android:inputType="textPassword"
            android:textColorHint="#ffffff"
            android:hint="Password" />
    </android.support.design.widget.TextInputLayout>
    <android.support.design.button.MaterialButton
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/login"
        android:text="Login"
        android:layout_marginRight="20dp"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="10dp"/>
    <android.support.v7.widget.AppCompatTextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:id="@+id/forgottonPassword"
        android:text="Forgotton Password"
        android:textColor="#ffffff"
        android:gravity="center"
        android:layout_marginRight="20dp"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="10dp"/>
    <android.support.v7.widget.AppCompatTextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:id="@+id/linkRegister"
        android:text="Don't have an account ? Register now"
        android:textColor="#ffffff"
        android:gravity="center"
        android:layout_marginRight="20dp"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="10dp"/>
    </LinearLayout>
</android.support.v4.widget.NestedScrollView>

推荐答案

是一个错误检查问题跟踪器这里

问题在于处理aapt属性内的资源解析. 此问题已在Android Studio 3.3金丝雀中修复

The issue was in handling resource resolution inside aapt attributes. This has been fixed in Android Studio 3.3 canary

这篇关于我遇到这些错误,请指导我如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆