android - AndroidManifest.xml file auto-generates to previous, incorrect version -
i using android studio (on mac) develop app google glass, , need use unapproved voice commands. added permission manifest file this:
<uses-permission android:name="android.permission.internet" android:name="com.google.android.glass.permission.development" />
but got "duplicate attribute name" warning. so, because didn't understand doing, changed this:
<uses-permission android:name="android.permission.internet" android:name2="com.google.android.glass.permission.development" />
then ran file. needless say, did not work. did realize, searching permissions , how add them, should this:
<uses-permission android:name="android.permission.internet"/> <uses-permission android:name="com.google.android.glass.permission.development" />
but every time try run, clean, or rebuild project, androidmanifest.xml file reverts previous state silly 'name2' line. tried deleting manifest , replacing version , deleting offending line file in xcode, , made numerous attempts clean , rebuild project, of still result in regeneration of old file. so, assume somehow old file still exists or maybe android studio remembers recent files, haven't found else same question anywhere. should noted many other bits of code (unedited) in manifest have errors, , references r in other files have error "cannot resolve symbol r". haven't been able find relevant info these issues either.
Comments
Post a Comment