res\layout\Contact_us.xml: Invalid file name: must contain only [a-z0-9_.]

后端 未结 6 1706
有刺的猬
有刺的猬 2020-12-09 15:09
public class main extends Activity {

    EditText username,password1;
    Button sub;
    String uname,pass;

    @Override
    public void onCreate(Bundle savedIns         


        
相关标签:
6条回答
  • 2020-12-09 15:35

    try naming xml layout with small letters. worked for me Contact_us.xml change this to contact_us.xml

    0 讨论(0)
  • 2020-12-09 15:43

    You need to use lowercase letters. You have 'C' you must rename it to contact_us.xml.

    0 讨论(0)
  • 2020-12-09 15:49

    Try removing the capital letter. res\layout\contactus.xml

    0 讨论(0)
  • 2020-12-09 15:51

    using lower case letters and clean the package

    0 讨论(0)
  • 2020-12-09 15:56

    Make C to c. Use lower case letters and no symbols

    0 讨论(0)
  • 2020-12-09 15:56

    it should be contactus.xml, You should follow below listed naming convention:

    File name must contain only lowercase a-z, 0-9, or _.

    only a-z,mind that not capital...and white-space not allowed
    
    name must start with a character.not with a Number(0-9)
    
    name only _ symbol allowed.no other symbol alowed.
    
    0 讨论(0)
提交回复
热议问题