Error when I try to add android:required="false" in my extension

I have to update my extension with android:required="false", in the @UsesActivities I added required:"false" as You can see below:

	activities = {
			intentFilters = {
					actionElements = {	
							name = "android.nfc.action.TAG_DISCOVERED"
					categoryElements = {
							name = "android.intent.category.DEFAULT"

but when I try to compile I have this error:
[javac] C:\appinventor-sources\appinventor\components\src\com\google\appinventor\components\runtime\ error: cannot find symbol
[javac] ,required="false"
[javac] ^
[javac] symbol: method required()
[javac] location: @interface ActivityElement

Could You help me to solve
Thank You
Best regards


According to the Android documentation, there isn't a required attribute for activity elements. What are you trying to do here?

Simply I am sorry,
it was late night, and only now i see that I wrote "required" but I would to write "exported"
Thank You
Best Regards

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.