Missing Classes in Android Studio layout folder .xml file









up vote
1
down vote

favorite












https://github.com/spelfit/SpelFit



I am having an issue with my Android app. This is my first one I have a login and register page so far. The fields for email, password and confirm password are not displaying. The error says that two classes are missing but I defined them in the Layout folder activity_login.xml



following classes could not be found:




- android.support.design.widget.TextInputEditText (Fix Build Path, Edit XML, Create Class)
- android.support.design.widget.TextInputLayout (Fix Build Path, Edit XML, Create Class)




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

<android.support.v7.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<android.support.v7.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="40dp"
android:src="@drawable/logo" />

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_name"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

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

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextEmail"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_email"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/confirm_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.v7.widget.AppCompatButton
android:id="@+id/appCompatButtonRegister"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:textColor="@color/colorText"
android:background="@color/colorTextHint"
android:text="@string/text_register"/>

<android.support.v7.widget.AppCompatTextView
android:id="@+id/appCompatTextViewLoginLink"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:gravity="center"
android:text="@string/text_member"
android:textSize="16sp"
android:textColor="@color/colorText" />






</android.support.v7.widget.LinearLayoutCompat>

</android.support.v4.widget.NestedScrollView>


error logpt2



error log










share|improve this question























  • Please provide the relevant code snippets instead of giving the whole github repo
    – Andreas
    Nov 12 at 3:59










  • @Andreas okay will do!
    – Meera436
    Nov 12 at 4:15










  • it should work.
    – Hammad Tariq
    Nov 14 at 10:51










  • okay after closely looking at your code. you are adding id's like this @=id/textInputEditConfirmPassword which is wrong. remove = from ID.
    – Hammad Tariq
    Nov 14 at 10:52










  • @HammadTariq Thanks Farhana pointed that out to me I changed it to a +. Im working on another bug now with the Registration Page Variable
    – Meera436
    Nov 14 at 21:52














up vote
1
down vote

favorite












https://github.com/spelfit/SpelFit



I am having an issue with my Android app. This is my first one I have a login and register page so far. The fields for email, password and confirm password are not displaying. The error says that two classes are missing but I defined them in the Layout folder activity_login.xml



following classes could not be found:




- android.support.design.widget.TextInputEditText (Fix Build Path, Edit XML, Create Class)
- android.support.design.widget.TextInputLayout (Fix Build Path, Edit XML, Create Class)




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

<android.support.v7.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<android.support.v7.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="40dp"
android:src="@drawable/logo" />

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_name"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

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

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextEmail"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_email"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/confirm_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.v7.widget.AppCompatButton
android:id="@+id/appCompatButtonRegister"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:textColor="@color/colorText"
android:background="@color/colorTextHint"
android:text="@string/text_register"/>

<android.support.v7.widget.AppCompatTextView
android:id="@+id/appCompatTextViewLoginLink"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:gravity="center"
android:text="@string/text_member"
android:textSize="16sp"
android:textColor="@color/colorText" />






</android.support.v7.widget.LinearLayoutCompat>

</android.support.v4.widget.NestedScrollView>


error logpt2



error log










share|improve this question























  • Please provide the relevant code snippets instead of giving the whole github repo
    – Andreas
    Nov 12 at 3:59










  • @Andreas okay will do!
    – Meera436
    Nov 12 at 4:15










  • it should work.
    – Hammad Tariq
    Nov 14 at 10:51










  • okay after closely looking at your code. you are adding id's like this @=id/textInputEditConfirmPassword which is wrong. remove = from ID.
    – Hammad Tariq
    Nov 14 at 10:52










  • @HammadTariq Thanks Farhana pointed that out to me I changed it to a +. Im working on another bug now with the Registration Page Variable
    – Meera436
    Nov 14 at 21:52












up vote
1
down vote

favorite









up vote
1
down vote

favorite











https://github.com/spelfit/SpelFit



I am having an issue with my Android app. This is my first one I have a login and register page so far. The fields for email, password and confirm password are not displaying. The error says that two classes are missing but I defined them in the Layout folder activity_login.xml



following classes could not be found:




- android.support.design.widget.TextInputEditText (Fix Build Path, Edit XML, Create Class)
- android.support.design.widget.TextInputLayout (Fix Build Path, Edit XML, Create Class)




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

