I'm having trouble with the development of my app, I can not go because R.java is not causing. I tried to find everything on stack overflow, but I did not get anything that worked. The problem is not only in Eclipse but also in Android studio. I checked all my XML files but could not find anything that should stop RJVA production. This is the content of my manifest.xml:
& lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Manifest xmlns: Android = "http://schemas.android.com/apk/res/android" package = "com.thenewprogramming.android.timetoswim" Android: versionCode = "1" Android: versionName = "1.0" & gt; & Lt; Use-sdk android: minSdkVersion = "17" Android: targetSdkVersion = "17" /> & Lt; Android: Android: icon = "true_android": icon = & Lt; Activity Android: name = "com.thenewprogramming.android.timetoswim.HomeActivity" android: label = "@ string / app_name" Android: Screen Orientation = "Sensor Portrait" & gt; & Lt; Intent-Filter & gt; & Lt; Action Android: name = "android.intent.action.MAIN" /> & Lt; Category android: name = "android.intent.category.LAUNCHER" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; & Lt; Activity Android: name = "com.thenewprogramming.android.timetoswim.AddMatchActivity" Android: label = "@ string / AddMatchActivity_ActivityTitle" Android: Screen Orientation = "sensor" & gt; & Lt; Intent-Filter & gt; & Lt; Category android: name = "android.intent.category.DEFAULT" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; & Lt; Activity Android: name = "com.thenewprogramming.android.timetoswim.SettingsActivity" android: label = "@ string / settingsActivity_ActivityTitle" Android: Screen Orientation = "Sensor Portrait" & gt; & Lt; Intent-Filter & gt; & Lt; Category android: name = "android.intent.category.DEFAULT" /> & Lt; / Intent-Filter & gt; & Lt; / Activity & gt; & Lt; / Application & gt; & Lt; / Reveal & gt; I tried to wipe out all the other XML and which was not working, so I brought them back.
All help would be greatly appreciated.
EDIT: Someone told me immediately that the stars must start with a lowercase letter, so I did it and it worked! Unfortunately they removed this post, but I will mark the question as answer (if I know how to do this ...)
Whenever your generated R class does not occur, it indicates that some parsing with XML resources Due to the issue there is a problem in generating it.
Common problems are:
- In your
strings.xml for an irreversible character, for example you instead of < Code> you \ 're -
layout_width or layout_height tags in layout resources - missing namespace announcements
- Due to the use of capitalization or spaces, hyphens or other unsupported characters, for example, convertible names that are not supported by Java
- Car syntax error
No comments:
Post a Comment