Android - CoronaEnvironment cannot be resolved to a type

I’m trying to add my own activity, so I add:

 

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<activity android:name="com.mycompany.MyActivity"\> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<intent-filter\> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<action android:name="android.intent.action.ACTIVITY" /\> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<category android:name="android.intent.category.DEFAULT" /\> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\</intent-filter\> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\</activity\>

 

But I get the error every time I edit the Android.Manifest.xml, even after I remove the code the error persists.

 

Never mind, I just had to delete the bin folder and have it recreated when I built.

Never mind, I just had to delete the bin folder and have it recreated when I built.

Thanks rmassing :slight_smile: you saved my day!

Thanks rmassing :slight_smile: you saved my day!