<android.support.v7.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<android.support.v7.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="40dp"
android:src="@drawable/logo" />

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_name"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

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

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextEmail"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_email"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/confirm_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.v7.widget.AppCompatButton
android:id="@+id/appCompatButtonRegister"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:textColor="@color/colorText"
android:background="@color/colorTextHint"
android:text="@string/text_register"/>

<android.support.v7.widget.AppCompatTextView
android:id="@+id/appCompatTextViewLoginLink"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:gravity="center"
android:text="@string/text_member"
android:textSize="16sp"
android:textColor="@color/colorText" />






</android.support.v7.widget.LinearLayoutCompat>

</android.support.v4.widget.NestedScrollView>


error logpt2



error log










share|improve this question















https://github.com/spelfit/SpelFit



I am having an issue with my Android app. This is my first one I have a login and register page so far. The fields for email, password and confirm password are not displaying. The error says that two classes are missing but I defined them in the Layout folder activity_login.xml



following classes could not be found:




- android.support.design.widget.TextInputEditText (Fix Build Path, Edit XML, Create Class)
- android.support.design.widget.TextInputLayout (Fix Build Path, Edit XML, Create Class)




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

<android.support.v7.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<android.support.v7.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="40dp"
android:src="@drawable/logo" />

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextName"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_name"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

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

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextEmail"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_email"
android:textColorHint="@color/colorText"
android:inputType="text"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputLayoutPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditTextPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/hint_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.design.widget.TextInputLayout
android:id="@+id/textInputConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">

<android.support.design.widget.TextInputEditText
android:id="@=id/textInputEditConfirmPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="@string/confirm_password"
android:textColorHint="@color/colorText"
android:inputType="textPassword"
android:maxLines="1"
android:textColor="@color/colorText"/>
</android.support.design.widget.TextInputLayout>

<android.support.v7.widget.AppCompatButton
android:id="@+id/appCompatButtonRegister"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="40dp"
android:textColor="@color/colorText"
android:background="@color/colorTextHint"
android:text="@string/text_register"/>

<android.support.v7.widget.AppCompatTextView
android:id="@+id/appCompatTextViewLoginLink"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:gravity="center"
android:text="@string/text_member"
android:textSize="16sp"
android:textColor="@color/colorText" />






</android.support.v7.widget.LinearLayoutCompat>

</android.support.v4.widget.NestedScrollView>


error logpt2



error log







android android-studio






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 at 6:53

























asked Nov 12 at 3:24









Meera436

154




154











  • Please provide the relevant code snippets instead of giving the whole github repo
    – Andreas
    Nov 12 at 3:59










  • @Andreas okay will do!
    – Meera436
    Nov 12 at 4:15










  • it should work.
    – Hammad Tariq
    Nov 14 at 10:51










  • okay after closely looking at your code. you are adding id's like this @=id/textInputEditConfirmPassword which is wrong. remove = from ID.
    – Hammad Tariq
    Nov 14 at 10:52










  • @HammadTariq Thanks Farhana pointed that out to me I changed it to a +. Im working on another bug now with the Registration Page Variable
    – Meera436
    Nov 14 at 21:52
















  • Please provide the relevant code snippets instead of giving the whole github repo
    – Andreas
    Nov 12 at 3:59










  • @Andreas okay will do!
    – Meera436
    Nov 12 at 4:15










  • it should work.
    – Hammad Tariq
    Nov 14 at 10:51










  • okay after closely looking at your code. you are adding id's like this @=id/textInputEditConfirmPassword which is wrong. remove = from ID.
    – Hammad Tariq
    Nov 14 at 10:52










  • @HammadTariq Thanks Farhana pointed that out to me I changed it to a +. Im working on another bug now with the Registration Page Variable
    – Meera436
    Nov 14 at 21:52















Please provide the relevant code snippets instead of giving the whole github repo
– Andreas
Nov 12 at 3:59




Please provide the relevant code snippets instead of giving the whole github repo
– Andreas
Nov 12 at 3:59












@Andreas okay will do!
– Meera436
Nov 12 at 4:15




@Andreas okay will do!
– Meera436
Nov 12 at 4:15












it should work.
– Hammad Tariq
Nov 14 at 10:51




it should work.
– Hammad Tariq
Nov 14 at 10:51












okay after closely looking at your code. you are adding id's like this @=id/textInputEditConfirmPassword which is wrong. remove = from ID.
– Hammad Tariq
Nov 14 at 10:52




okay after closely looking at your code. you are adding id's like this @=id/textInputEditConfirmPassword which is wrong. remove = from ID.
– Hammad Tariq
Nov 14 at 10:52












@HammadTariq Thanks Farhana pointed that out to me I changed it to a +. Im working on another bug now with the Registration Page Variable
– Meera436
Nov 14 at 21:52




@HammadTariq Thanks Farhana pointed that out to me I changed it to a +. Im working on another bug now with the Registration Page Variable
– Meera436
Nov 14 at 21:52












1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










I think you did not implement following Gradle. Please check these Gradle in your Gradle file and remember the version of SDK should be same.



implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'





share|improve this answer




















  • Thank you that helped! The fields for email, password and confirm password are displaying now. I had the first line implemented in the Gradle file. I added the second line. android:id="@=id/textInputEditTextPassword" still getting and error that its "Unknown resource type =id"
    – Meera436
    Nov 12 at 6:10











  • you are taking id in the wrong way.
    – farhana
    Nov 12 at 6:12










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255573%2fmissing-classes-in-android-studio-layout-folder-xml-file%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










I think you did not implement following Gradle. Please check these Gradle in your Gradle file and remember the version of SDK should be same.



implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'





share|improve this answer




















  • Thank you that helped! The fields for email, password and confirm password are displaying now. I had the first line implemented in the Gradle file. I added the second line. android:id="@=id/textInputEditTextPassword" still getting and error that its "Unknown resource type =id"
    – Meera436
    Nov 12 at 6:10











  • you are taking id in the wrong way.
    – farhana
    Nov 12 at 6:12














up vote
0
down vote



accepted










I think you did not implement following Gradle. Please check these Gradle in your Gradle file and remember the version of SDK should be same.



implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'





share|improve this answer




















  • Thank you that helped! The fields for email, password and confirm password are displaying now. I had the first line implemented in the Gradle file. I added the second line. android:id="@=id/textInputEditTextPassword" still getting and error that its "Unknown resource type =id"
    – Meera436
    Nov 12 at 6:10











  • you are taking id in the wrong way.
    – farhana
    Nov 12 at 6:12












up vote
0
down vote



accepted







up vote
0
down vote



accepted






I think you did not implement following Gradle. Please check these Gradle in your Gradle file and remember the version of SDK should be same.



implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'





share|improve this answer












I think you did not implement following Gradle. Please check these Gradle in your Gradle file and remember the version of SDK should be same.



implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 12 at 5:07









farhana

2,12621430




2,12621430











  • Thank you that helped! The fields for email, password and confirm password are displaying now. I had the first line implemented in the Gradle file. I added the second line. android:id="@=id/textInputEditTextPassword" still getting and error that its "Unknown resource type =id"
    – Meera436
    Nov 12 at 6:10











  • you are taking id in the wrong way.
    – farhana
    Nov 12 at 6:12
















  • Thank you that helped! The fields for email, password and confirm password are displaying now. I had the first line implemented in the Gradle file. I added the second line. android:id="@=id/textInputEditTextPassword" still getting and error that its "Unknown resource type =id"
    – Meera436
    Nov 12 at 6:10











  • you are taking id in the wrong way.
    – farhana
    Nov 12 at 6:12















Thank you that helped! The fields for email, password and confirm password are displaying now. I had the first line implemented in the Gradle file. I added the second line. android:id="@=id/textInputEditTextPassword" still getting and error that its "Unknown resource type =id"
– Meera436
Nov 12 at 6:10





Thank you that helped! The fields for email, password and confirm password are displaying now. I had the first line implemented in the Gradle file. I added the second line. android:id="@=id/textInputEditTextPassword" still getting and error that its "Unknown resource type =id"
– Meera436
Nov 12 at 6:10













you are taking id in the wrong way.
– farhana
Nov 12 at 6:12




you are taking id in the wrong way.
– farhana
Nov 12 at 6:12

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53255573%2fmissing-classes-in-android-studio-layout-folder-xml-file%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

ReactJS Fetched API data displays live - need Data displayed static

政党